A GENERALIZED KOLMOGOROV-SMIRNOV STATISTIC FOR DETRITAL ZIRCON ANALYSIS OF MODERN RIVERS Oscar M. Lovera Department of Earth & Space Sciences, UCLA

Slides:



Advertisements
Similar presentations
Flag = 1 or 2 or 3 1: 2: 3: [a1, a2, Ea1, Ea2, r] = linear_fit(xyData, xmin, xmax, flag) coefficients x i, y i data in a matrix of n rows by 2 columns.
Advertisements

MATLAB – A Computational Methods By Rohit Khokher Department of Computer Science, Sharda University, Greater Noida, India MATLAB – A Computational Methods.
What is shape function ? shape function is a function that will give the displacements inside an element if its displacement at all the node locations.
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
LOGO One of the easiest to use Software: Winsteps
1 Catalog 1 Check the radiation damagep. 2 2 Check aggregation by AutoRg program. Calculate theoretical I 0, MW, and V tot with protein SAXS I 0 estimtaion.xls.
Lecture Notes for E Alpaydın 2010 Introduction to Machine Learning 2e © The MIT Press (V1.0) ETHEM ALPAYDIN © The MIT Press, 2010
While opening master data will appear. Fill the name, Select the heads and click on next for going to computatin page Click here to go to Computation Click.
Random Variables ECE460 Spring, 2012.
Personal Response System (PRS). Revision session Dr David Field Do not turn your handset on yet!
Physics 114: Lecture 7 Uncertainties in Measurement Dale E. Gary NJIT Physics Department.
Section 6-3 Applications of Normal Distributions.
Probability distribution functions Normal distribution Lognormal distribution Mean, median and mode Tails Extreme value distributions.
Computing the Posterior Probability The posterior probability distribution contains the complete information concerning the parameters, but need often.
Sample Size Determination In the Context of Hypothesis Testing
- 1 - Summary of P-box Probability bound analysis (PBA) PBA can be implemented by nested Monte Carlo simulation. –Generate CDF for different instances.
Multiplying matrices An animated example. (3 x 3)x (3 x 2)= (3 x 2) These must be the same, otherwise multiplication cannot be done Is multiplication.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Statistics and Quantitative Analysis U4320 Segment 4: Statistics and Quantitative Analysis Prof. Sharyn O’Halloran.
Lecture II-2: Probability Review
Modern Navigation Thomas Herring
Hydrologic Statistics
Inference for regression - Simple linear regression
Lesson Normal Distributions.
Efficient Model Selection for Support Vector Machines
Graphical Analysis Tutorial Version GA 3.2. Entering Data Enter your independent (x) data and dependent (y) data into the columns shown By double-clicking.
Hands-on Introduction to R. Outline R : A powerful Platform for Statistical Analysis Why bother learning R ? Data, data, data, I cannot make bricks without.
University of Ottawa - Bio 4118 – Applied Biostatistics © Antoine Morin and Scott Findlay 21/09/2015 7:46 PM 1 Two-sample comparisons Underlying principles.
Albert Morlan Caitrin Carroll Savannah Andrews Richard Saney.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
Theory of Probability Statistics for Business and Economics.
Tests for Random Numbers Dr. Akram Ibrahim Aly Lecture (9)
MEGN 537 – Probabilistic Biomechanics Ch.5 – Determining Distributions and Parameters from Observed Data Anthony J Petrella, PhD.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Mapping Estimation with BMEGUI Prahlad Jat (1) and Marc Serre (1) (1) University of North Carolina at Chapel Hill.
Introduction to SPSS Prof. Ramez Bedwani. Outcomes By the end of this lecture, the student will be able to Know definition, uses and types of statistics.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2006 Session Two Alex Fadeev - Link for this PPT:
Module 7: Comparing Datasets and Comparing a Dataset with a Standard How different is enough?
Learning Theory Reza Shadmehr LMS with Newton-Raphson, weighted least squares, choice of loss function.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 7 Section 2 – Slide 1 of 32 Chapter 7 Section 2 The Standard Normal Distribution.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2009 Session Two Michel-Alexandre Cardin – Prof. Richard.
ENG College of Engineering Engineering Education Innovation Center 1 Array Accessing and Strings in MATLAB Topics Covered: 1.Array addressing. 2.
Example: Bioassay experiment Problem statement –Observations: At each level of dose, 5 animals are tested, and number of death are observed.
Risk Analysis & Modelling Lecture 2: Measuring Risk.
Lecture 9. Continuous Probability Distributions David R. Merrell Intermediate Empirical Methods for Public Policy and Management.
Geology 6600/7600 Signal Analysis 02 Sep 2015 © A.R. Lowry 2015 Last time: Signal Analysis is a set of tools used to extract information from sequences.
Matlab Introduction  Getting Around Matlab  Matrix Operations  Drawing Graphs  Calculating Statistics  (How to read data)
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2010 Session Two Xin Zhang – Prof. Richard de Neufville.
- 1 - Matlab statistics fundamentals Normal distribution % basic functions mew=100; sig=10; x=90; normpdf(x,mew,sig) 1/sig/sqrt(2*pi)*exp(-(x-mew)^2/sig^2/2)
CS Statistical Machine learning Lecture 12 Yuan (Alan) Qi Purdue CS Oct
U.S. Department of the Interior U.S. Geological Survey Automatic Generation of Parameter Inputs and Visualization of Model Outputs for AGNPS using GIS.
Introduction to Probability and Bayesian Decision Making Soo-Hyung Kim Department of Computer Science Chonnam National University.
Math 252: Math Modeling Eli Goldwyn Introduction to MATLAB.
Hands-on Introduction to R. We live in oceans of data. Computers are essential to record and help analyse it. Competent scientists speak C/C++, Java,
Introduction to Eviews Eviews Workshop September 6, :30 p.m.-3:30 p.m.
MEGN 537 – Probabilistic Biomechanics Ch.5 – Determining Distributions and Parameters from Observed Data Anthony J Petrella, PhD.
Comparing Datasets and Comparing a Dataset with a Standard How different is enough?
Part 3: Estimation of Parameters. Estimation of Parameters Most of the time, we have random samples but not the densities given. If the parametric form.
Econ 110: Sampling Theory and Statistical Inference In Economics 2 nd semester 2016 richard makoto Economics Department University of Zimbabwe Normal Distribution.
Linear Algebra Review.
BAE 5333 Applied Water Resources Statistics
Confidence intervals for m when s is unknown
Two Interpretations of What it Means to Normalize the Low Energy Monte Carlo Events to the Low Energy Data Atms MC Atms MC Data Data Signal Signal Apply.
Distributions cont.: Continuous and Multivariate
WARM - UP 1. How do you interpret a Confidence Interval?
POPULATION (of “units”)
Goodness-of-Fit Tests Applications
POPULATION (of “units”)
Using Clustering to Make Prediction Intervals For Neural Networks
Announcements.
Presentation transcript:

