Question

In: Statistics and Probability

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;

Solutions

Expert Solution

Solution:

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

use model statement  

SAS Code:

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;

proc glm data = banks;
class branch;
model leave=branch ;
means branch;
run;

Output:

The GLM Procedure

Class Level Information
Class Levels Values
branch 3 1 2 3
Number of Observations Read 10
Number of Observations Used 10

The GLM Procedure

Dependent Variable: leave

Source DF Sum of Squares Mean Square F Value Pr > F
Model 2 89.8333333 44.9166667 6.21 0.0282
Error 7 50.6666667 7.2380952
Corrected Total 9 140.5000000
R-Square Coeff Var Root MSE leave Mean
0.639383 16.30528 2.690371 16.50000
Source DF Type I SS Mean Square F Value Pr > F
branch 2 89.83333333 44.91666667 6.21 0.0282
Source DF Type III SS Mean Square F Value Pr > F
branch 2 89.83333333 44.91666667 6.21 0.0282

The GLM Procedure

Level of
branch
N leave
Mean Std Dev
1 4 17.0000000 2.94392029
2 3 12.3333333 2.30940108
3 3 20.0000000 2.64575131

F test with F=6.21 and p=0.0282 confirms the suspicion,based on the plots and descriptive statisitcs,that there are differences
in the mean number of days of sick leave differs across bank branches.


Related Solutions

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...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 11; 6; 13; 3; 11; 9; 8; 10. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10?...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 11; 6; 13; 5; 9; 9; 6; 8. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10?...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 11; 6; 14; 3; 11; 8; 7; 8. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10?...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 11; 6; 13; 3; 11; 9; 8; 10. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10?...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 11; 5; 15; 3; 10; 10; 8; 9. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10?...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about ten. Members of a personnel department do not believe this figure. They randomly survey eight employees. The number of sick days they took for the past year are as follows: 12; 4; 15; 3; 11; 8; 6; 8. Test the claim of the personnel team, that the mean number of sick days per year is less than ten. Ho : μ = Ha :...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 10; 6; 14; 4; 10; 9; 8; 9. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10?...
The mean number of sick days an employee takes per year is believed to be about...
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 12; 6; 15; 5; 11; 10; 6; 8. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10?...
Someone claims that the mean number of sick days that employees in New Jersey take per...
Someone claims that the mean number of sick days that employees in New Jersey take per year is 5.3. To look into that claim, you take a representative sample of 78 employees in New Jersey and find that the mean number of sick days is 5.5 in the sample. The population standard deviation is 1.6. Part (a)    Given that the sample mean is different from the claimed population mean, does that show that the claim in H0 is false?...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT