Tests for One Variance

Similar documents
Tests for Two Variances

PASS Sample Size Software

Tests for Intraclass Correlation

Tests for Two Exponential Means

Non-Inferiority Tests for Two Means in a 2x2 Cross-Over Design using Differences

Confidence Intervals for the Difference Between Two Means with Tolerance Probability

Non-Inferiority Tests for the Ratio of Two Means in a 2x2 Cross-Over Design

Tests for the Difference Between Two Linear Regression Intercepts

Non-Inferiority Tests for the Ratio of Two Means

Tests for Two Means in a Multicenter Randomized Design

Two-Sample T-Tests using Effect Size

Mixed Models Tests for the Slope Difference in a 3-Level Hierarchical Design with Random Slopes (Level-3 Randomization)

Tests for Paired Means using Effect Size

Tests for Two ROC Curves

Tests for Two Means in a Cluster-Randomized Design

Equivalence Tests for Two Correlated Proportions

Superiority by a Margin Tests for the Ratio of Two Proportions

Confidence Intervals for Paired Means with Tolerance Probability

Tests for the Difference Between Two Poisson Rates in a Cluster-Randomized Design

Equivalence Tests for the Difference of Two Proportions in a Cluster- Randomized Design

Non-Inferiority Tests for the Ratio of Two Proportions

Two-Sample Z-Tests Assuming Equal Variance

Non-Inferiority Tests for the Odds Ratio of Two Proportions

Conover Test of Variances (Simulation)

Mendelian Randomization with a Binary Outcome

Group-Sequential Tests for Two Proportions

Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X

Confidence Intervals for an Exponential Lifetime Percentile

Equivalence Tests for the Ratio of Two Means in a Higher- Order Cross-Over Design

Mendelian Randomization with a Continuous Outcome

Equivalence Tests for the Odds Ratio of Two Proportions

Tests for Two Independent Sensitivities

Confidence Intervals for Pearson s Correlation

Tests for the Matched-Pair Difference of Two Event Rates in a Cluster- Randomized Design

Non-Inferiority Tests for the Difference Between Two Proportions

Equivalence Tests for One Proportion

Tests for Multiple Correlated Proportions (McNemar-Bowker Test of Symmetry)

Conditional Power of One-Sample T-Tests

One-Sample Cure Model Tests

Tolerance Intervals for Any Data (Nonparametric)

Confidence Intervals for One-Sample Specificity

Confidence Intervals for One Variance using Relative Error

Conditional Power of Two Proportions Tests

Confidence Intervals for One Variance with Tolerance Probability

Two-Sample T-Test for Superiority by a Margin

One Proportion Superiority by a Margin Tests

Two-Sample T-Test for Non-Inferiority

Quantitative Introduction ro Risk and Uncertainty in Business Module 5: Hypothesis Testing Examples

Normal Probability Distributions

Analysis of 2x2 Cross-Over Designs using T-Tests for Non-Inferiority

Lecture 8: Single Sample t test

7.1 Comparing Two Population Means: Independent Sampling

Key Objectives. Module 2: The Logic of Statistical Inference. Z-scores. SGSB Workshop: Using Statistical Data to Make Decisions

Gamma Distribution Fitting

Lecture Slides. Elementary Statistics Twelfth Edition. by Mario F. Triola. and the Triola Statistics Series. Section 7.4-1

Point-Biserial and Biserial Correlations

Week 2 Quantitative Analysis of Financial Markets Hypothesis Testing and Confidence Intervals

ECOSOC MS EXCEL LECTURE SERIES DISTRIBUTIONS

Chapter 7. Inferences about Population Variances

CHAPTER 8. Confidence Interval Estimation Point and Interval Estimates

Two Populations Hypothesis Testing

σ 2 : ESTIMATES, CONFIDENCE INTERVALS, AND TESTS Business Statistics

Statistics for Business and Economics

Chapter 8 Statistical Intervals for a Single Sample

. 13. The maximum error (margin of error) of the estimate for μ (based on known σ) is:

Risk Analysis. å To change Benchmark tickers:

Mean GMM. Standard error

STA2601. Tutorial letter 105/2/2018. Applied Statistics II. Semester 2. Department of Statistics STA2601/105/2/2018 TRIAL EXAMINATION PAPER

Hypothesis Tests: One Sample Mean Cal State Northridge Ψ320 Andrew Ainsworth PhD

Diploma Part 2. Quantitative Methods. Examiner s Suggested Answers

Elementary Statistics

Non-Inferiority Tests for the Ratio of Two Correlated Proportions

7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 42

Chapter 7. Confidence Intervals and Sample Sizes. Definition. Definition. Definition. Definition. Confidence Interval : CI. Point Estimate.

Chapter 6 Confidence Intervals

R & R Study. Chapter 254. Introduction. Data Structure

1) 3 points Which of the following is NOT a measure of central tendency? a) Median b) Mode c) Mean d) Range

Experimental Design and Statistics - AGA47A

Exam 2 Spring 2015 Statistics for Applications 4/9/2015

LESSON 7 INTERVAL ESTIMATION SAMIE L.S. LY

The Two-Sample Independent Sample t Test

Tests for Two Correlations

Financial Econometrics Review Session Notes 4

Applied Macro Finance

Chapter 14 : Statistical Inference 1. Note : Here the 4-th and 5-th editions of the text have different chapters, but the material is the same.

χ 2 distributions and confidence intervals for population variance

Chapter 11: Inference for Distributions Inference for Means of a Population 11.2 Comparing Two Means

Econometric Methods for Valuation Analysis

Chapter Seven: Confidence Intervals and Sample Size

Time Observations Time Period, t

2. ANALYTICAL TOOLS. E(X) = P i X i = X (2.1) i=1

FV N = PV (1+ r) N. FV N = PVe rs * N 2011 ELAN GUIDES 3. The Future Value of a Single Cash Flow. The Present Value of a Single Cash Flow

Lecture 39 Section 11.5

Chapter 6 Confidence Intervals Section 6-1 Confidence Intervals for the Mean (Large Samples) Estimating Population Parameters

Assicurazioni Generali: An Option Pricing Case with NAGARCH

Probability & Statistics

Data Analysis. BCF106 Fundamentals of Cost Analysis

Descriptive Statistics in Analysis of Survey Data

NCSS Statistical Software. Reference Intervals

Transcription:

Chapter 65 Introduction Occasionally, researchers are interested in the estimation of the variance (or standard deviation) rather than the mean. This module calculates the sample size and performs power analysis for hypothesis tests concerning a single variance. Technical Details Assuming that a variable X is normally distributed with mean µ and variance σ, the sample variance is distributed as a Chi-square random variable with N - degrees of freedom, where N is the sample size. That is, ( N ) s Χ = is distributed as a Chi-square random variable. The sample statistic, s, is calculated as follows s = N σ ( Xi X ) i= N The power or sample size of a hypothesis test about the variance can be calculated using the appropriate one of the following three formulas from Ostle and Malone (988) page 3. Case : H : σ = σ versus H a : σ σ Case : H : σ = σ versus H a : σ > σ Case 3: H : σ = σ versus H a : σ < σ σ β σ χ χ σ = α < < σ P χ /, N α /, N σ β = χ < χ P α, σ. N σ β = χ > χ α, σ P N 65-

Procedure Options This section describes the options that are specific to this procedure. These are located on the Design tab. For more information about the options of other tabs, go to the Procedure Window chapter. The Design tab contains most of the parameters and options that you will be concerned with. Solve For Solve For This option specifies the parameter to be solved for from the other parameters. Test Alternative Hypothesis This option specifies the alternative hypothesis. This implicitly specifies the direction of the hypothesis test. The null hypothesis is always H :σ = σ. Note that the alternative hypothesis enters into power calculations by specifying the rejection region of the hypothesis test. Its accuracy is critical. Possible selections are: Ha: V V This selection yields a two-tailed test. Use this option when you are testing whether the variances are different but you do not want to specify beforehand which variance is larger. Ha: V > V The options yields a one-tailed test. Use it when you are only interested in the case in which V is less than V. Ha: V < V This option yields a one-tailed test. Use it when you are only interested in the case in which V is greater than V. Known Mean The degrees of freedom of the Chi-square test is N - if the mean is calculated from the data (this is usually the case) or it is N if the mean is known. Check this box if the mean is known. This will cause an increase of the sample size by one. Power and Alpha Power This option specifies one or more values for power. Power is the probability of rejecting a false null hypothesis, and is equal to one minus Beta. Beta is the probability of a type-ii error, which occurs when a false null hypothesis is not rejected. Values must be between zero and one. Historically, the value of.8 (Beta =.) was used for power. Now,.9 (Beta =.) is also commonly used. 65-

A single value may be entered here or a range of values such as.8 to.95 by.5 may be entered. If your only interest is in determining the appropriate sample size for a confidence interval, set power or beta to.5. Alpha This option specifies one or more values for the probability of a type-i error. A type-i error occurs when a true null hypothesis is rejected. Values must be between zero and one. Historically, the value of.5 has been used for alpha. This means that about one test in twenty will falsely reject the null hypothesis. You should pick a value for alpha that represents the risk of a type-i error you are willing to take in your experimental situation. You may enter a range of values such as..5. or. to. by.. Sample Size N (Sample Size) This is the number of observations in the study. Effect Size Scale Specify whether V and V are variances or standard deviations. V (Baseline Variance) Enter one or more value(s) of the baseline variance. This variance will be compared to the alternative variance. It must be greater than zero. Actually, only the ratio of the two variances (or standard deviations) is used, so you can enter a one here and enter the ratio value in the V box. If Scale is Standard Deviation this value is treated as a standard deviation rather than a variance. V (Alternative Variance) Enter one or more value(s) of the alternative variance. This variance will be compared to the baseline variance. It must be greater than zero. Actually, only the ratio of the two variances (or standard deviations) is used, so you can enter a one for V and enter a ratio value here. If Scale is Standard Deviation this value is treated as a standard deviation rather than a variance. 65-3

Example Calculating the Power A machine used to perform a particular analysis is to be replaced with a new type of machine if the new machine reduces the variation in the output. The current machine has been tested repeatedly and found to have an output variance of 4.5. The new machine will be cost effective if it can reduce the variance by 3% to 9.75. If the significance level is set to.5, calculate the power for sample sizes of, 5, 9, 3, 7,, and 5. Setup This section presents the values of each of the parameters needed to run this example. First, from the PASS Home window, load the procedure window by expanding Variances, then clicking on One Variance, and then clicking on. You may then make the appropriate entries as listed below, or open Example by going to the File menu and choosing Open Example Template. Option Value Solve For... Power Alternative Hypothesis... Ha: V > V Known Mean... Not checked Alpha....5 N (Sample Size)... 5 9 3 7 5 Scale... Variance V (Baseline Variance)... 4.5 V (Alternative Variance)... 9.75 Annotated Output Click the Calculate button to perform the calculations and generate the following output. Numeric Results Numeric Results when H: V = V versus Ha: V > V Power N V V Alpha Beta.4448 4.5 9.75.5.8555.5556 5 4.5 9.75.5.49444.74775 9 4.5 9.75.5.55.8874 3 4.5 9.75.5.86.94785 7 4.5 9.75.5.55.9786 4.5 9.75.5.94.99 5 4.5 9.75.5.889 Report Definitions Power is the probability of rejecting a false null hypothesis. It should be close to one. N is the size of the sample drawn from the population. V is the value of the population variance under the null hypothesis. V is the value of the population variance under the alternative hypothesis. Alpha is the probability of rejecting a true null hypothesis. It should be small. Beta is the probability of accepting a false null hypothesis. It should be small. Summary Statements A sample size of achieves 4% power to detect a difference of.75 between the null hypothesis variance of 4.5 and the alternative hypothesis variance of 9.75 using a one-sided, Chi-square hypothesis test with a significance level (alpha) of.5. This report shows the calculated power for each scenario. 65-4

