Question

In: Statistics and Probability

Please show the Rstudio code used in markdown. thank you! 3. Hypothesis Testing on Two Proportions...

Please show the Rstudio code used in markdown. thank you!

3. Hypothesis Testing on Two Proportions

The Organization for Economic Cooperation and Development (OECD) summarizes data on labor-force participation rates in a publication called OECD in Figures. Independent simple random samples were taken of 300 U.S. women and 250 Canadian women. Of the U.S. women, 215 were found to be in the labor force; of the Canadian women, 186 were found to be in the labor force.

  1. a) Compute the sample proportions for the two samples.

  2. b) At a 3% significance level, do the data suggest that there is a difference between the

labor-force participation rates of U.S. and Canadian women?

c) Find and interpret a 97% confidence interval for the difference between the labor-force participation rates of U.S. and Canadian women.

Solutions

Expert Solution

a) Sample proportion of US women

= 215/300 = 0.7167

Sample proportion of Canadian women

=186/250 = 0.744

b) The null and alternative hypothesis

Test statistic

P= (215+186) / ( 300+250) = 401 / 550 = 0.7291

Q= 1-P = 0.2709

thus ,

For , the two tailed critical value of z is

zc = 2.17 ( from z table )

Reject H0 if z < -2.17 or z > 2.17

Since calculated value of test statistic is not in the critical region

Fail to reject H0

The data does not provide sufficient evidence that there is a difference between labor force participation rate of US and Canadian women .

c) The 97% confidence interval for difference in population proportions

= ( -0.1099 , 0.0553 )

Since the confidence interval includes zero( that means we cannot say that difference is not zero) , the data does not provide sufficient evidence that there is a difference between labor force participation rate of US and Canadian women .

Note : For 97% confidence ( ) , zc = 2.17


Related Solutions

Can you please show both in RStudio code? Thank You Airports: The temperature is recorded at...
Can you please show both in RStudio code? Thank You Airports: The temperature is recorded at 60 airports in a region. The average temperature is 68 degrees Fahrenheit with a standard deviation of 5 degrees. The last known average temperature from all airports is 67 degrees Fahrenheit.   Is the recorded temperature at the 60 airports different from the average temperature at all airports? Answer by determining statistical significance using the test statistic, degrees of freedom, and p-value. Answer substantive significance...
Hypothesis Testing and Confidence Intervals for Proportions and Hypothesis Test for Difference between Two Means A...
Hypothesis Testing and Confidence Intervals for Proportions and Hypothesis Test for Difference between Two Means A pharmaceutical company is testing a new cold medicine to determine if the drug has side affects. To test the drug, 8 patients are given the drug and 9 patients are given a placebo (sugar pill). The change in blood pressure after taking the pill was as follows: Given drug: 3 4 5 1 -2 3 5 6 Given placebo: 1 -1 2 7 2...
2. One‐Sample Univariate Hypothesis Testing with Proportions For this question, show the results “by hand”, but...
2. One‐Sample Univariate Hypothesis Testing with Proportions For this question, show the results “by hand”, but you can use R to check your work. Suppose that the 4‐year graduation rate at a large, public university is 70 percent (this is the population proportion of successes). In an effort to increase graduation rates, the university randomly selected 200 incoming freshman to participate in a peer‐advising program. After 4 years, 154 of these students graduated. What are the null and alternative hypotheses?...
Please show all work and explain. You are testing the null hypothesis that there is no...
Please show all work and explain. You are testing the null hypothesis that there is no linear relationship between two variables X and Y. From your sample of n = 18, you determine that b1 = +4.5 and Sb1= 1.5. The value of t stat = coefficient/std error = 3. a) At the α = 0.05 level of significance, what are the critical values? b) Based on the information and your answer, what statistical decision should you make?
Hi there, please write code in Python 3 and show what input you used for the...
Hi there, please write code in Python 3 and show what input you used for the program. I've been stuck on this for hours! (1) Prompt the user to enter a string of their choosing. Store the text in a string. Output the string. (1 pt) Ex: Enter a sample text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes; more volunteers, more civilians, more teachers in space. nothing ends here;...
Please show and answer all the parts of this question. This is Testing Hypotheses About Proportions...
Please show and answer all the parts of this question. This is Testing Hypotheses About Proportions in Statistics Suppose that in manufacturing a very sensitive electronic component, a company and its customers have tolerated a 2% defective rate. Recently, however, several customers have been complaining that there seem to be more defectives than in the past. Given that the company has made recent modifications to its manufacturing process, it is wondering if in fact the defective rate has increased from...
Solve following using Program R studio. Please show code and results. Thank you. 3. Assume that...
Solve following using Program R studio. Please show code and results. Thank you. 3. Assume that ? is a random variable represents lifetime of a certain type of battery which is exponentially distributed with mean 60 hours.   a. Simulate 500 pseudorandom numbers (using set.seed(10)) and assign them to a vector called expran. b. Calculate average of simulated data and compare it with corresponding theoretical value. c. Calculate probability that lifetime is less than 50 hours using cumulative probability function. d....
HYPOTHESIS TESTING FOR TWO PROPORTIONS A nutritionist claims that the proportion of females who consume too...
HYPOTHESIS TESTING FOR TWO PROPORTIONS A nutritionist claims that the proportion of females who consume too much saturated fat is lower than the proportion of males who consume too much saturated fat. In interviews with 513 randomly selected, she determined that 300 consume too much saturated fat. In interviews with 564 randomly selected males, she determined that 391 consume too much saturated fat. Determine whether a lower proportion of females than males consume too much saturated fat alpha = 0.05...
Please answer everything in R programming language. Show the code to me as well. Thank You...
Please answer everything in R programming language. Show the code to me as well. Thank You 1. Problem Open dataset stat500. Package: faraway. Use R (a) Calculate the correlation matrix. 10. (b) Plot total vs hw, to see how strong the relationship. (c) Build a simple linear regression: total regressed against midterm. Print model output. (d) Calculate directly the coefficients as in (3) (e) Calculate the Residual standard error s, as in (4). (f) Calculate the standard error of beta_1,...
Please use Excel and show the formula you used. Thank you :) A manufacturing process produces...
Please use Excel and show the formula you used. Thank you :) A manufacturing process produces connecting rods whose diameter is normally distributed with mean 1.495 cm and standard deviation .05 cm. In what range will the “middle 80%” of the diameters lie? What about the “middle 98%”?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT