Package severity. February 20, 2015

Similar documents
Package BayesNI. February 19, 2015

Package EnergyOnlineCPM

Package rgabriel. February 20, 2015

Package MultisiteMediation

Package covtest. R topics documented:

Package comparec. R topics documented: February 19, Type Package

Package dhsic. R topics documented: July 27, 2017

Package ssanv. June 23, 2015

Package RI2by2. October 21, 2016

Package locfdr. July 15, Index 5

Package ForecastCombinations

Package unbalhaar. February 20, 2015

Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy

Package BNN. February 2, 2018

Package survidinri. February 20, 2015

Package ltsbase. R topics documented: February 20, 2015

Package darts. February 19, 2015

Package flexcwm. R topics documented: July 11, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.0.

Package LIStest. February 19, 2015

Package spatial.gev.bma

Package CPE. R topics documented: February 19, 2015

Package NORMT3. February 19, 2015

Package leiv. R topics documented: February 20, Version Type Package

Package flexcwm. R topics documented: July 2, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.1.

Package generalhoslem

Partitioning the Parameter Space. Topic 18 Composite Hypotheses

Package gtheory. October 30, 2016

Package EL. February 19, 2015

Package ShrinkCovMat

Package SimSCRPiecewise

Package ChIPtest. July 20, 2016

Package invgamma. May 7, 2017

Package ForwardSearch

Package pfa. July 4, 2016

Package My.stepwise. June 29, 2017

Package gma. September 19, 2017

Package noncompliance

Package aspi. R topics documented: September 20, 2016

Package lomb. February 20, 2015

Package DTK. February 15, Type Package

Package HIMA. November 8, 2017

Package metafuse. October 17, 2016

Package clogitboost. R topics documented: December 21, 2015

Package metansue. July 11, 2018

Package WaveletArima

Package pearson7. June 22, 2016

The ssanv Package. February 14, 2006

Package goftest. R topics documented: April 3, Type Package

Package CovSel. September 25, 2013

Package sindyr. September 10, 2018

Package CopulaRegression

A REVERSE TO THE JEFFREYS LINDLEY PARADOX

ERROR STATISTICS. Deborah G. Mayo and Aris Spanos 1 WHAT IS ERROR STATISTICS?

Package bivariate. December 10, 2018

Package CompQuadForm

Package horseshoe. November 8, 2016

Package dhga. September 6, 2016

Package zic. August 22, 2017

Package covsep. May 6, 2018

Hypothesis testing (cont d)

Package EMVS. April 24, 2018

Package mixture. R topics documented: February 13, 2018

Package factorqr. R topics documented: February 19, 2015

Package threg. August 10, 2015

Package TSF. July 15, 2017

Package ebal. R topics documented: February 19, Type Package

Package testassay. November 29, 2016

Package mmm. R topics documented: February 20, Type Package

Package ProDenICA. February 19, 2015

Package mpmcorrelogram

Package RZigZag. April 30, 2018

Package netcoh. May 2, 2016

Package sscor. January 28, 2016

Package Blendstat. February 21, 2018

Package depth.plot. December 20, 2015

Package gwqs. R topics documented: May 7, Type Package. Title Generalized Weighted Quantile Sum Regression. Version 1.1.0

Package MiRKATS. May 30, 2016

Package alabama. March 6, 2015

Package homtest. February 20, 2015

Package CMC. R topics documented: February 19, 2015

Package peacots. November 13, 2016

Package BootWPTOS. R topics documented: June 30, Type Package

Package beam. May 3, 2018

Package scio. February 20, 2015

Probability and Statistics

Package threeboost. February 20, 2015

Package spcov. R topics documented: February 20, 2015

Package mlmmm. February 20, 2015

Package sbgcop. May 29, 2018

Package babar. R topics documented: February 24, Type Package

HYPOTHESIS TESTING: THE CHI-SQUARE STATISTIC

Package crossreg. February 19, 2015

Parameter Estimation, Sampling Distributions & Hypothesis Testing

Package QuantifQuantile

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Package jmcm. November 25, 2017

Package ICGOR. January 13, 2017

Package gk. R topics documented: February 4, Type Package Title g-and-k and g-and-h Distribution Functions Version 0.5.

Package symmoments. R topics documented: February 20, Type Package

Package penmsm. R topics documented: February 20, Type Package

Transcription:

Type Package Title Mayo's Post-data Severity Evaluation Version 2.0 Date 2013-03-27 Author Nicole Mee-Hyaang Jinn Package severity February 20, 2015 Maintainer Nicole Mee-Hyaang Jinn <nicole.jinn@gmail.com> Depends graphics Description This package contains functions for calculating severity and generating severity curves. Specifically, the simple case of the one-parameter Normal distribution (i.e., with known variance) is considered. License GPL (>= 2) NeedsCompilation no Repository CRAN Date/Publication 2013-03-27 18:16:27 R topics documented: severity-package...................................... 1 severity........................................... 3 Index 6 severity-package Mayo s Post-data Severity Evaluation Description Details This package contains functions for calculating severity and generating severity curves. Specifically, the simple case of the one-parameter Normal distribution (i.e., with known variance) is considered. 1

2 severity-package Package: severity Type: Package Version: 2.0 Date: 2013-03-27 License: GPL (>= 2) There is one function in this package, which is called severity: it (1) computes severity at various discrepancies (from the null hypothesis) for the hypothesis test H 0 : µ = µ 0 vs H 1 : µ > µ 0, where µ 0 is the hypothesized value; and (2) plots both the severity curve(s) and the power curve on a single plot. *** The difference between this version and previous versions is that one more input is added for additional flexibility: the user is now able to control the hypothesized value of the (unknown) parameter µ. *** Author(s) Nicole Mee-Hyaang Jinn Maintainer: Nicole Mee-Hyaang Jinn <nicole.jinn@gmail.com> References Mayo, Deborah G. 2012. Statistical Science Meets Philosophy of Science Part 2: Shallow Versus Deep Explorations. Rationality, Markets and Morals: Studies at the Intersection of Philosophy and Economics 3 (Special Topic: Statistical Science and Philosophy of Science) (September 26): 71-107. http://www.rmm-journal.com/downloads/article_mayo2.pdf. Mayo, Deborah G., and David R. Cox. 2010. Frequentist Statistics as a Theory of Inductive Inference. In Error and Inference: Recent Exchanges on Experimental Reasoning, Reliability, and the Objectivity and Rationality of Science, edited by Deborah G. Mayo and Aris Spanos, 247-274. Cambridge: Cambridge University Press. Mayo, Deborah G., and Aris Spanos. 2006. Severe Testing as a Basic Concept in a Neyman- Pearson Philosophy of Induction. The British Journal for the Philosophy of Science 57 (2) (June 1): 323-357. doi:10.2307/3873470. http://www.jstor.org/stable/3873470. Mayo, Deborah G., and Aris Spanos. 2011. Error Statistics. In Philosophy of Statistics, edited by Prasanta S. Bandyopadhyay and Malcom R. Forster, 7:153-198. Elsevier. Examples library(severity) mu0 <- 5 sigma <- 2

