Nonparametric Methods III. Henry Horng-Shing Lu Institute of Statistics National Chiao Tung University hslu@stat.nctu.edu.tw http://tigpbp.iis.sinica.edu.tw/courses.htm. PART 4: Bootstrap and Permutation Tests. Introduction References Bootstrap Tests Permutation Tests Cross-validation
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
F I N
Plus de contenu associé
Transcription de la présentation
Nonparametric Methods III Henry Horng-Shing Lu Institute of Statistics National Chiao Tung University hslu@stat.nctu.edu.tw http://tigpbp.iis.sinica.edu.tw/courses.htm
References • Efron, B.; Tibshirani, R. (1993). An Introduction to the Bootstrap. Chapman & Hall/CRC. • http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-bootstrapping.pdf • http://cran.r-project.org/bin/macosx/2.1/check/bootstrap-check.ex • http://bcs.whfreeman.com/ips5e/content/cat_080/pdf/moore14.pdf
Hypothesis Testing (1) • A statistical hypothesis test is a method of making statistical decisions from and about experimental data. • Null-hypothesis testing just answers the question of “how well the findings fit the possibility that chance factors alone might be responsible.” • This is done by asking and answering a hypothetical question. • http://en.wikipedia.org/wiki/Statistical_hypothesis_testing
Hypothesis Testing (2) • Hypothesis testing is largely the product of Ronald Fisher, Jerzy Neyman, Karl Pearson and (son) Egon Pearson. Fisher was an agricultural statistician who emphasized rigorous experimental design and methods to extract a result from few samples assuming Gaussian distributions.
Hypothesis Testing (3) Neyman (who teamed with the younger Pearson) emphasized mathematical rigor and methods to obtain more results from many samples and a wider range of distributions. Modern hypothesis testing is an (extended) hybrid of the Fisher vs. Neyman/Pearson formulation, methods and terminology developed in the early 20th century.
Confidence Intervals vs. Hypothesis Testing (1) • Interval estimation ("Confidence Intervals") and point estimation ("Hypothesis Testing") are two different ways of expressing the same information. • http://www.une.edu.au/WebStat/unit_materials/c5_inferential_statistics/confidence_interv_hypo.html
Confidence Intervals vs. Hypothesis Testing (2) • If the exact p-value is reported, then the relationship between confidence intervals and hypothesis testing is very close. However, the objective of the two methods is different: • Hypothesis testing relates to a single conclusion of statistical significance vs. no statistical significance. • Confidence intervals provide a range of plausible values for your population.
Confidence Intervals vs. Hypothesis Testing (3) • Which one? • Use hypothesis testing when you want to do a strict comparison with a pre-specified hypothesis and significance level. • Use confidence intervals to describe the magnitude of an effect (e.g., mean difference, odds ratio, etc.) or when you want to describe a single sample. • http://www.nedarc.org/nedarc/analyzingData/advancedStatistics/convidenceVsHypothesis.html
Achieved Significance Level (ASL) • Definition: A hypothesis test is a way of deciding whether or not the data decisively reject the hypothesis . The archived significance level of the test (ASL) is defined as: . The smaller ASL, the stronger is the evidence of false. The ASL is an estimate of the p-value by permutation and bootstrap methods. • https://www.cs.tcd.ie/Rozenn.Dahyot/453Bootstrap/05_Permutation.pdf
Bootstrap Tests • Beran (1988) showed that bootstrap inference is refined when the quantity bootstrapped is asymptotically pivotal. • It is often used as a robust alternative to inference based on parametric assumptions. • http://socserv.mcmaster.ca/jfox/Books/Companion/appendix-bootstrapping.pdf
Hypothesis Testing by a Pivot (1) • Pivot or pivotal quantity: a function of observations whose distribution does not depend on unknown parameters. • http://en.wikipedia.org/wiki/Pivotal_quantity • Examples: • A pivot: when and is known
One Sample Bootstrap Tests • T statistics can be regarded as a pivot or an asymptotic pivotal when the data are normally distributed. • Bootstrap T tests can be applied when the data are not normally distributed.
Bootstrap Tests by The “Bca” • The BCa percentile method is an efficient method to generate bootstrap confidence intervals. • There is a correspondence between confidence intervals and hypothesis testing. • So, we can use the BCa percentile method to test whether H0 is true. • Example: use BCa to calculate p-value
BCa Confidence Intervals: • Use R package “boot.ci(boot)” • Use R package “bcanon(bootstrap)” • http://qualopt.eivd.ch/stats/?page=bootstrap • http://www.stata.com/capabilities/boot.html
Permutation • In several fields of mathematics, the term permutation is used with different but closely related meanings. They all relate to the notion of (re-)arranging elements from a given finite set into a sequence. • http://en.wikipedia.org/wiki/Permutation
Permutation Tests (1) • Permutation test is also called a randomization test, re-randomization test, or an exact test. • If the labels are exchangeable under the null hypothesis, then the resulting tests yield exact significance levels.
Permutation Tests (2) • Confidence intervals can then be derived from the tests. • The theory has evolved from the works of R.A. Fisher and E.J.G. Pitman in the 1930s. • http://en.wikipedia.org/wiki/Pitman_permutation_test
Applications of Permutation Tests (1) • We can use a permutation test only when we can see how to resample in a way that is consistent with the study design and with the null hypothesis. • http://bcs.whfreeman.com/ips5e/content/cat_080/pdf/moore14.pdf
Applications of Permutation Tests (2) • Two-sample problems when the null hypothesis says that the two populations are identical. We may wish to compare population means, proportions, standard deviations, or other statistics. • Matched pairs designs when the null hypothesis says that there are only random differences within pairs. A variety of comparisons is again possible. • Relationships between two quantitative variables when the null hypothesis says that the variables are not related. The correlation is the most common measure of association, but not the only one.
Inference by Permutation Tests (1) • A traditional way is to consider some hypotheses: and , and the null hypothesis becomes . Under , the statistic can be modeled as a normal distribution with mean 0 and variance . • https://www.cs.tcd.ie/Rozenn.Dahyot/453Bootstrap/05_Permutation.pdf
Inference by Permutation Tests (2) • The ASL is then computed by when is unknown and has to be estimated from the data by We will reject if .
Bootstrap Tests vs. Permutation Tests • Very similar results between the permutation test and the bootstrap test. • is the exact probability when . • is not an exact probability but is guaranteed to be accurate as an estimate of the ASL, as the sample size B goes to infinity. • https://www.cs.tcd.ie/Rozenn.Dahyot/453Bootstrap/05_Permutation.pdf
Cross-validation • Cross-validation, sometimes called rotation estimation, is the statistical practice of partitioning a sample of data into subsets such that the analysis is initially performed on a single subset, while the other subset(s) are retained for subsequent use in confirming and validating the initial analysis. • The initial subset of data is called the training set. • The other subset(s) are called validation or testing sets. • http://en.wikipedia.org/wiki/Cross-validation
Overfitting Problems (1) • In statistics, overfitting is fitting a statistical model that has too many parameters. • When the degrees of freedom in parameter selection exceed the information content of the data, this leads to arbitrariness in the final (fitted) model parameters which reduces or destroys the ability of the model to generalize beyond the fitting data.
Connexion au compte
Connectez-vous pour publier votre contenu sur SlideServe.