Tests for Two Exponential Means

Similar documents
Tests for Two Variances

Tests for One Variance

Non-Inferiority Tests for the Ratio of Two Means

Tests for Intraclass Correlation

PASS Sample Size Software

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

Tests for the Difference Between Two Linear Regression Intercepts

Group-Sequential Tests for Two Proportions

Tests for Two Means in a Multicenter Randomized Design

Tests for Two ROC Curves

Confidence Intervals for the Difference Between Two Means with Tolerance Probability

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

Two-Sample T-Tests using Effect Size

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

Non-Inferiority Tests for the Odds Ratio of Two Proportions

Confidence Intervals for an Exponential Lifetime Percentile

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

Superiority by a Margin Tests for the Ratio of Two Proportions

Non-Inferiority Tests for the Ratio of Two Proportions

One-Sample Cure Model Tests

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

Tests for Two Means in a Cluster-Randomized Design

Tests for Paired Means using Effect Size

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

Two-Sample Z-Tests Assuming Equal Variance

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

Equivalence Tests for Two Correlated Proportions

Mendelian Randomization with a Binary Outcome

Tests for Two Independent Sensitivities

Equivalence Tests for the Odds Ratio of Two Proportions

Conover Test of Variances (Simulation)

Mendelian Randomization with a Continuous Outcome

Equivalence Tests for One Proportion

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

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

Non-Inferiority Tests for the Difference Between Two Proportions

Conditional Power of One-Sample T-Tests

Conditional Power of Two Proportions Tests

Confidence Intervals for Pearson s Correlation

Tolerance Intervals for Any Data (Nonparametric)

Confidence Intervals for Paired Means with Tolerance Probability

Gamma Distribution Fitting

One Proportion Superiority by a Margin Tests

Confidence Intervals for One-Sample Specificity

Two-Sample T-Test for Superiority by a Margin

Two-Sample T-Test for Non-Inferiority

Risk Analysis. å To change Benchmark tickers:

Tests for Two Correlations

Point-Biserial and Biserial Correlations

Data Simulator. Chapter 920. Introduction

Non-Inferiority Tests for the Ratio of Two Correlated Proportions

Confidence Intervals for One Variance using Relative Error

PASS Sample Size Software. :log

Deposit Slips - Australia

BSBADM308A Process Payroll Topic notes. Superannuation categories - used to calculate an employee s superannuation.

NCSS Statistical Software. Reference Intervals

REGIONAL WORKSHOP ON TRAFFIC FORECASTING AND ECONOMIC PLANNING

Advisor Proposal Generator. Getting Started

PayBiz Direct Debits

ELEMENTS OF MONTE CARLO SIMULATION

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

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

M249 Diagnostic Quiz

1. NEW Sector Trading Application to emulate and improve upon Modern Portfolio Theory.

Econ 8602, Fall 2017 Homework 2

1. You are given the following information about a stationary AR(2) model:

New Share Class fee basis and Charging Data points

Confidence Intervals for One Variance with Tolerance Probability

Interest Calculation Add-on Supernova Add-on for SAP Business One

Sage 50 US Edition Payroll year-end checklist

PROFITstar November PROFITstar Budget Manager Reference Guide. Hosted Version

NAVIPLAN PREMIUM LEARNING GUIDE. Business entities

Accounting with MYOB Accounting Plus v18. Chapter Four Accounts Payable

About Year End Processes

MYOB EXO Employer Services

University of Delaware UD Financials v9.1 PeopleSoft Grants/Proposals

LAB 2 INSTRUCTIONS PROBABILITY DISTRIBUTIONS IN EXCEL

Morningstar Hypothetical Illustrator SM Quick Start Guide

HOW TO GUIDE. The FINANCE module

RMO Valuation Model. User Guide

PI Reports by Month Range Manual Office of Sponsored Programs Training

SFSU FIN822 Project 1

Oracle Financial Services Market Risk User Guide

Jacob: The illustrative worksheet shows the values of the simulation parameters in the upper left section (Cells D5:F10). Is this for documentation?

Wyoming Internet Filing System (WYIFS) Sales and Use Tax Module. User Manual. Section 3 New License

Deduction Codes Configure Company

Gatekeeper Module Gatekeeper Version 3.5 June

10. Estimate the MIRR for the project described in Problem 8. Does it change your decision on accepting this project?

ECN Manager User Manual. ECN Manager User Manual

1. Asset Maintenance

SESAM Web user guide

ShelbyNext Financials: General Ledger Budgeting

Question No : 2 You have confirmed an automatic receipt in error. What is the correct method to rectify the error?

Open QuickBooks Open the Item List. 1. Navigate to the Sales Tax Items 2. Right-Click anywhere in Item List 3. Click New

Portfolio Manager. Chapter VI. In this Chapter

Morningstar Adviser Workstation. Release New Features Guide

5.- RISK ANALYSIS. Business Plan

Accounting with MYOB v18. Chapter Five Accounts Receivable

PayBiz Sick Pay Type

guide to the online contribution tool

Transcription:

Chapter 435 Tests for Two Exponential Means Introduction This program module designs studies for testing hypotheses about the means of two exponential distributions. Such a test is used when you want to make a comparison between two groups that both follow the exponential distribution. The responses from the samples are assumed to be continuous, positive numbers such as lifetime. We adopt the basic methodology outlined in the books by Bain and Engelhardt (1991) and Desu and Raghavarao (1990). Technical Details The test procedure described here makes the assumption that lifetimes in each group follow an exponential distribution. The densities of the two exponential distributions are written as 1 t fi( t) = exp, i = 1, θ θ i The parameters θ i are interpreted as the average failure times, the mean time to failure (MTTF), or the mean time between failures (MTBF) of the two groups. The reliability, or the probability that a unit continues running beyond time t, is R ( t) = e θ i i i t Hypothesis Test The relevant statistical hypothesis is H 0 : θ 1 / θ = 1 versus one of the following alternatives: H A : θ1 / θ = ρ > 1, H A : θ1 / θ = ρ < 1, or H A : θ1 / θ = ρ 1. The test procedure is to reject the null hypothesis H 0 if the ratio of the observed mean lifetimes ρ = θ / 1 θ is too large or too small. The samples of size n i are assumed to be drawn without replacement. The experiment is run until all items fail. If the experiment is curtailed before all n1 + n items fail, the sample size results are based on the number of failures r + r, not the total number of samples n + n. 1 The mean lifetimes are estimated as follows 1 tij over j = r, i = 1, θ i i 435-1

where t ij is the time that the jth item in the ith group is tested, whether measured until failure or until the study is completed. Power and sample size calculations are based on the fact that the estimated lifetime ratio is proportional to the F distribution. That is, θ1 ~ θ1 F 1, θ θ r r which, under the null hypothesis of equality, becomes θ1 ~, θ Note that only the actual numbers of failures are used in these distributions. Hence, we assume that the experiment is run until all items fail so that ri = ni. That is, the sample sizes are the number of failures, not the number of items. Enough units must be sampled to ensure that the stated number of failures occur. F r r 1 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. Design Tab 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. Under most situations, you will select either Power or Sample Size. Select Sample Size when you want to calculate the sample size needed to achieve a given power and alpha level. Select Power when you want to calculate the power of an experiment. Test Alternative Hypothesis Specify the alternative hypothesis of the test. Since the null hypothesis is equality (a difference between theta1 and theta of zero), the alternative is all that needs to be specified. Note that the alternative hypothesis should match the values of Theta1 and Theta. That is, if you select Ha: Theta1 > Theta, then the value of Theta1 should be greater than the value of Theta. 435-

Power and Alpha Power = 1 Beta (Beta is Consumer s Risk) 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 (consumer s risk) is the probability of a type-ii error, which occurs when a false null hypothesis is not rejected. In this procedure, a type-ii error occurs when you fail to reject the null hypothesis of equal thetas when in fact they are different. Values must be between zero and one. Historically, the value of 0.80 (Beta = 0.0) was used for power. Now, 0.90 (Beta = 0.10) is also commonly used. A single value may be entered here or a range of values such as 0.8 to 0.95 by 0.05 may be entered. 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. In this procedure, a type-i error occurs when you reject the null hypothesis of equal thetas when in fact they are equal. Values must be between zero and one. Historically, the value of 0.05 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 0.01 0.05 0.10 or 0.01 to 0.10 by 0.01. Sample Size (When Solving for Sample Size) Group Allocation Select the option that describes the constraints on N1 or N or both. The options are Equal (N1 = N) This selection is used when you wish to have equal sample sizes in each group. Since you are solving for both sample sizes at once, no additional sample size parameters need to be entered. Enter N1, solve for N Select this option when you wish to fix N1 at some value (or values), and then solve only for N. Please note that for some values of N1, there may not be a value of N that is large enough to obtain the desired power. Enter N, solve for N1 Select this option when you wish to fix N at some value (or values), and then solve only for N1. Please note that for some values of N, there may not be a value of N1 that is large enough to obtain the desired power. Enter R = N/N1, solve for N1 and N For this choice, you set a value for the ratio of N to N1, and then PASS determines the needed N1 and N, with this ratio, to obtain the desired power. An equivalent representation of the ratio, R, is N = R * N1. Enter percentage in Group 1, solve for N1 and N For this choice, you set a value for the percentage of the total sample size that is in Group 1, and then PASS determines the needed N1 and N with this percentage to obtain the desired power. 435-3