A GENERALIZED KOLMOGOROV-SMIRNOV STATISTIC FOR DETRITAL ZIRCON ANALYSIS OF MODERN RIVERS Oscar M. Lovera Department of Earth & Space Sciences, UCLA Marty Grove Department of Geological & Environmental Sciences, Stanford University Sara E. Cina Department of Earth & Space Sciences

Example of Input Files Sample input file X0 Age(Ma) ±   … …. Predicted.in File X1 X2 X  Sample data are input as two columns (Age(Ma), 1  (Ma)) files (see example, no head labels). Sample filename length must be at least 2 character and less than 10. Because output filenames are form with the two first characters of each catchment sample, it is preferable that the catchment names do not agree in the 1 st two characters of their names.  To calculate the relative erosion rates matrix, a predicted relative catchment contribution vector must be input. It is read from a simple three column file “Predicted.in” (see example), with the predicted relative catchment contributions separate by space or tabs. Be sure that the predicted catchment contributions are given from left to right in the same order that catchment sample filenames were input in the 2 nd input screen. oNOTE: Selecting option “a” in the 1 st input screen calculates “all” matrices, including relative erosion estimates. If an “Predicted.in” input file is not provided, a “dummy” predicted “uniform” relative contributions (1/3,1/3,1/3) would be used and the resulting erosion probability matrix will be identical to the relative contribution probability matrix.

RUNNING THE PROGRAM SELECT THE ROUTINE(S) YOU WANT TO RUN (a) - RUN ALL THE ROUTINES AT ONCE (1) - CALCULATE PDF, CPDF CURVES AND STATISTIC AND CORRELATION VALUES (2) - CALCULATE D MATRIX FOR TERNARY PLOTS (3) - CALCULATE THE PROBABILITY MATRIX (4) - CALCULATE THE EROSION MATRIX (5) - CALCULATE TERNARY CONTOURS (PROB OR EROSION) ENTER SELECTION? ( a,1,2,3,4 o 5) a

