Docsity

Statistical Hypothesis Testing and Linear Regression Practice Test, Lecture notes of Mathematics

Toggle sidebar
bg1
Practice Test for Final Exam
The concentration of Escherichia coli (E. Coli) in beef is tested in the laboratory using a method
called HGMF. A new method that can be done in the field called HEC has been developed. A
comparison of treatments needs to be done. The developers of the HEC method want to test
their theory that HGMF readings and HEC readings are positively linearly related. To test their
theory, they randomly selected 18 pieces of beef and measured the E. Coli concentration on each
piece using both the HGMF and HEC methods. Use this to answer the next 3 questions.
Predictor Coef SE Coef T P
Constant -0.09 -0.78 0.4445
HGMF 0.92 0.285 0.0052
1. What hypotheses should be stated to test his claim?
(a) H0:b1= 0 vs. Ha:b16= 0
(b) H0:β1= 0 vs. Ha:β16= 0
(c) H0:β1= 0 vs. Ha:β1>0
(d) H0:µ= 0 vs. Ha:µ6= 0
(e) H0:µ= 0 vs. Ha:µ > 0
2. What is the correct P-value the researchers should use to determine whether or not to reject
the null hypothesis?
(a) 0.4445
(b) 0.22225
(c) 0.0052
(d) 0.0026
(e) None of the above is correct.
3. Suppose the model assumptions for linear regression are satisfied. What is the best inter-
pretation of the slope of the regression line?
(a) The estimated average change in HGMF when HEC increases by 1 is 0.92.
(b) The estimated average change in HGMF when HEC increases by 1 is −0.09.
(c) The estimated average change in HEC when HGMF increases by 1 is 0.92.
(d) The estimated average change in HEC when HGMF increases by 1 is −0.09.
(e) The estimated average change in HEC when HGMF increases by 1 is 0.83.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Statistical Hypothesis Testing and Linear Regression Practice Test and more Lecture notes Mathematics in PDF only on Docsity!

Practice Test for Final Exam

The concentration of Escherichia coli (E. Coli) in beef is tested in the laboratory using a method called HGMF. A new method that can be done in the field called HEC has been developed. A comparison of treatments needs to be done. The developers of the HEC method want to test their theory that HGMF readings and HEC readings are positively linearly related. To test their theory, they randomly selected 18 pieces of beef and measured the E. Coli concentration on each piece using both the HGMF and HEC methods. Use this to answer the next 3 questions.

Predictor Coef SE Coef T P Constant -0.09 -0.78 0. HGMF 0.92 0.285 0.

  1. What hypotheses should be stated to test his claim?

(a) H 0 : b 1 = 0 vs. Ha : b 1 6 = 0 (b) H 0 : β 1 = 0 vs. Ha : β 1 6 = 0 (c) H 0 : β 1 = 0 vs. Ha : β 1 > 0 (d) H 0 : μ = 0 vs. Ha : μ 6 = 0 (e) H 0 : μ = 0 vs. Ha : μ > 0

  1. What is the correct P-value the researchers should use to determine whether or not to reject the null hypothesis?

(a) 0. (b) 0. (c) 0. (d) 0. (e) None of the above is correct.

  1. Suppose the model assumptions for linear regression are satisfied. What is the best inter- pretation of the slope of the regression line?

(a) The estimated average change in HGMF when HEC increases by 1 is 0.92. (b) The estimated average change in HGMF when HEC increases by 1 is − 0 .09. (c) The estimated average change in HEC when HGMF increases by 1 is 0.92. (d) The estimated average change in HEC when HGMF increases by 1 is − 0 .09. (e) The estimated average change in HEC when HGMF increases by 1 is 0.83.

An interdenominational organization wanted to determine if clerics from different religions have a different level of awareness of mental illness. Three random samples were taken, one of 10 Methodist ministers, one of 10 Catholic priests and a third of 10 Pentecostal ministers. Each of the 30 subjects was given a standardized written test to measure knowledge of mental illness. Below is some of the relevant JMP output. They plan to use this output to test their theory that there is an association between religion and average score on the knowledge of mental illness exam. Use this to answer the next 3 questions.

