Skip to main content

Hypothesis Testing and Correlation Analysis

The director of manufacturing at a cookies needs to determine whether a new machine is production a particular type of cookies according to the manufacturer's specifications, which indicate that cookies should have a mean of 70 and standard deviation of 3.5 pounds. A sample pf 49 of cookies reveals a sample mean breaking strength of 69.1 pounds.

A. State the null and alternative hypothesis 
 Ho = u>=  70  and alt hypo. Ho = u<70

B. Is there evidence that the machine is nor meeting the manufacturer's specifications for average strength? Use a 0.05 level of significance . 
since the data is random sample size the data seem almost approximate normal. 

C. Compute the p value and interpret its meaning? 
(xbar - mu) / (stdsqrt(n)) = (69.1 - 70)/(3.5/sqrt(49)) = -1.80 this indicted it does not fall under the region and it is rejected. 

D. What would be your answer in (B) if the standard deviation were specified as 1.75 pounds? 
based of the z table score, its out of the significant level range it will mostly likely that the machine is not meeting the manufactures specifications. 
E. What would be your answer in (B) if the sample mean were 69 pounds and the standard deviation is 3.5 pounds?
don't understand the question
d
Second Question:
If x̅ = 85, σ = standard deviation = 8, and n=64, set up 95% confidence interval estimate of the population mean μ.
 Z= 1-(0.05/2) = 1.96
Sample mean= x-bar = 85
Z*s/sqrt(n) = (1.96*8)/sqrt(64) = 1.96
CI= 85 – 1.96= 83.04
CI= 85- 1.96= 86.96
(83.04, 86.96)

The accompanying data are: x= girls and y =boys. (goals, time spend on assignment)  
a. Calculate the correlation coefficient for this data set 

[1] 0.9991175
b. Pearson correlation coefficient 

[1] 0.995622
c. Create plot of the correlation

r studio keep giving me an error when i try to plot the cor. 

Comments

Popular posts from this blog

Information Architecture: High Fidelity Design

 For my Group  Project we had to create a low fidelity and high fidelity website design that focus on education and student as well as parents or those involves in education.     

Probability Theory

A. Based on Table 1 What is the probability of: B B1 A 10 20 A1 20 40 A1 . Event A A2 . Event B? A3.  Event A or B A4 . P(A or B) = P(A) + P(B) B. Applying Bayes' Theorem  Jane is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, it has rained only 5 days each year. Unfortunately, the weatherman has predicted rain for tomorrow. When it actually rains, the weatherman correctly forecasts rain 90% of the time. When it doesn't rain, he incorrectly forecasts rain 10% of the time. What is the probability that it will rain on the day of Jane's wedding?  Solution: The sample space is defined by two mutually-exclusive events - it rains or it does not rain. Additionally, a third event occurs when the weatherman predicts rain. Notation for these events appears below. Event A1. It rains on Jane's wedding. Event A2. It does not rain on Marie's wedding. Event B. The weatherman predicts rain. In terms of probabilities, we know t...