Question
1.A survey of contraceptive methods conducted by the National Center for Health Statistics in 1965 indicated that among 30-39 year old, married, nonpregnant women who
1.A survey of contraceptive methods conducted by the National Center for Health Statistics in 1965 indicated that among 30-39 year old, married, nonpregnant women who practiced contraception 20% used some form of permanent contraception. The frequency of use of permanent contraception is suspected to have changed over the next 4 decades. To test this hypothesis, records were selected of 50 women subscribing to prepaid health plans in 2005 who were 30-39 year old, married, nonpregnant and practiced contraception. From these records 16 used some form of permanent contraception. Suppose we wish to test the hypothesis that a change has occurred in the true proportion of women who use permanent contraception without specifying the direction of that change.Suppose researchers are willing to commit the error of mistakenly rejecting the null hypothesis only 1% of the time.
a)What is the significance level in this problem?
b)Specify the null and alternative hypothesis
c)Carry out the steps of the hypothesis test (calculate test statistic, p-value, and make a decision).
d)If the true proportion of permanent contraception in 2005 was really 0.32, what is the power of this test with a sample size of 50.Use the SAS code below but be sure to fill in the place that are blank
proc power;
onesamplefreq test=z method=normal
alpha=
nullproportion =
proportion =
sides = 2
ntotal = 50
power = .;
run;
e)What sample size would you need in order to ensure that your Type II error is 20%. Use the above SAS code -you will need to modify the code so it calculates n instead of the power.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started