N1 (Sample Size, Group 1) This option is displayed if Group Allocation = Enter N1, solve for N N1 is the number of items or individuals sampled from the Group 1 population. N1 must be. You can enter a single value or a series of values. N (Sample Size, Group ) This option is displayed if Group Allocation = Enter N, solve for N1 N is the number of items or individuals sampled from the Group population. N must be. You can enter a single value or a series of values. R (Group Sample Size Ratio) This option is displayed only if Group Allocation = Enter R = N/N1, solve for N1 and N. R is the ratio of N to N1. That is, R = N / N1. Use this value to fix the ratio of N to N1 while solving for N1 and N. Only sample size combinations with this ratio are considered. N is related to N1 by the formula: where the value [Y] is the next integer Y. N = [R N1], For example, setting R =.0 results in a Group sample size that is double the sample size in Group 1 (e.g., N1 = 10 and N = 0, or N1 = 50 and N = 100). R must be greater than 0. If R < 1, then N will be less than N1; if R > 1, then N will be greater than N1. You can enter a single or a series of values. Percent in Group 1 This option is displayed only if Group Allocation = Enter percentage in Group 1, solve for N1 and N. Use this value to fix the percentage of the total sample size allocated to Group 1 while solving for N1 and N. Only sample size combinations with this Group 1 percentage are considered. Small variations from the specified percentage may occur due to the discrete nature of sample sizes. The Percent in Group 1 must be greater than 0 and less than 100. You can enter a single or a series of values. Sample Size (When Not Solving for Sample Size) Group Allocation Select the option that describes how individuals in the study will be allocated to Group 1 and to Group. The options are Equal (N1 = N) This selection is used when you wish to have equal sample sizes in each group. A single per group sample size will be entered. Enter N1 and N individually This choice permits you to enter different values for N1 and N. 435-4

Enter N1 and R, where N = R * N1 Choose this option to specify a value (or values) for N1, and obtain N as a ratio (multiple) of N1. Enter total sample size and percentage in Group 1 Choose this option to specify a value (or values) for the total sample size (N), obtain N1 as a percentage of N, and then N as N - N1. Sample Size Per Group This option is displayed only if Group Allocation = Equal (N1 = N). The Sample Size Per Group is the number of items or individuals sampled from each of the Group 1 and Group populations. Since the sample sizes are the same in each group, this value is the value for N1, and also the value for N. The Sample Size Per Group must be. You can enter a single value or a series of values. N1 (Sample Size, Group 1) This option is displayed if Group Allocation = Enter N1 and N individually or Enter N1 and R, where N = R * N1. N1 is the number of items or individuals sampled from the Group 1 population. N1 must be. You can enter a single value or a series of values. N (Sample Size, Group ) This option is displayed only if Group Allocation = Enter N1 and N individually. N is the number of items or individuals sampled from the Group population. N must be. You can enter a single value or a series of values. R (Group Sample Size Ratio) This option is displayed only if Group Allocation = Enter N1 and R, where N = R * N1. R is the ratio of N to N1. That is, R = N/N1 Use this value to obtain N as a multiple (or proportion) of N1. N is calculated from N1 using the formula: where the value [Y] is the next integer Y. N=[R x N1], For example, setting R =.0 results in a Group sample size that is double the sample size in Group 1. R must be greater than 0. If R < 1, then N will be less than N1; if R > 1, then N will be greater than N1. You can enter a single value or a series of values. Total Sample Size (N) This option is displayed only if Group Allocation = Enter total sample size and percentage in Group 1. This is the total sample size, or the sum of the two group sample sizes. This value, along with the percentage of the total sample size in Group 1, implicitly defines N1 and N. The total sample size must be greater than one, but practically, must be greater than 3, since each group sample size needs to be at least. You can enter a single value or a series of values. 435-5

Percent in Group 1 This option is displayed only if Group Allocation = Enter total sample size and percentage in Group 1. This value fixes the percentage of the total sample size allocated to Group 1. Small variations from the specified percentage may occur due to the discrete nature of sample sizes. The Percent in Group 1 must be greater than 0 and less than 100. You can enter a single value or a series of values. Effect Size Theta1 (Group 1 Mean Life) Enter one or more values for the mean life of group 1 under the alternative hypothesis. This value is usually scaled in terms of elapsed time such as hours, days, or years. Of course, all time values must be on the same time scale. Note that the value of theta may be calculated from the estimated probability of failure using the relationship so that P( Failure) θ = ln 1 = 1 time e time /θ ( P( Failure) ) Any positive values are valid. You may enter a range of values such as 10 0 30 or 100 to 1000 by 100. Note that only the ratio of theta1 and theta is used in the calculations. Theta (Group Mean Life) Enter one or more values for the mean life of group under the alternative hypothesis. This value is usually scaled in terms of elapsed time such as hours, days, or years. Of course, all time values must be on the same time scale. Note that the value of theta may be calculated from the estimated probability of failure using the relationship so that P( Failure) θ = ln 1 = 1 time e time /θ ( P( Failure) ) Any positive values are valid. You may enter a range of values such as 10 0 30 or 100 to 1000 by 100. Note that only the ratio of theta1 and theta is used in the calculations. 435-6

Example 1 Power for Several Sample Sizes This example will calculate power for several sample sizes of a study designed to compare the average failure time of (supposedly) identical components manufactured by two companies. Management wants the study to be large enough to detect a ratio of mean lifetimes of 1.3 at the 0.05 significance level. The analysts decide to look at sample sizes between 5 and 500. 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 Means, then Two Independent Means, then clicking on Non-Normal Data, and then clicking on Tests for Two Exponential Means. You may then make the appropriate entries as listed below, or open Example 1 by going to the File menu and choosing Open Example Template. Option Value Design Tab Solve For... Power Alternative Hypothesis... Ha: Theta1 Theta Alpha... 0.05 Group Allocation... Equal (N1 = N) Sample Size Per Group... 5 0 50 100 00 300 400 500 Theta1 (Group 1 Mean Life)... 1.3 Theta (Group Mean Life)... 1.0 Annotated Output Click the Calculate button to perform the calculations and generate the following output. Numeric Results Numeric Results H0: Theta1 = Theta. Ha: Theta1 Theta. Theta1/ Power N1 N N Theta1 Theta Theta Alpha 0.0665 5 5 10 1.3 1.0 1.300 0.050 0.1839 0 0 40 1.3 1.0 1.300 0.050 0.560 50 50 100 1.3 1.0 1.300 0.050 0.45619 100 100 00 1.3 1.0 1.300 0.050 0.74551 00 00 400 1.3 1.0 1.300 0.050 0.89447 300 300 600 1.3 1.0 1.300 0.050 0.95976 400 400 800 1.3 1.0 1.300 0.050 0.98559 500 500 1000 1.3 1.0 1.300 0.050 Report Definitions Power is the probability of rejecting a false null hypothesis. N1 and N are the number of failures needed in Groups 1 and. N is the total sample size, N1 + N. Theta1 and Theta are the Mean Lifes in Groups 1 and at which power and sample size calculations are made. Theta1 / Theta is the simple ratio of Theta1 to Theta. Alpha is the probability of rejecting a true null hypothesis. 435-7

Summary Statements Samples of size 5 and 5 achieve 7% power to detect a difference between the mean lifetime in group 1 of 1.3 and the mean lifetime in group of 1.0 at a 0.05000 significance level (alpha) using a two-sided hypothesis based on the F distribution. This report shows the power for each of the scenarios. Plots Section This plot shows the relationship between power and sample size. 435-8

Example Validation using Manual Calculations We could not find published results that could be used to validate this procedure. Instead, we will compare the results to those computed using our probability distribution calculator. 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 Means, then Two Independent Means, then clicking on Non-Normal Data, and then clicking on Tests for Two Exponential Means. 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 Design Tab Solve For... Power Alternative Hypothesis... Ha: Theta1 > Theta Alpha... 0.05 Group Allocation... Equal (N1 = N) Sample Size Per Group... 0 Theta1 (Group 1 Mean Life)... 1.3 Theta (Group Mean Life)... 1.0 Output Click the Calculate button to perform the calculations and generate the following output. Numeric Results Numeric Results H0: Theta1 = Theta. Ha: Theta1 > Theta. Theta1/ Power N1 N N Theta1 Theta Theta Alpha 0.0369 0 0 40 1.3 1.0 1.300 0.050 We will now check these results using manual calculations. First, we find critical value F 0.95,40, 40 = 1.69797097 using the probability calculator. Now, to calculate the power, we find the inverse F of 1.69797097/1.3 = 1.3015 to be 0.79631. One minus 0.79631 is 0.0369, which matches the reported value of Power. 435-9