bnolton commited on
Commit
3602f0c
·
verified ·
1 Parent(s): ebfc74a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -17
README.md CHANGED
@@ -94,28 +94,28 @@ print(text[0]['generated_text'])
94
  ## Expected Output Format
95
  Q: Past experience is that when individuals are approached with a request to fill out and return a particular questionnaire in a provided stamped and addressed envelope, the response rate is 40%. An investigator believes that if the person distributing the questionnaire were stigmatized in some obvious way, potential respondents would feel sorry for the distributor and thus tend to respond at a rate higher than 40%. To test this theory, a distributor wore an eye patch. Of the 200 questionnaires distributed by this individual, 109 were returned. Does this provide evidence that the response rate in this situation is greater than the previous rate of 40%? State and test the appropriate hypotheses using a significance level of 0.05.
96
 
97
- A: 1. State the hypotheses:
98
- H0: p = 0.40 (the response rate is the same as the previous rate)
99
- Ha: p > 0.40 (the response rate is greater than the previous rate)
100
 
101
- 2. Check the conditions:
102
- - Randomness: The 200 questionnaires were randomly distributed to individuals. (Assuming the investigator randomly selected the individuals to distribute the questionnaire to.)
103
- - Independence: The 200 individuals are independent of each other. (Assuming the individuals are randomly selected and not related to each other.)
104
- - Normality: np0 = 200(0.40) = 80 and n(1 - p0) = 200(1 - 0.40) = 120. Both are greater than 10, so the sampling distribution of the sample proportion is approximately normal.
105
 
106
- 3. Calculate the test statistic:
107
- - Sample proportion: p-hat = 109 / 200 = 0.545
108
- - Standard error: SE = sqrt(p0(1 - p0) / n) = sqrt(0.40(1 - 0.40) / 200) = sqrt(0.24 / 200) = 0.0346
109
- - Test statistic: z = (p-hat - p0) / SE = (0.545 - 0.40) / 0.0346 = 4.19
110
 
111
- 4. Determine the p-value:
112
- Using a standard normal distribution table or calculator, find the probability of obtaining a z-score of 4.19 or greater. This is a very small probability (p-value < 0.0001).
113
 
114
- 5. Make a decision:
115
- Since the p-value is less than the significance level of 0.05, we reject the null hypothesis.
116
 
117
- 6. Conclusion:
118
- There is sufficient evidence at the 0.05 significance level to conclude that the response rate in this situation is greater than the previous rate of 40%. The investigator's theory that people would respond at a higher rate when the distributor was stigmatized appears to be supported by the data.
119
 
120
  ## Limitations
121
  The dataset for this model is solely focus on the inference procedures for the AP Statistics class.
 
94
  ## Expected Output Format
95
  Q: Past experience is that when individuals are approached with a request to fill out and return a particular questionnaire in a provided stamped and addressed envelope, the response rate is 40%. An investigator believes that if the person distributing the questionnaire were stigmatized in some obvious way, potential respondents would feel sorry for the distributor and thus tend to respond at a rate higher than 40%. To test this theory, a distributor wore an eye patch. Of the 200 questionnaires distributed by this individual, 109 were returned. Does this provide evidence that the response rate in this situation is greater than the previous rate of 40%? State and test the appropriate hypotheses using a significance level of 0.05.
96
 
97
+ A: 1. State the hypotheses:
98
+ H0: p = 0.40 (the response rate is the same as the previous rate)
99
+ Ha: p > 0.40 (the response rate is greater than the previous rate)
100
 
101
+ 2. Check the conditions:
102
+ - Randomness: The 200 questionnaires were randomly distributed to individuals. (Assuming the investigator randomly selected the individuals to distribute the questionnaire to.)
103
+ - Independence: The 200 individuals are independent of each other. (Assuming the individuals are randomly selected and not related to each other.)
104
+ - Normality: np0 = 200(0.40) = 80 and n(1 - p0) = 200(1 - 0.40) = 120. Both are greater than 10, so the sampling distribution of the sample proportion is approximately normal.
105
 
106
+ 3. Calculate the test statistic:
107
+ - Sample proportion: p-hat = 109 / 200 = 0.545
108
+ - Standard error: SE = sqrt(p0(1 - p0) / n) = sqrt(0.40(1 - 0.40) / 200) = sqrt(0.24 / 200) = 0.0346
109
+ - Test statistic: z = (p-hat - p0) / SE = (0.545 - 0.40) / 0.0346 = 4.19
110
 
111
+ 4. Determine the p-value:
112
+ Using a standard normal distribution table or calculator, find the probability of obtaining a z-score of 4.19 or greater. This is a very small probability (p-value < 0.0001).
113
 
114
+ 5. Make a decision:
115
+ Since the p-value is less than the significance level of 0.05, we reject the null hypothesis.
116
 
117
+ 6. Conclusion:
118
+ There is sufficient evidence at the 0.05 significance level to conclude that the response rate in this situation is greater than the previous rate of 40%. The investigator's theory that people would respond at a higher rate when the distributor was stigmatized appears to be supported by the data.
119
 
120
  ## Limitations
121
  The dataset for this model is solely focus on the inference procedures for the AP Statistics class.