Outline. Copulas for Uncertainty Analysis. Refractive Index Partial Derivatives. Refractive Index. Antonio Possolo. Jun 21st, 2010

Similar documents
Uncertainty Machine User s Manual

y, x k estimates of Y, X k.

Multivariate Distribution Models

Estimation of uncertainties using the Guide to the expression of uncertainty (GUM)

Essentials of expressing measurement uncertainty

Web-based Supplementary Material for A Two-Part Joint. Model for the Analysis of Survival and Longitudinal Binary. Data with excess Zeros

Revision of the Guide to the expression of uncertainty in measurement impact on national metrology institutes and industry

Propagation of Uncertainties in Measurements: Generalized/ Fiducial Inference

IGD-TP Exchange Forum n 5 WG1 Safety Case: Handling of uncertainties October th 2014, Kalmar, Sweden

Chapter 33. Alternating Current Circuits

Document No: TR 12 Issue No: 1

Guide to the Expression of Uncertainty in Measurement Supplement 1 Numerical Methods for the Propagation of Distributions

A copula goodness-of-t approach. conditional probability integral transform. Daniel Berg 1 Henrik Bakken 2

SHIFTED UP COSINE FUNCTION AS MODEL OF PROBABILITY DISTRIBUTION

An improved procedure for combining Type A and Type B components of measurement uncertainty

Guide to the Expression of Uncertainty in Measurement (GUM)- An Overview

Guide to the Expression of Uncertainty in Measurement (GUM) and its supplemental guides

Vine Copulas. Spatial Copula Workshop 2014 September 22, Institute for Geoinformatics University of Münster.

Analyzing Uncertainty Matrices Associated with Multiple S-parameter Measurements

Introduction to Uncertainty. Asma Khalid and Muhammad Sabieh Anwar

mywbut.com Lesson 16 Solution of Current in AC Parallel and Seriesparallel

JAB NOTE4. ESTIMATION OF MEASUREMENT UNCERTAINTY (Electrical Testing / High Power Testing) Japan Accreditation Board (JAB)

Learnabout Electronics - AC Theory

The Instability of Correlations: Measurement and the Implications for Market Risk

Interpolation of daily mean air temperature data via spatial and non-spatial copulas

Solutions: Homework 7

Random Matrix Eigenvalue Problems in Probabilistic Structural Mechanics

MAXIMUM ENTROPIES COPULAS

Dependence. Practitioner Course: Portfolio Optimization. John Dodson. September 10, Dependence. John Dodson. Outline.

Copulas. MOU Lili. December, 2014

Chapter 10: Sinusoidal Steady-State Analysis

Accounting for Population Uncertainty in Covariance Structure Analysis

Financial Econometrics and Volatility Models Copulas

Science. Approaches to measurement uncertainty evaluation. Introduction. for a safer world 28/05/2017. S L R Ellison LGC Limited, Teddington, UK

Bayesian Regression Linear and Logistic Regression

Review of the role of uncertainties in room acoustics

Gaussian Process Vine Copulas for Multivariate Dependence

Monte Carlo uncertainty estimation for wavelength calibration Abstract

INFLUENCE OF THE HARMONIC DISTORTION ON SHORT- CIRCUIT TEST POWER FACTOR MEASUREMENT

Multivariate Statistics

Mathematica tools for uncertainty analysis

A simple graphical method to explore tail-dependence in stock-return pairs

Practical Bayesian Optimization of Machine Learning. Learning Algorithms

Proceedings of the 2016 Winter Simulation Conference T. M. K. Roeder, P. I. Frazier, R. Szechtman, E. Zhou, T. Huschka, and S. E. Chick, eds.

Module 4. Single-phase AC circuits. Version 2 EE IIT, Kharagpur

Nonlinear Optics (NLO)

Random Eigenvalue Problems Revisited

Marginal Specifications and a Gaussian Copula Estimation

Lecture Quantitative Finance Spring Term 2015

UNIT ONE ADVANCED TRIGONOMETRY MATH 611B 15 HOURS

When is a copula constant? A test for changing relationships

Recent Developments in Standards for Measurement Uncertainty and Traceability (An Overview of ISO and US Uncertainty Activities) CMM Seminar

WGFF Guidelines for CMC Uncertainty and Calibration Report Uncertainty

Multivariate Non-Normally Distributed Random Variables

The Monte Carlo method what and how?

Hybrid Copula Bayesian Networks

Consistent Triangulation for Mobile Robot Localization Using Discontinuous Angular Measurements

Physics 403. Segev BenZvi. Propagation of Uncertainties. Department of Physics and Astronomy University of Rochester