severity 3 n <- 100 alpha <- 0.025 xbar <- c(5.39, 5.30, 5.10, 5.40, 5.60, 5.85) (sev <- severity(mu0 = mu0, xbar = xbar, sigma = sigma, n = n, alpha = alpha)) severity Mayo s Post-data Severity Evaluation Description Usage Computes severity at various discrepancies (from the null hypothesis) for the hypothesis test H 0 : µ = µ 0 vs H 1 : µ > µ 0, where µ 0 is the hypothesized value. Also plots both the severity curve(s) and the power curve on a single plot. severity(mu0, xbar, sigma, n, alpha) Arguments mu0 xbar sigma n alpha the hypothesized value µ 0, an integer strictly greater than zero. a non-empty numeric vector containing up to 6 elements. Each element represents a sample mean x, a real number in the closed interval [µ 0, µ 0 + 1]. That is, each sample mean describes a different set of outcomes x 0 under consideration. standard deviation σ, a scalar strictly greater than zero, which is assumed to be known in this case. sample size n, an integer strictly greater than zero. pre-data significance level α, a real number in the open interval (0, 1): the significance level determines the rejection region for the hypothesis test. Details Given mu0 and xbar (see the Arguments section), as well as other inputs, this function separates the elements of xbar into two categories: one for rejecting the null hypothesis (i.e., H 0 : µ = µ 0 ); the other for accepting the null hypothesis. In other words, all the inferences that lead to acceptance of H 0 are grouped together, as are the inferences that lead to rejection of H 0. However, if there are more than 3 elements of xbar that belong to any of the two categories then only the first 3 elements are considered in each category. In addition, the null hypothesis and the alternative hypothesis both follow the Normal (or Gaussian) distribution in this case. *** The difference between this version and previous versions is that one more input is added for additional flexibility: the user is now able to control the hypothesized value of the unknown parameter µ. ***

4 severity This function also contributes as an introduction to the severity concept, for which the general inferential rationale is the following: Severity rationale: Error probabilities may be used to make inferences about the process giving rise to data, by enabling the assessment of how well probed or how severely tested claims are, with data x 0. (Mayo & Spanos 2006) Note: Although the degree of severity with which a hypothesis H has passed a test is used to determine if it is warranted to infer H, the degree of severity is not assigned to H itself: it is an attribute of the test procedure as a whole, including the inference under consideration (Mayo & Spanos 2006). Value An object of class list, a list including the following elements: accept a numeric binary vector, where each element takes one of two values (i.e., 0 or 1): 1 if the null hypothesis is accepted; 0 if the null hypothesis is rejected. p a numeric vector, with each element being the p-value corresponding to the appropriate element in xbar (see the Arguments section). severity_accepth0 a numeric matrix, with each column containing severity calculations for each discrepancy in the vector discrepancy. These severity calculations apply to the elements in xbar that indicate accepting H 0. severity_rejecth0 a numeric matrix, with each column containing severity calculations for each discrepancy in the vector discrepancy. These severity calculations apply to the elements in xbar that indicate rejecting H 0. power a numeric vector comprising the power function corresponding to each discrepancy in the vector discrepancy. discrepancy a numeric vector of discrepancies from µ 0. Author(s) Nicole Mee-Hyaang Jinn References Mayo, Deborah G. 2012. Statistical Science Meets Philosophy of Science Part 2: Shallow Versus Deep Explorations. Rationality, Markets and Morals: Studies at the Intersection of Philosophy and Economics 3 (Special Topic: Statistical Science and Philosophy of Science) (September 26): 71-107. http://www.rmm-journal.com/downloads/article_mayo2.pdf. Mayo, Deborah G., and David R. Cox. 2010. Frequentist Statistics as a Theory of Inductive Inference. In Error and Inference: Recent Exchanges on Experimental Reasoning, Reliability, and the Objectivity and Rationality of Science, edited by Deborah G. Mayo and Aris Spanos, 247-274. Cambridge: Cambridge University Press.

severity 5 Mayo, Deborah G., and Aris Spanos. 2006. Severe Testing as a Basic Concept in a Neyman- Pearson Philosophy of Induction. The British Journal for the Philosophy of Science 57 (2) (June 1): 323-357. doi:10.2307/3873470. http://www.jstor.org/stable/3873470. Mayo, Deborah G., and Aris Spanos. 2011. Error Statistics. In Philosophy of Statistics, edited by Prasanta S. Bandyopadhyay and Malcom R. Forster, 7:153-198. Elsevier. Examples library(severity) mu0 <- 5 sigma <- 2 n <- 100 alpha <- 0.025 xbar <- c(5.39, 5.30, 5.10, 5.40, 5.60, 5.85) (sev <- severity(mu0 = mu0, xbar = xbar, sigma = sigma, n = n, alpha = alpha))

Index Topic htest severity, 3 severity-package, 1 Topic package severity-package, 1 severity, 3 severity-package, 1 6