2 nd input screen if 1 st selection is ( a,1 or 2) Enter name of Main sample distribution X0 ENTER NAME OF CATCHMENT SAMPLE (STOP to end reading) X1 ENTER NAME OF CATCHMENT SAMPLE (STOP to end reading) X2 ENTER NAME OF CATCHMENT SAMPLE (STOP to end reading) X3 ENTER NAME OF CATCHMENT SAMPLE (STOP to end reading) stop total % sigma average= GENKS DONE

ENTER TYPE OF MODEL YOU WANT TO CALCULATE: (1) - INDEPENDENT (2) - IDENTICAL (3) - BOTH 1 GENKS DONE DMATX DONE …. (1) - CALCULATE CONTOURS OF PROB MATRIX (2) - CALCULATE CONTOURS OF EROSION MATRIX (3) - CALCULATE BOTH CONTOURS (PROB & EROSION) 1 GENKS DONE DMATX DONE PROB_DCRIT_MTX DONE EROSION DONE 2 nd Selection screen if 1 st selection is ( 3,4 or 5) 3 rd Selection screen if 1st selection is (5)

OUPUT FILES GenKS.DAT – KS Statistic and Correlation calculations between the Main Trunk sample and the catchment samples (PROB values are not corrected by shifting due to incorporation of experimental error). Note: More than three catchments can be input to calculate KS statistic and Correlation values, but ternary matrices will only be calculated from the first three input catchments. Name.txt – Age vs. PDF and CPDF values. Column 1 = Age(Ma), Column 2 = PDF and Column 3 = CPDF. Plot them using any X-Y Graph application. Matrixname_param.dat – Information of the sample and screen input values. Other calculated values like Max. D and Prob., avg. sigma, etc., are also output here. Matrixname_opt_dist.dat – Age vs. PDF and CPDF values for the optimum Mixture (Max. Probability). (Matrixname = first 2 characters of catchment sample names; i.e. X1_X2_X3). Matrixname_matx.dat – Matrix of the Max. D values computed between the Mixture and the Main Trunk CPDFs curves. Catchment contributions  i are varying from 0 to 1 at intervals (Grid=1000x1000). Matrixname_prob??.dat – Matrices of the Probability values (id=identical, in=independent populations) Matrixname_er??.dat – Matrices of the Erosion contributions (id or in) Matrixname_??_cont.dat – ternary contours calculated from the PROB or erosion matrices. Contours are calculated between 0.05 and the max. probability value of the matrix at 0.05 intervals, plus the contours at the 0.01, and values.

GenKS.dat File Name.txt File Three column file (X,Y1,Y2) without head labels. Ages between 0 and 4.Ga at Ga intervals. Avg. % sigma uncertainty quote at the bottom. Matrixname_opt_dist.txt File Optimum Mixture with Max. Prob. Two column file (X,Y1,Y2) without head labels. Ages same as Name.txt.

Example of Matrixname_param.dat Total Average % sigma = D-MATRIX SUBROUTINE X N= 201 (Main Trunk Sample) X1 N= 89 X2 N= 98 X3 N= 178 D %S1 %S2 %S CONTOUR SUBROUTINE Pmax contr: Plow= E-02 Pmax= N= E ………. average % sigma for all the sample data (X,X1,X2,X3) Size of sample distributions (S1,S2,S3) relative contributions of the mixture with the least max. different (D). Relative contributions of the Mixture with the max. PROB (Pmax). PROB values of the Contours calculated between 0.05 and Pmax.

Example of Matrix File  1 /  Note: These are triangular matrices. Bottom right triangle values are set to -1. We use them only to calculate ternary contours, but they can be use to plot contours on any 2D graph application.

Example of Contour Files Row #  1  2  3 (1)  3 (0.05)  3 (0.10)  4 (0.15) E E …… … … Note: Output file is taylor to plot ternary contour using the Origin Graph application. First to columns (f1,f2) are label as X,Y. Columns from 3 rd and up (f3) must be designed as Z.

Files used: X0.txt, X1.txt, X2.txt, X3.txt and X1_X2_X3_opt_dist.dat

RELATIVE CATCHMENT CONTRIBUTIONS PROBABILITY CONTOURS Files used: X1_X2_X3_pmatxin.dat and X1_X2_X3_pmatxid.dat. Note that not all calculated contours were plot.

RELATIVE EROSION RATE CONTOURS

Glossary D crit : Critical D value (i.e. P(Dcrit)=0.05) PDF: Probability Density Function (Gaussian Kernel Probability). CPDF: Cumulative Probability Density Function (Integral of the Gaussian Kernel Probability). CDF: Cumulative Distribution Function CC: Cross-correlation values between two Probability Density Functions (PDF)