Determination of Uncertainties for Correlated Input Quantities by the Monte Carlo Method

Sensitivity Analysis with Correlated Variables

Probability Distribution And Density For Functional Random Variables

A guide to expression of uncertainty of measurements QA4EO-QAEO-GEN-DQK-006

ACCOUNTING FOR INPUT-MODEL AND INPUT-PARAMETER UNCERTAINTIES IN SIMULATION. < May 22, 2006

MCRT: L4 A Monte Carlo Scattering Code

R SANAS Page 1 of 7

PARSIMONIOUS MULTIVARIATE COPULA MODEL FOR DENSITY ESTIMATION. Alireza Bayestehtashk and Izhak Shafran

Songklanakarin Journal of Science and Technology SJST R1 Sukparungsee

Measurement And Uncertainty

Nonparametric estimation of simplified vine copula models: comparison of methods

A New Generalized Gumbel Copula for Multivariate Distributions

Laboratory manual : RC circuit

However, reliability analysis is not limited to calculation of the probability of failure.

Gauge Plots. Gauge Plots JAPANESE BEETLE DATA MAXIMUM LIKELIHOOD FOR SPATIALLY CORRELATED DISCRETE DATA JAPANESE BEETLE DATA

DYNAMICS OF PARALLEL MANIPULATOR

Localización Dinámica de Robots Móviles Basada en Filtrado de Kalman y Triangulación

Copula modeling for discrete data

Monte Carlo Methods:

Refresher course on Electrical fundamentals (Basics of A.C. Circuits) by B.M.Vyas

Final Exam. PHY2049 Fall11

Forecasting time series with multivariate copulas

EFFICIENT MODELS FOR WIND TURBINE EXTREME LOADS USING INVERSE RELIABILITY

First steps of multivariate data analysis

Dependence. MFM Practitioner Module: Risk & Asset Allocation. John Dodson. September 11, Dependence. John Dodson. Outline.

EE313 Fall 2013 Exam #1 (100 pts) Thursday, September 26, 2013 Name. 1) [6 pts] Convert the following time-domain circuit to the RMS Phasor Domain.

Incertezza di misura: concetti di base e applicazioni

Statistical Methods in Particle Physics

1 Phasors and Alternating Currents

Risk Aggregation. Paul Embrechts. Department of Mathematics, ETH Zurich Senior SFI Professor.

ALTERNATING CURRENT. with X C = 0.34 A. SET UP: The specified value is the root-mean-square current; I. EXECUTE: (a) V = (0.34 A) = 0.12 A.

Bayesian inference for multivariate skew-normal and skew-t distributions

Microwave Phase Shift Using Ferrite Filled Waveguide Below Cutoff

SUMMARY Phys 2523 (University Physics II) Compiled by Prof. Erickson. F e (r )=q E(r ) dq r 2 ˆr = k e E = V. V (r )=k e r = k q i. r i r.

Parametric estimation methods of multivariate data for multi-component image segmentation

PHY2049 Fall11. Final Exam Solutions (1) 700 N (2) 350 N (3) 810 N (4) 405 N (5) 0 N

Efficient estimation of a semiparametric dynamic copula model

AiMT Advances in Military Technology

Eco517 Fall 2004 C. Sims MIDTERM EXAM

Structural Reliability

Measurement and Calibration of a High-Sensitivity Microwave Power Sensor with an Attenuator

University of the Philippines College of Science PHYSICS 72. Summer Second Long Problem Set

Transcription:

Outline Copulas for Uncertainty Analysis GUM Antonio Possolo Refractive index Shortcomings GUM SUPPLEMENT 1 Change-of-Variables Formula Monte Carlo Method COPULAS Jun 21st, 2010 Definition & Illustrations GUM Example H.2 1 / 33 2 / 33 Refractive Index Refractive Index Partial Derivatives Apex angle α, refractive index n, immersed in medium with refractive index m Light enters prism at angle φ, traverses prism s body, and exits at angle ψ As prism rotates about light s entrance point, δ = 2(φ + ψ α) decreases, reaches minimum δ M, then increases ϕ α ψ sin(φ + ψ α/2) ƒ m (m, φ, ψ, α) = sin(α/ 2) cos(φ + ψ α/2) ƒ φ (m, φ, ψ, α) =m sin(α/ 2) cos(φ + ψ α/2) ƒ ψ (m, φ, ψ, α) =m sin(α/ 2) n = m sin((α + δ M)/2) sin(α/ 2) ƒ α (m, φ, ψ, α) = m cos(φ + ψ α 2 ) 2 sin( α 2 ) + sin(φ + ψ α 2 ) sin( α 2 ) tn( α 2 ) 3 / 33 4 / 33

Streamlining Computation Computation of standard uncertainty using GUM s Taylor approximation is tedious and error-prone, especially when measurement equation is non-linear or involves special functions Employ software capable of computing derivatives Analytically (for example, Maple) Numerically (for example, R) R is freely available, and its source code is open: http://www.r-project.org/ metrology package (LGC / NIST) GUM Approximation Shortcomings If some first order partial derivatives of ƒ are zero at values of input quantities, then GUM s approximation may be faulty Radiant power W = κ cos(a) GUM s approximation may be poor when ƒ is markedly non-linear in neighborhood of values of input quantities Need to study ƒ s curvature is extra burden If curvature is appreciable and influential, need higher-order approximation However, examples can be constructed where first-order approximation is better than second-order approximation Wang & Iyer (2005) 5 / 33 6 / 33 GUM Approximation More Shortcomings Expanded uncertainties and coverage intervals involve coverage factor whose value depends on generally unverifiable assumption that output quantity has Gaussian or Student s t distribution Even when Y t ν, Welch-Satterthwaite formula often yields inappropriate value for ν Example (GUM H.1) = S + d S (1 δα θ α S δθ) Welch-Satterthwaite formula yields ν eff = 16 GUM s 99 % coverage interval 17 % longer than it needs to be GUM Supplement 1 Problem Given Measurement equation Y = ƒ (X 1,..., X n ) Joint probability distribution of X 1,..., X n (with density φ) Determine Y s probability distribution Derive Y s density analytically Change-of-variables formula Sample Y s distribution 7 / 33 8 / 33

Change of Variables Formula Transformation τ = (ƒ, τ 2,..., τ n ) One-to-one, continuously differentiable Inverse has non-vanishing Jacobian Y = ƒ (X 1,..., X n ) Z 2 = τ 2 (X 1,..., X n )... Z n = τ n (X 1,..., X n ) Y has probability density ψ ψ(y) = Z 2... Z n φ τ 1 (y, z 2,..., z n ) J τ 1(y, z 2,..., z n ) dz 2... dz n GUM Supplement 1 Step 1 PROPAGATING DISTRIBUTIONS (MONTE CARLO) STEP 1: Select probability distribution to describe state of knowledge about input quantities If X 1,..., X n can be regarded as independent random variables, then assign probability distributions to each one of them separately Otherwise, assign multivariate distribution to all of them together... using a copula In either case, mean and standard deviation of each X j s distribution should be j and ( j ) 9 / 33 10 / 33 GUM Supplement 1 Steps 2 4 GUM Supplement 1 Refractive Index (CI) PROPAGATING DISTRIBUTIONS (MONTE CARLO) STEP 2: Choose suitably large number K for size of sample to generate from probability distribution of output quantity STEP 3: Simulate K vectors of values of input quantities, and compute y k = ƒ ( k1,..., kn ) for k = 1,..., K STEP 4: Assign to (y) (standard uncertainty of output quantity) the value of the standard deviation of y 1,..., y K Use sample {y 1,..., y K } to estimate probability density of prism s refractive index most complete characterization of uncertainty Shaded region includes 95 % of total area under curve: footprint on horizontal axis is a coverage interval for measurand with 95% confidence Probability Density 0 2 4 6 8 10 12 14 1.35 1.45 1.55 1.65 Refractive Index 11 / 33 12 / 33

GUM Example H.2 GUM Example H.2 INPUT QUANTITIES Amplitude V of sinusoidally-alternating potential difference across electrical circuit s terminals Amplitude of alternating current Phase-shift angle ϕ of alternating potential difference relative to alternating current OUTPUT QUANTITIES Resistance R = V cos ϕ Reactance X = V sin ϕ Impedance s magnitude Z = V V,, and ϕ are correlated 13 / 33 14 / 33 Problem & Solutions Copulas are not Cupolas PROBLEM Given probability distributions for input quantities, and correlations between them, how does one manufacture a joint probability distribution consistent with those margins and correlations? SOLUTIONS There are infinitely many joint distributions that are consistent with given marginal distributions and correlations Copulas join univariate probability distributions into multivariate distributions and impose dependence structure 15 / 33 Manufacturer mentioned solely to acknowledge image source, with no implied recommendation or endorsement by NIST that cupola portrayed is the best available for any particular purpose 16 / 33