Level n Mean SD Catholic 10 26.20 20. Methodist 10 30.50 21. Pentecostal 10 12.40 10.

Analysis of Variance Source df SS MS F p-value Religion (a) 1788.467 (d) (e) (f) Error (b) (c) 333. C. Total 29 10790.

  1. Complete the above ANOVA table

(a) ∼ (f):

  1. Are the conditions met to do a test of ANOVA on this data? Choose the best answer.

(a) Yes, because the subjects were randomly selected. (b) No, because the standard deviation of the Methodist sample is more than twice the standard deviation of the Pentecostal sample. (c) No, because there is an extreme outlier in the residual plot above right. (d) No, because the standard deviation of the Methodist sample is more than twice the standard deviation of the Pentecostal sample and there is an extreme outlier in the box plots of the residuals above right. (e) Yes, because the sample size is 30 and the subjects were randomly selected.

  1. Assume that the conditions are met and that it is appropriate to use an ANOVA to analyze this data. What should their conclusion be if α = 0.10?

(a) The data provides no statistical evidence of an association between religion and score on the knowledge of mental illness. (b) The data provides statistical evidence of an association between religion and score on the knowledge of mental illness.

  1. Which of the following statements is (are) true?

I. We randomly assign subjects to treatments in observational studies. II. We randomize in experimental studies so that the different treatment groups before treatment are similar, on average. III. We randomize in experimental studies so that each individual has an equal chance of being selected as a subject in a study.

(a) I only is true (b) II only is true (c) I and II only are true (d) II and III only are true (e) All are true

  1. In conducting a randomized comparative experiment, an experimenter will often include a group of subjects, known as a control group, to receive a fake treatment. What is the reason such a control group might be included in the experiment? Select the best an- swer.

(a) To increase the number of subjects and hence increase the sensitivity of the experiment in detecting effects of the treatment. (b) To gain more complete understanding of any biases that might be present in the ex- periment. (c) To enable the experimenter to control the effects of outside variables, such as lurking variables, on the outcome of the experiment. (d) To repeat the experiment over a greater number of experimental subjects. (e) To enable the experimenter to more easily make a random assignment of subjects to the groups

A new cholesterol treatment is in the developmental stage. The researchers want to test their theory that people taking their drug have lower cholesterol than people not taking the drug. Ten volunteers agree to take the drug. Their cholesterol level is measured, they are given the drug for 2 weeks and their cholesterol level is measured again. Assume all the conditions are met to analyze this data using a paired t test analysis. Use this scenario to answer the next 2 questions.

Below is plotted 3 different sets of numbers. One set is everyone’s before drug cholesterol level. Another set is everyone’s after taking the drug cholesterol level. The other set is everyone’s difference in cholesterol level measured as before–after.

  1. The correct test to analyze this data is a paired t test. The paired t test P-value is .004. If the data is incorrectly analyzed using 2-sample t test, the P-value is .0901. Explain why the P-value is larger in the 2-sample t test.

(a) The standard deviation (SD) in the paired-t test measures only the variation due to the differences in how patients react to the drug. The SD in the 2-sample t test measures the variation due to differences in how the patients react to the drug plus the variation in cholesterol levels between patients. Consequently, the test statistic for the paired-t test is larger than the test statistic for the 2-sample t test and so the P-value will be smaller for the paired-t test. (b) The standard deviation (SD) in the paired-t test measures only the variation due to the differences in how patients react to the drug. The SD in the 2-sample t test measures the variation due to differences in how the patients react to the drug plus the variation in cholesterol levels between patients. Consequently, the test statistic for the paired-t test is smaller than the test statistic for the 2-sample t test and so the P-value will be smaller for the paired-t test. (c) The 2-sample t test measures a different theory and so the P-value will be different. (d) It may happen by chance without an explanation. (e) None of above.

  1. In a matched-pair design study for effect of a certain treatment, researchers form a 2-sided hypotheses and found that the mean of difference in the before treatment – after treatment

(d) Independent sample t test (e) None of the tests we’ve studied this semester can be used to analyze all of his data.

A study randomly assigned adult subjects to 3 exercise treatments: (1) a single long exercise period five days per week; (2) several ten-minute exercise periods five days per week; and (3) several ten-minute periods five days per week using a home treadmill. The study report contains the following summary statistics about weight loss (in kilograms) after six months of treatment:

Treatment Mean Std. dev. n Long periods 10.2 4.2 37 Multiple short periods 9.3 4.5 36 Multiple short periods with treadmill 10.2 5.2 42

Here is a partial ANOVA table based on these data.

Source df SS MS F-ratio Group (1) 20.032 (6) (7) Error (2) (4) 18. Total (3) (5)

  1. The alternative hypothesis for the ANOVA is that the population mean weight loss after six months is

(a) highest with multiple short periods of exercise using a. treadmill. (b) different for each of the three exercise conditions. (c) not the same for the three exercise conditions. (d) the same for all three exercise conditions. (e) None of above

  1. The value of the F statistic is

(a) 0.54. (b) 1.09. (c) 1. (d) 2. (e) 0.

  1. A random sample of 79 patients from a walk-in clinic records the low and high density cholesterol levels of the patients, labeled LDL and HDL, collectively. LDL is often referred to as bad cholesterol, while HDL is often referred to as good cholesterol. A researcher is interested in fitting the following linear regression curve to LDL and HDL levels: LDLi = β 0 + β 1 × HDLi + i, where the i is assumed to be independent and normally distributed with mean 0 and stan- dard deviation σ. This model was fit to the data using the method of least squares. When we obtain the following results from statistical software, compute a 90% confidence interval for the slope β 1 (approximately). Variable Estimate SE of estimate Constant –25 3. HDL 0.75 0.

(a) 0.75 ± 4. (b) 0.75 ± 0. (c) -25 ± 4. (d) -25 ± 0. (e) 0.75 ± 0.

  1. The slope of the regression equation and the correlation are similar in the sense that

(a) they do not depend on the units of measurement. (b) they both must all between −1 and +1. (c) they both have the same sign. (d) they both measure the strength of linear relationship. (e) neither can be affected by severe regression outliers.

  1. The least-squared regression line

(a) always has a non-zero slope. (b) is the line which minimize the sum of squared vertical distance between the points and the line. (c) is the line which minimize the sum of squared horizontal distance between the points and the line. (d) must pass through some of the observed data points (x, y). (e) none of above

  1. The R^2 for this simple linear regression was 80.7%. Interpret what this value means.

(a) For 80.7% of Nambe Mills’ kitchenware products there is a positive linear relationship between time and wholesale price.

  1. Bleaching chemicals are used in the pulp and paper industry to increase the brightness of the paper that is produced. Four chemical agents were studied to determine their effect on the brightness of paper produced from pulp treated with the chemical. The null hypothesis H 0 : μA = μB = μC = μD was established for the ANOVA. What is the appropriate alternative hypothesis?

(a) Ha : μA 6 = μB 6 = μC 6 = μD. (b) Ha : All of the pairs of the μA, μB , μC , μD are different. (c) Ha : At least one pair of the μA, μB , μC , μD is different from each others. (d) Ha : Not all of the are equal. (e) Both (c) and (d) are correct.

