Download presentation

Presentation is loading. Please wait.

Published byMarquise Sibert Modified over 2 years ago

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

3
Example of Input Files Sample input file X0 Age(Ma) ± 336.8 18.2 356.7 16.2 415.8 16.9 430.8 25.0 432.0 24.3 446.2 5.6 448.4 7.1 455.6 7.9 466.7 24.2 485.8 19.9 490.6 13.6 514.2 7.0 515.4 17.9 515.5 17.4 515.6 15.5 519.5 21.4 528.6 34.3 529.6 28.3 551.5 5.9 557.3 4.0 … …. Predicted.in File X1 X2 X3 0.43 0.37 0.20 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.

4
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

5
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= 3.535128 GENKS DONE

6
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)

7
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 0.001 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, 0.001 and 0.0001 values.

8
GenKS.dat File Name.txt File Three column file (X,Y1,Y2) without head labels. Ages between 0 and 4.Ga at 2 -12 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.

9
Example of Matrixname_param.dat Total Average % sigma = 3.535128 D-MATRIX SUBROUTINE X N= 201 (Main Trunk Sample) X1 N= 89 X2 N= 98 X3 N= 178 D %S1 %S2 %S3 0.0364 33.7000 35.3000 31.0000 CONTOUR SUBROUTINE Pmax contr: 33.70000 35.30000 31.00000 Plow= 5.0000001E-02 Pmax= 0.4421005 N= 8 5.0000001E-02 0.1000000 0.1500000 0.2000000 0.2500000 0.3000000 0.3500000 0.4000000 ………. 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.

10
Example of Matrix File 1 / 2 0.0000.0010.0020.003 0.004 0.005 0.006 0.007 0.0000.58080.580050.57930.578540.577790.577040.576290.57554 0.0010.579960.57920.578450.57770.576950.57620.575450.5747 0.0020.579110.578360.577610.576860.576110.575360.574610.57386 0.0030.578270.577520.576770.576020.575270.574520.573760.57301 0.0040.577430.576680.575930.575170.574420.573670.572920.57217 0.0050.576590.575830.575080.574330.573580.572830.572080.57133 0.0060.575740.574990.574240.573490.572740.571990.571240.57049 0.0070.57490.574150.57340.572650.57190.571150.570390.56964 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.

11
Example of Contour Files Row # 1 2 3 (1) 3 (0.05) 3 (0.10) 4 (0.15) 10.576100.4239-1-1 20.5761.27E-40.42387-1-1 30.575271E-30.42373-1-1 40.5750.001330.42367-1-1 50.574440.0020.42356-1-1............…… 28110.0350.852230.11277-1-1 28120.035170.8520.11283-1-1 28130.101990.736-10.16201-1 28140.1020.73601-10.16199-1 28150.102010.736-10.16199-1 28160.1020.73596-10.16204-1...............… 51180.103950.731-10.16505-1 51190.103530.732-10.16447-1 51200.153740.651-1-10.19526 51210.1540.65138-1-10.19462 51220.154240.651-1-10.19476...............… 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.

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

13
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.

14
RELATIVE EROSION RATE CONTOURS

15
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)

Similar presentations

OK

University of Ottawa - Bio 4118 – Applied Biostatistics © Antoine Morin and Scott Findlay 21/09/2015 7:46 PM 1 Two-sample comparisons Underlying principles.

University of Ottawa - Bio 4118 – Applied Biostatistics © Antoine Morin and Scott Findlay 21/09/2015 7:46 PM 1 Two-sample comparisons Underlying principles.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on steve jobs leadership Ppt on mind controlled wheelchair Ppt on different types of computer languages Ppt on vision mission and objectives Ppt on natural numbers math Ppt on viruses and bacteria differences Ppt on eddy current suppression Free ppt on moving coil galvanometer to ammeter Ppt on wastage of time energy and money Ppt on real numbers for class 9th