Question

In: Statistics and Probability

Use PROC GLM in SAS to test whether the mean number of insect deaths differs across...

Use PROC GLM in SAS to test whether the mean number of insect deaths differs across insectide 
types.  Use alpha= 0.05, and justify your answer by referring to either a test statistic value 
and table value, or by referring to a P-value.
data insectdeaths; 
input INSECTICIDE $  DEAD;
cards;
 A 85
 B 90
 C 93
 D 98
 A 82
 B 92
 C 94
 D 98
 A 83
 B 90
 C 96
 D 100
 A 88
 B 91
 C 95
 D 97
 A 89
 B 93
 C 96
 D 97
 A 92
 B 81
 C 94
 D 99
;
run;

Solutions

Expert Solution

Treat insecticides as a grouping variable using class statement in proc glm

use model statement  

Ho:

he mean number of insect deaths are same across insectide 
types. 

Ha:

The mean number of insect deaths differs across insectide 
types. 

SAS code:

data insectdeaths;
input INSECTICIDE $ DEAD;
cards;
A 85
B 90
C 93
D 98
A 82
B 92
C 94
D 98
A 83
B 90
C 96
D 100
A 88
B 91
C 95
D 97
A 89
B 93
C 96
D 97
A 92
B 81
C 94
D 99
;
run;
proc glm data = insectdeaths;
class INSECTICIDE ;
model DEAD = INSECTICIDE ;
means INSECTICIDE ;
run;

Output;

The GLM Procedure

Class Level Information
Class Levels Values
INSECTICIDE 4 A B C D
Number of Observations Read 24
Number of Observations Used 24

The GLM Procedure

Dependent Variable: DEAD

Source DF Sum of Squares Mean Square F Value Pr > F
Model 3 488.7916667 162.9305556 17.99 <.0001
Error 20 181.1666667 9.0583333
Corrected Total 23 669.9583333
R-Square Coeff Var Root MSE DEAD Mean
0.729585 3.264029 3.009707 92.20833
Source DF Type I SS Mean Square F Value Pr > F
INSECTICIDE 3 488.7916667 162.9305556 17.99 <.0001
Source DF Type III SS Mean Square F Value Pr > F
INSECTICIDE 3 488.7916667 162.9305556 17.99 <.0001

The GLM Procedure

Level of
INSECTICIDE
N DEAD
Mean Std Dev
A 6 86.5000000 3.83405790
B 6 89.5000000 4.32434966
C 6 94.6666667 1.21106014
D 6 98.1666667 1.16904519

since F=17.99,p<.0001,

p<0.05

Reject Ho that all the 4 type insecticides means are equal

and conclude that there is sufficient evidence at 5% level of significance that

he mean number of insect deaths differs across insectide 
types. 

Related Solutions

Use PROC GLM in SAS to test whether the mean number of days of sick leave...
Use PROC GLM in SAS to test whether the mean number of days of sick leave differs across bank branches. Use alpha= 0.05, and justify your answer by referring to either a test statistic value and table value, or by referring to a P-value. data banks; input branch leave; cards; 1 15 1 20 1 19 1 14 2 11 2 15 2 11 3 18 3 19 3 23 ; run;
a. Use an appropriate test to evaluate whether the number of prey eaten differs among three...
a. Use an appropriate test to evaluate whether the number of prey eaten differs among three habitat types. Assume the data are normally distributed. b. If habitat type affects the number of prey eaten, determine which habitats differ from which others. c. Evaluate the same hypothesis, but now assume that the data are not distributed normally (You don’t need to determine which habitats differ from which others for this question) 1) State all relevant hypotheses (nulls and alternatives). 2) State...
Using SAS. (Unemployed Females Data) Use PROC X11to analyze the monthly unemployed females between ages 16...
Using SAS. (Unemployed Females Data) Use PROC X11to analyze the monthly unemployed females between ages 16 and 19 in the United States from January 1961 to December 1985 (in thousands). Unemployed Data: July       1 60572 August     2 52461 September 3 47357 October    4 48320 November   5 60219 December   6 84418 January    7 119916 February   8 124350 March      9 87309 April     10 57035 May       11 39903 June      12 34053 July      13 29905 August    14 28068 September 15 26634 October   16 29259...
In light of COVID-19 pandemic and the alarming number of deaths in Nursing Homes across Canada....
In light of COVID-19 pandemic and the alarming number of deaths in Nursing Homes across Canada. Briefly discuss how management's lack of ensuring that workers have proper Personal Protective Equipment in nursing home is or is not socially responsible.
We want to investigate now whether the average occupancy rate in May differs across the three...
We want to investigate now whether the average occupancy rate in May differs across the three regions.2.1 State the null and alternative hypotheses for the above research question.2.2 Conduct a Levene test for the homogeneity of the variances at the 10% level using the absolute deviations from the median. Make sure you state both the null and alternative hypotheses and the conclusions of your test.2.3 Test the null hypothesis in 1.1 at the 10% significance level.2.4 What can you conclude...
We want to investigate now whether the average occupancy rate in May differs across the three...
We want to investigate now whether the average occupancy rate in May differs across the three regions.2.1 State the null and alternative hypotheses for the above research question.2.2 Conduct a Levene test for the homogeneity of the variances at the 10% level using the absolute deviations from the median. Make sure you state both the null and alternative hypotheses and the conclusions of your test.2.3 Test the null hypothesis in 2.1 at the 10% significance level.2.4 What can you conclude...
We want to investigate now whether the average occupancy rate in May differs across the three...
We want to investigate now whether the average occupancy rate in May differs across the three regions.2.1 State the null and alternative hypotheses for the above research question.2.2 Conduct a Levene test for the homogeneity of the variances at the 10% level using the absolute deviations from the median. Make sure you state both the null and alternative hypotheses and the conclusions of your test.2.3 Test the null hypothesis in 1.1 at the 10% significance level.2.4 What can you conclude...
Use some real examples to show how capital structure differs substantially across different industries.
Use some real examples to show how capital structure differs substantially across different industries.
Use the following data on number of deaths from drug overdose for sample of different states....
Use the following data on number of deaths from drug overdose for sample of different states. We separated states to two groups based on whether a certain drug law is being enacted or not. The states where the law is enacted are called BLUE states and those not using this law are called RED states. (Note that there are 8 observations in each group) Table: Number of overdose deaths every year in different states. (BLUE States) - enacting the new...
Create the printout for testing whether the mean low stock price of all NYSE stocks differs...
Create the printout for testing whether the mean low stock price of all NYSE stocks differs from $35 and attach it here. Answer the following questions regarding this printout: One-Sample T Test Null Hypothesis: μ = 35 Alternative Hyp: μ ≠ 35                                                                                                                              Lower                    Upper Variable                                 Mean       SE          T          DF                P        95% C.I.                 95% C.I. Low                                        92.075   48.666 1.17        39           0.2480 -6.3611               190.51 Cases...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT