SlideShare a Scribd company logo
1 of 4
Download to read offline
Sampling methods for uncertainty analysis
Simple random sampling
Simple random sampling involves repeatedly forming random vectors of parameters from
prescribed probability distributions. A normally-distributed random variable x with mean
µ and standard deviation σ can be generated by:
x* = σ rn + µ
where rn are normally distributed random numbers with mean 0 and variance 1.
A multivariate normal distribution with variance-covariance matrix V can be
sampled utilising the lower and upper triangular matrix (LU) decomposition method
(Davis, 1987). The variance-covariance matrix V is first decomposed by Cholesky
factorization:
V = L LT
where L is the lower triangular matrix. To generate the random variables vector x,
matrix L is multiplied by vector, rn, of independent normal random numbers with mean 0
and variance 1:
x = L rn + µ .
The procedure is repeated for sample size ns, resulting in a set of variables with
expected mean vector µ and expected variance-covariance matrix: L cov(rn) LT
. Since
the random numbers are independent, the covariance matrix cov(rn) should equal I (the
identity matrix),
L cov(rn) LT
= L I LT
= L LT
= V .
Latin hypercube sampling
Latin hypercube sampling (LHS), a stratified-random procedure, provides an efficient
way of sampling variables from their distributions (Iman and Conover, 1980). The LHS
involves sampling ns values from the prescribed distribution of each of k variables X1, X2,
… Xk. The cumulative distribution for each variable is divided into N equiprobable
intervals. A value is selected randomly from each interval (Figure 1). The N values
obtained for each variable are paired randomly with the other variables. Unlike simple
random sampling, this method ensures a full coverage of the range of each variable by
maximally stratifying each marginal distribution.
The LHS can be summarized as:
• divide the cumulative distribution of each variable into N equiprobable invervals;
• from each interval select a value randomly, for the ith interval, the sampled
cumulative probability can be written as (Wyss and Jorgensen, 1998):
Probi = (1/N) ru + (i – 1)/N
where ru is uniformly distributed random number ranging from 0 to 1;
• transform the probability values sampled into the value x using the inverse of the
distribution function F-1
:
x = F-1
(Prob) ;
• the N values obtained for each variable x are paired randomly (equally likely
combinations) with the ns values of the other variables.
The method is based on the assumption that the variables are independent of each
other, but in reality most of the input variables are correlated to some extent. Random
pairing of correlated variables could result in impossible combinations, furthermore
independent variables tend to bias the uncertainty.
0
0.2
0.4
0.6
0.8
1
-2 -1 0 1 2
x1
CumulativeProbability
0
0.2
0.4
0.6
0.8
1
-2 -1 0 1 2
x2
CumulativeProbabilit
Fig. 1. Example of LHS: Random stratified sampling of variables x1 and x2 at 5 intervals (Left)
and random pairing of sampled x1 and x2 forming a Latin hypercube (Right).
y
0
0.2
0.4
0.6
0.8
1
0 0.2 0.4 0.6 0.8 1
Probability x2
Probabilityx1
0
0.2
0.4
0.6
0.8
1
-2 -1 0 1 2
x1
CumulativeProbability
0
0.2
0.4
0.6
0.8
1
-2 -1 0 1 2
x2
CumulativeProbabilit
0
0.2
0.4
0.6
0.8
1
0 0.2 0.4 0.6 0.8 1
Probability x2
Probabilityx1
y
Inducing correlation in Latin hypercube sampling
Iman and Conover (1982) proposed a method for inducing correlation among the
variables by restricting the way the variables are paired based on the rank correlation of
some target values. The method is based on the Cholesky decomposition of the
correlation matrix. Suppose matrix X is composed of independent random variables with
correlation matrix I and C is the desired correlation matrix. Matrix C can be written as C
= P P’ where P is the lower triangular matrix. Similar to the simple random sampling,
multiplying vector x P’ yield random variables with correlation matrix C. Therefore the
objective is to rearrange the input variables close to the target correlation matrix. The
method is summarised as follows:
• generate matrix R using Latin hypercube sampling of k variables at sample size ns;
• calculate T, the correlation matrix of R;
• calculate the P lower triangular matrix of the target correlation matrix C using
Cholesky factorization C = P P’ and also Q the lower triangular matrix of T
T = Q Q’ ;
• solve to obtain matrix S such that STS’ = C, which is calculated from S = P Q-1
;
• calculate target correlation matrix R* = R S’, which has a correlation matrix equal to
C;
• rearrange the values of each variable in R so they have the same rank (order) as the
target matrix R*.
Stein (1987) also proposed a method for sampling dependent variables based on the
rank of a target multivariate distribution.
• obtain matrix R of k variables at sample size N using simple random sampling;
• define U the matrix with k columns and N rows containing the order or rank
corresponding to the target correlation matrix;
• obtain the Latin hypercube sample xij (i = 1, ..., N; j = 1, ..., k) by
u1
rij
ij j
u
x F
N
−
−⎛ ⎞
= ⎜
⎝ ⎠
⎟
With this shifting (transformation), the sampled values yield an approximately joint
distribution. See Pebesma and Heuvelink (1999) and Zhang and Pinder (2004) for more
detail description.
References
Cochran, W.G., 1977. Sampling Techniques, 3rd edn. John Wiley and Sons, New York.
Davis, M.W., 1987. Production of conditional simulations via the LU triangular decomposition of
the covariance matrix. Mathematical Geology 19, 91-98.
Iman, R.L., Conover, W.J., 1982. A distribution-free approach to inducing rank correlation
among input variables. Communications in Statistics B11, 311-334.
Iman, R.L., 1992. Uncertainty and sensitivity analysis for computer modeling applications. In:
Reliability Technology, The American Society of Mechanical Engineers 1992, (ed T.A.
Cruse), pp. 153-168. The American Society of Mechanical Engineers, New York.
McKay, M.D., Beckman, R.J., Conover, W.J., 1979. A comparison of three methods for selecting
values of input variables in the analysis of output from a computer code. Technometrics 21,
239-245.
Pebesma, E.J., Heuvelink, G.B.M., 1999. Latin hypercube sampling of Gaussian random fields.
Technometrics 41, 303-312.
Stein, M.L., 1987. Large sample properties of simulations using Latin hypercube sampling.
Technometrics, 29, 143-151.
Wyss, G.D., Jorgensen, K.H., 1998, A User’s Guide to LHS: Sandia’s Latin Hypercube Sampling
Software. Technical Report SAND98-0210. Sandia National Laboratories, Albuquerque, NM.
Zhang, Y., Pinder, G.F., 2004. Latin-Hypercube Sample-Selection Strategies for Correlated
Random Hydraulic-Conductivity Fields. Water Resources Research 39(8) SBH 11

More Related Content

What's hot

Relacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e Swing
Relacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e SwingRelacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e Swing
Relacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e SwingPastor Robson Colaço
 
Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.
Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.
Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.PMP
 
1.1.1 Points, Lines, and Planes
1.1.1 Points, Lines, and Planes1.1.1 Points, Lines, and Planes
1.1.1 Points, Lines, and Planessmiller5
 
1 review on derivatives
1 review on derivatives1 review on derivatives
1 review on derivativesmath266
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSSLNIPE
 

What's hot (6)

Relacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e Swing
Relacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e SwingRelacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e Swing
Relacionamento Aberto Hotwife, Cuckold, Ménage à Trois, Slut Wife e Swing
 
Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.
Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.
Vera.lucia.m.de.carvalho. .espiritismo.-.novamente juntos.
 
1.1.1 Points, Lines, and Planes
1.1.1 Points, Lines, and Planes1.1.1 Points, Lines, and Planes
1.1.1 Points, Lines, and Planes
 
1 review on derivatives
1 review on derivatives1 review on derivatives
1 review on derivatives
 
Lista 3 - Geometria Analítica
Lista 3   - Geometria AnalíticaLista 3   - Geometria Analítica
Lista 3 - Geometria Analítica
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSS
 

Viewers also liked

'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With Technology'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With TechnologyBobur Murodov
 
'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With Technology'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With TechnologyBobur Murodov
 
PACIFIC COAST LOCATORS BROCHURE
PACIFIC COAST LOCATORS BROCHUREPACIFIC COAST LOCATORS BROCHURE
PACIFIC COAST LOCATORS BROCHURERick Huerta
 
Mariah Hay- Confusing UX with UI can cost you
Mariah Hay- Confusing UX with UI can cost youMariah Hay- Confusing UX with UI can cost you
Mariah Hay- Confusing UX with UI can cost youMariah Hay
 
อุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ต
อุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ตอุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ต
อุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ตPalm Pheomrungrueang
 
բարեմաղթանք տատիկիներիս եվ պապիկներիս վիգեն
բարեմաղթանք տատիկիներիս եվ պապիկներիս վիգենբարեմաղթանք տատիկիներիս եվ պապիկներիս վիգեն
բարեմաղթանք տատիկիներիս եվ պապիկներիս վիգենvigenhovakimyan
 
ամանորյա ֆոտոպատում
ամանորյա ֆոտոպատումամանորյա ֆոտոպատում
ամանորյա ֆոտոպատումvigenhovakimyan
 
Ամանորյա արձակուրդ վիգեն
Ամանորյա արձակուրդ վիգենԱմանորյա արձակուրդ վիգեն
Ամանորյա արձակուրդ վիգենvigenhovakimyan
 
իմ ճամփորդությունները
իմ ճամփորդություններըիմ ճամփորդությունները
իմ ճամփորդություններըvigenhovakimyan
 
վիգեն հովակիմյան
վիգեն հովակիմյանվիգեն հովակիմյան
վիգեն հովակիմյանvigenhovakimyan
 

Viewers also liked (20)

Sheraz Mahdi New CV
Sheraz Mahdi New CVSheraz Mahdi New CV
Sheraz Mahdi New CV
 
List of products SYSMED
List of products SYSMEDList of products SYSMED
List of products SYSMED
 
Inca jungle path
Inca jungle pathInca jungle path
Inca jungle path
 
Gitagorcnakan havaq
Gitagorcnakan havaqGitagorcnakan havaq
Gitagorcnakan havaq
 
'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With Technology'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With Technology
 
'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With Technology'Tfuture' - Create Your Future With Technology
'Tfuture' - Create Your Future With Technology
 
PACIFIC COAST LOCATORS BROCHURE
PACIFIC COAST LOCATORS BROCHUREPACIFIC COAST LOCATORS BROCHURE
PACIFIC COAST LOCATORS BROCHURE
 
Mariah Hay- Confusing UX with UI can cost you
Mariah Hay- Confusing UX with UI can cost youMariah Hay- Confusing UX with UI can cost you
Mariah Hay- Confusing UX with UI can cost you
 
อุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ต
อุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ตอุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ต
อุปกรณ์ที่จำเป็นในการเข้าสู่อินเทอร์เน็ต
 
Tour Colombia English
Tour Colombia EnglishTour Colombia English
Tour Colombia English
 
բարեմաղթանք տատիկիներիս եվ պապիկներիս վիգեն
բարեմաղթանք տատիկիներիս եվ պապիկներիս վիգենբարեմաղթանք տատիկիներիս եվ պապիկներիս վիգեն
բարեմաղթանք տատիկիներիս եվ պապիկներիս վիգեն
 
My new year vigen
My new year vigenMy new year vigen
My new year vigen
 
ամանորյա ֆոտոպատում
ամանորյա ֆոտոպատումամանորյա ֆոտոպատում
ամանորյա ֆոտոպատում
 
Ամանորյա արձակուրդ վիգեն
Ամանորյա արձակուրդ վիգենԱմանորյա արձակուրդ վիգեն
Ամանորյա արձակուրդ վիգեն
 
My Toys
My ToysMy Toys
My Toys
 
My mother vigen h.
My mother vigen h.My mother vigen h.
My mother vigen h.
 
C.V
C.VC.V
C.V
 
իմ ճամփորդությունները
իմ ճամփորդություններըիմ ճամփորդությունները
իմ ճամփորդությունները
 
վիգեն հովակիմյան
վիգեն հովակիմյանվիգեն հովակիմյան
վիգեն հովակիմյան
 
кофе
кофекофе
кофе
 

Similar to Latin hypercube sampling

A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3Mintu246
 
Factor analysis
Factor analysis Factor analysis
Factor analysis Mintu246
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 
Maths Symbols
Maths SymbolsMaths Symbols
Maths Symbolsjanobearn
 
A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4Mintu246
 
A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4Mintu246
 
An Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration ProceduresAn Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration Proceduresijtsrd
 
clustering tendency
clustering tendencyclustering tendency
clustering tendencyAmir Shokri
 
The Wishart and inverse-wishart distribution
 The Wishart and inverse-wishart distribution The Wishart and inverse-wishart distribution