Plots Section This plot shows the power versus the sample size. We see that a sample size of about 5 is necessary to achieve a power of.9. Example Calculating Sample Size Continuing with the previous example, the analyst wants to find the necessary sample sizes to achieve a power of.9, for two significance levels,. and.5, and for several variance values. To make interpreting the output easier, the analyst decides to switch from the absolute scale to a ratio scale. To accomplish this, the baseline variance is set at. and the alternative variances of.,.3,.4,.5,.6, and.7 are tried. Setup This section presents the values of each of the parameters needed to run this example. First, from the PASS Home window, load the procedure window by expanding Variances, then clicking on One Variance, and then clicking on. You may then make the appropriate entries as listed below, or open Example by going to the File menu and choosing Open Example Template. Option Value Solve For... Sample Size Alternative Hypothesis... Ha: V > V Known Mean... Not checked Power....9 Alpha.....5 Scale... Variance V (Baseline Variance).... V (Alternative Variance).... to.7 by. 65-5

Output Click the Calculate button to perform the calculations and generate the following output. Numeric Results Numeric Results when H: V = V versus Ha: V > V Power N V V Alpha Beta.9734 4....866.99 9...5.998.99..3..999.9935 5..3.5.865.9368 36..4..963.967 3..4.5.9933.963 6..5..9837.943 39..5.5.9577.96 7..6..9874.978 69..6.5.99.96 4..7..994.97 39..7.5.9883 This report shows the necessary sample size for each scenario. Plots Section 65-6

These plots show the necessary sample size for various values of V. Note that as V gets farther from zero, the required sample size increases. 65-7

Example 3 Validation using Zar Zar (984) page 7 presents an example with V =.5, V =.6898, N = 4, Alpha =.5, and Power =.84. Setup This section presents the values of each of the parameters needed to run this example. First, from the PASS Home window, load the procedure window by expanding Variances, then clicking on One Variance, and then clicking on. You may then make the appropriate entries as listed below, or open Example 3 by going to the File menu and choosing Open Example Template. Option Value Solve For... Power Alternative Hypothesis... Ha: V < V Known Mean... Not checked Alpha....5 N (Sample Size)... 4 Scale... Variance V (Baseline Variance)....5 V (Alternative Variance)....6898 Output Click the Calculate button to perform the calculations and generate the following output. Numeric Results Numeric Results when H: V = V versus Ha: V < V Power N V V Alpha Beta.8357 4.5.6898.5.6483 PASS calculated the power at.83567 which matches Zar s result of.84 within rounding. 65-8

Example 4 Validation using Davies Davies (97) page 4 presents an example of determining N when (in the standard deviation scale) V =.4, V =., Alpha =.5, and Power =.99. Davies calculates N to be 3. Setup This section presents the values of each of the parameters needed to run this example. First, from the PASS Home window, load the procedure window by expanding Variances, then clicking on One Variance, and then clicking on. You may then make the appropriate entries as listed below, or open Example 4 by going to the File menu and choosing Open Example Template. Option Value Solve For... Sample Size Alternative Hypothesis... Ha: V < V Known Mean... Not checked Power....99 Alpha....5 Scale... Standard Deviation V (Baseline Variance)....4 V (Alternative Variance).... Output Click the Calculate button to perform the calculations and generate the following output. Numeric Results Numeric Results when H: S = S versus Ha: S < S Power N S S Alpha Beta.9938 3.4..5.76 PASS calculated an N of 3 which matches Davies result. 65-9