Copula Definition Wassily Hoeffding, 1914 1991 A copula is the cumulative distribution function of a multivariate distribution on the unit hypercube all of whose margins are uniform Clayton copula inducing Kendall s τ = 0.6 17 / 33 18 / 33 Sklar s (1959) Theorem Copula Example: Definition If H is CDF of multivariate distribution whose margins have CDFs F 1,..., F n, then there exists copula C such that H( 1,..., n ) = C F 1 ( 1 ),..., F n ( n ) If F 1,..., F n are continuous, then C is unique C(p 1,..., p n ) = H F 1 1 (p 1),..., F 1 n (p n) Example (Gaussian Copula on Beta Margins) U BETA(3, 5) has CDF F V BETA(4, 2) has CDF G ρ = cor(u, V) = 0.7 Copula C such that C(p, q) = ρ F 1 (p), G 1 (q) for 0 p, q 1 19 / 33 20 / 33

Copula Example: Joint Density Influential Copulas Joint distributions with same Gaussian margins and same correlation v 0.1 0.3 0.5 0.7 0.9 0.1 0.3 0.5 0.7 0.9 u 0 5 10 15 v Gaussian Copula u 0 5 10 15 Clayton Copula 10 0 10 20 30 40 50 10 0 10 20 30 40 50 21 / 33 22 / 33 GUM Example H.2 GUM Example H.2 Data OUTPUT QUANTITIES Resistance R = V cos ϕ Reactance X = V sin ϕ Impedance s magnitude Z = V V (V) (ma) ϕ (rad) 5.007 19.663 1.045 6 4.994 19.639 1.043 8 5.005 19.640 1.046 8 4.990 19.685 1.042 8 4.999 19.678 1.043 3 23 / 33 24 / 33

GUM Example H.2 Evaluations GUM Example H.2 GUM Supplement 1 Input quantity values estimated by averages V,, and ϕ, of sets of five indications Uncertainties and correlations of input quantities assessed by Type A evaluations (V) = SD(5.007, 4.994, 5.005, 4.990, 4.999)/ 5 Similarly for () and (ϕ) cor(v, ), cor(v, ϕ), and cor(, ϕ) estimated by correlations between paired sets of five indications CHALLENGES Quality of estimates of (V), (), (ϕ), cor(v, ), cor(v, ϕ), and cor(, ϕ) limited by very small number of indications they are based on Marginal distributions must be chosen for V, and ϕ, and then linked using a copula that reproduces correlations between them 25 / 33 26 / 33 William Gosset, 1876 1937 GUM Example H.2 GUM Supplement 1 SOLUTION Employ Student t 4 distributions for V μ V (V), μ (), and ϕ μ ϕ (ϕ) Tune Gaussian copula using correlation supplicant Apply copula To sample correlation matrix To use sampled correlation matrix in turn to sample output quantities 27 / 33 28 / 33

Correlation Supplicant GUM Example H.2 GUM Supplement 1 Copula parameter θ determines dependence structure, in particular correlation matrix ρ(θ) Example STUDENT: θ comprises ν and CLAYTON: C(p, q) = p θ + q θ 1 1/θ, θ 1 RESULTS GAUSSIAN COPULA WITH GAUSSIAN MARGINS R (Ω) X (Ω) Z (Ω) AVE 127.7 219.8 254.3 0.0711 0.296 0.236 U 99% 0.18 0.76 0.61 Correlation Supplicant selects θ that minimizes difference between ρ and ρ(θ) Minimization with respect to θ done under constraint that ρ(θ) must be bona fide correlation matrix GAUSSIAN COPULA WITH STUDENT MARGINS R (Ω) X (Ω) Z (Ω) AVE 127.7 219.8 254.3 0.0828 0.289 0.232 U 99% 0.29 0.93 0.75 29 / 33 30 / 33 GUM Example H.2 Results GUM Example H.2 Limitation GAU GAU GAU STU All usual copulas fail to capture fact that joint distribution of (R, X, Z) is degenerate 126.5 127.5 128.5 218.5 219.5 220.5 221.5 253.0 254.0 255.0 Z 2 = R 2 + X 2 R X Z X 218.5 219.5 220.5 221.5 126.5 127.5 128.5 Z 252.5 253.5 254.5 255.5 126.5 127.5 128.5 Z 252.5 253.5 254.5 255.5 99% 95% 218.5 219.5 220.5 221.5 However, this is largely irrelevant in this case because relative standard uncertainties are very small all less than 0.1 % R R X 31 / 33 32 / 33

Conclusions & Reference When input quantities are correlated, and their joint distribution is not determined otherwise, copula must be used to apply Monte Carlo Method of GUM Supplement 1 Many different copulas can reproduce given correlations, yet lead to possibly very different uncertainty evaluations for output quantity A. Possolo (2010) Copulas for uncertainty analysis Metrologia, 47 (3): 262 271 33 / 33