The presence of bacteria in the urine has been associated with kidney disease (more bacteria leads to greater susceptibility to kidney disease). There is anecdotal evidence that oral contraceptive use (OC) is associated with kidney disease. A study was done to test if the average bacteria level of OC users differs from the bacterial level of non-OC users. Recognizing that the bacteria level could vary greatly by age group, the researchers first divided up the subjects (all volunteers who were non-pregnant premenopausal women under age 50) into 4 age categories. In each age category, the subjects were randomly assigned to either take an OC for 2 months or a placebo for 2 months. As the end of the 2 months, the bacteria level in the urine was measured. Use this scenario to answer the next 2 questions.

  1. What are the variables of interest to the researchers?

(a) Explanatory: OC usage Response: bacteria level (b) Explanatory: age category Response: bacteria level (c) Explanatory: age category Response: OC usage (d) Explanatory: OC usage Response: age (e) Explanatory: bacteria present Response: OC usage

  1. What type of study was this?

(a) Experimental: completely randomized design (b) Experimental: block design (c) Experimental: matched pairs design (d) Observational: biased survey because the subjects were not randomly selected from a sample frame (e) Observational: comparative observational study

  1. Researchers want to do a linear regression analysis on 22 subjects. Assume each subject’s response is only measured once implying the independence condition is met. What can be concluded from the following plots?

(a) The explanatory and response are not linearly related (b) The standard deviation of the response is not constant (variances are not constant) (c) The response is not normally distributed about the mean function (d) Both a) and b) are true (e) All the linear regression assumptions are met

  1. We randomize the assignment of treatments in an experiment so that:

(a) The effect of external influences differs across treatments (b) Each person in the study will be equally likely to receive the best treatment (c) We can decide if there is a correlation between the explanatory and the response vari- ables (d) The groups of subjects are similar in all respects before the treatments are applied (e) None of the above

  1. An independent research firm conducts a study to compare the taste of four new sports drinks. Five people are randomly assigned to each of the four drinks. Each person tastes the drink and judges it on a scale from one to five. How many degrees of freedom (df1) does the group sum of squares have? How many degrees of freedom (df2) for the error sum of squares?

(a) df1 = 4; df2 = 17 (b) df1 = 16; df2 = 3 (c) df1 = 3; df2 = 16 (d) df1 = 3; df2 = 17 (e) df1 = 4; df2 = 16

An airline recently conducted a randomized experiment to see whether callers would remain on hold longer, on the average, if they heard advertisements, Muzak, or classical music. To inves- tigate the relationship between holding time and recording, the airline selected of 15 callers and randomly assigned 5 callers to each type of recording. The holding times were measured for each call with the following results. Use this information to answer the next 3 questions.

Summary Statistics Analysis of Variance Recording n Mean SD Source df SS MS F-Ratio Prob>F Ad 5 5.4 4.16 Recording 2 157.33 78. Classical 5 10.6 3.78 Error 12 149. Muazk 5 2.8 2.39 C Total 14 306.

  1. Suppose A represents advertisements, M represents Muzak and C represents classical music. What are the best hypotheses to test this theory?

(a) H 0 : μA = μM = μC and Ha : μA 6 = μM 6 = μC (b) H 0 : μA = μM = μC and Ha: there is an association between type of recording and holding time (c) H 0 : ¯xA = ¯xM = ¯xC and Ha : ¯xA 6 = ¯xM 6 = ¯xC (d) H 0 : ¯xA = ¯xM = ¯xC and Ha : differences in type of recording causes differences in average holding times. (e) Two of the above are equally good conclusions.

  1. Are the conditions met to run the ANOVA test? Find the best answer.

(a) No, the combined sample size is less than 30. (b) No, the sample size in each group is less than 30. (c) No, the sample standard deviations are too different to meet the equal standard devi- ation assumption. (d) Yes, it was a SRS, the standard deviations are similar, and the combined sample size is 15. (e) Yes, it was a SRS, the standard deviations are similar enough, there are no extreme out- liers and from the normal quantile plot of residuals we see that the normality condition is met.

  1. The one-way ANOVA F test assumes equal population variances. What is the pooled sample variance?

(a) 6. (b) 78. (c) 12. (d) 3. (e) 8.