The Wishart and inverse-wishart distributionPankaj Das
 
DirichletProcessNotes
DirichletProcessNotesDirichletProcessNotes
DirichletProcessNotesAngie Shen
 
Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...
Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...
Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...QUESTJOURNAL
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptBhartiYadav316049
 
Newton paper.docx
Newton  paper.docxNewton  paper.docx
Newton paper.docxnitmor1
 
CHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxCHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxJaysonMagalong
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsDerek Kane
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREShriramKargaonkar
 
Module 3_ Classification.pptx
Module 3_ Classification.pptxModule 3_ Classification.pptx
Module 3_ Classification.pptxnikshaikh786
 

Similar to Latin hypercube sampling (20)

A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3
 
Factor analysis
Factor analysis Factor analysis
Factor analysis
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Maths Symbols
Maths SymbolsMaths Symbols
Maths Symbols
 
A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4
 
A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4A comparative analysis of predictve data mining techniques4
A comparative analysis of predictve data mining techniques4
 
Unit3
Unit3Unit3
Unit3
 
An Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration ProceduresAn Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration Procedures
 
clustering tendency
clustering tendencyclustering tendency
clustering tendency
 
The Wishart and inverse-wishart distribution
 The Wishart and inverse-wishart distribution The Wishart and inverse-wishart distribution
The Wishart and inverse-wishart distribution
 
DirichletProcessNotes
DirichletProcessNotesDirichletProcessNotes
DirichletProcessNotes
 
Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...
Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...
Using Mathematical Foundations To Study The Equivalence Between Mass And Ener...
 
Unit 4
Unit 4Unit 4
Unit 4
 
random variation 9473 by jaideep.ppt
random variation 9473 by jaideep.pptrandom variation 9473 by jaideep.ppt
random variation 9473 by jaideep.ppt
 
Newton paper.docx
Newton  paper.docxNewton  paper.docx
Newton paper.docx
 
v39i11.pdf
v39i11.pdfv39i11.pdf
v39i11.pdf
 
CHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxCHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptx
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
 
Module 3_ Classification.pptx
Module 3_ Classification.pptxModule 3_ Classification.pptx
Module 3_ Classification.pptx
 

Recently uploaded

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 

Recently uploaded (20)

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 

Latin hypercube sampling

  • 1. Sampling methods for uncertainty analysis Simple random sampling Simple random sampling involves repeatedly forming random vectors of parameters from prescribed probability distributions. A normally-distributed random variable x with mean µ and standard deviation σ can be generated by: x* = σ rn + µ where rn are normally distributed random numbers with mean 0 and variance 1. A multivariate normal distribution with variance-covariance matrix V can be sampled utilising the lower and upper triangular matrix (LU) decomposition method (Davis, 1987). The variance-covariance matrix V is first decomposed by Cholesky factorization: V = L LT where L is the lower triangular matrix. To generate the random variables vector x, matrix L is multiplied by vector, rn, of independent normal random numbers with mean 0 and variance 1: x = L rn + µ . The procedure is repeated for sample size ns, resulting in a set of variables with expected mean vector µ and expected variance-covariance matrix: L cov(rn) LT . Since the random numbers are independent, the covariance matrix cov(rn) should equal I (the identity matrix), L cov(rn) LT = L I LT = L LT = V . Latin hypercube sampling Latin hypercube sampling (LHS), a stratified-random procedure, provides an efficient way of sampling variables from their distributions (Iman and Conover, 1980). The LHS involves sampling ns values from the prescribed distribution of each of k variables X1, X2, … Xk. The cumulative distribution for each variable is divided into N equiprobable intervals. A value is selected randomly from each interval (Figure 1). The N values obtained for each variable are paired randomly with the other variables. Unlike simple random sampling, this method ensures a full coverage of the range of each variable by maximally stratifying each marginal distribution. The LHS can be summarized as: • divide the cumulative distribution of each variable into N equiprobable invervals; • from each interval select a value randomly, for the ith interval, the sampled cumulative probability can be written as (Wyss and Jorgensen, 1998): Probi = (1/N) ru + (i – 1)/N where ru is uniformly distributed random number ranging from 0 to 1;
  • 2. • transform the probability values sampled into the value x using the inverse of the distribution function F-1 : x = F-1 (Prob) ; • the N values obtained for each variable x are paired randomly (equally likely combinations) with the ns values of the other variables. The method is based on the assumption that the variables are independent of each other, but in reality most of the input variables are correlated to some extent. Random pairing of correlated variables could result in impossible combinations, furthermore independent variables tend to bias the uncertainty. 0 0.2 0.4 0.6 0.8 1 -2 -1 0 1 2 x1 CumulativeProbability 0 0.2 0.4 0.6 0.8 1 -2 -1 0 1 2 x2 CumulativeProbabilit Fig. 1. Example of LHS: Random stratified sampling of variables x1 and x2 at 5 intervals (Left) and random pairing of sampled x1 and x2 forming a Latin hypercube (Right). y 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 Probability x2 Probabilityx1 0 0.2 0.4 0.6 0.8 1 -2 -1 0 1 2 x1 CumulativeProbability 0 0.2 0.4 0.6 0.8 1 -2 -1 0 1 2 x2 CumulativeProbabilit 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 Probability x2 Probabilityx1 y
  • 3. Inducing correlation in Latin hypercube sampling Iman and Conover (1982) proposed a method for inducing correlation among the variables by restricting the way the variables are paired based on the rank correlation of some target values. The method is based on the Cholesky decomposition of the correlation matrix. Suppose matrix X is composed of independent random variables with correlation matrix I and C is the desired correlation matrix. Matrix C can be written as C = P P’ where P is the lower triangular matrix. Similar to the simple random sampling, multiplying vector x P’ yield random variables with correlation matrix C. Therefore the objective is to rearrange the input variables close to the target correlation matrix. The method is summarised as follows: • generate matrix R using Latin hypercube sampling of k variables at sample size ns; • calculate T, the correlation matrix of R; • calculate the P lower triangular matrix of the target correlation matrix C using Cholesky factorization C = P P’ and also Q the lower triangular matrix of T T = Q Q’ ; • solve to obtain matrix S such that STS’ = C, which is calculated from S = P Q-1 ; • calculate target correlation matrix R* = R S’, which has a correlation matrix equal to C; • rearrange the values of each variable in R so they have the same rank (order) as the target matrix R*. Stein (1987) also proposed a method for sampling dependent variables based on the rank of a target multivariate distribution. • obtain matrix R of k variables at sample size N using simple random sampling; • define U the matrix with k columns and N rows containing the order or rank corresponding to the target correlation matrix; • obtain the Latin hypercube sample xij (i = 1, ..., N; j = 1, ..., k) by u1 rij ij j u x F N − −⎛ ⎞ = ⎜ ⎝ ⎠ ⎟ With this shifting (transformation), the sampled values yield an approximately joint distribution. See Pebesma and Heuvelink (1999) and Zhang and Pinder (2004) for more detail description.
  • 4. References Cochran, W.G., 1977. Sampling Techniques, 3rd edn. John Wiley and Sons, New York. Davis, M.W., 1987. Production of conditional simulations via the LU triangular decomposition of the covariance matrix. Mathematical Geology 19, 91-98. Iman, R.L., Conover, W.J., 1982. A distribution-free approach to inducing rank correlation among input variables. Communications in Statistics B11, 311-334. Iman, R.L., 1992. Uncertainty and sensitivity analysis for computer modeling applications. In: Reliability Technology, The American Society of Mechanical Engineers 1992, (ed T.A. Cruse), pp. 153-168. The American Society of Mechanical Engineers, New York. McKay, M.D., Beckman, R.J., Conover, W.J., 1979. A comparison of three methods for selecting values of input variables in the analysis of output from a computer code. Technometrics 21, 239-245. Pebesma, E.J., Heuvelink, G.B.M., 1999. Latin hypercube sampling of Gaussian random fields. Technometrics 41, 303-312. Stein, M.L., 1987. Large sample properties of simulations using Latin hypercube sampling. Technometrics, 29, 143-151. Wyss, G.D., Jorgensen, K.H., 1998, A User’s Guide to LHS: Sandia’s Latin Hypercube Sampling Software. Technical Report SAND98-0210. Sandia National Laboratories, Albuquerque, NM. Zhang, Y., Pinder, G.F., 2004. Latin-Hypercube Sample-Selection Strategies for Correlated Random Hydraulic-Conductivity Fields. Water Resources Research 39(8) SBH 11