Introduction
The population we want to compare are performance in exams of students whose race/ethnicity are grouped B/C/D.
This dataset includes scores from three exams and a variety of personal, social, and economic factors that have interaction effects upon them. There are three quantitative variables and five categorical variables. Group B has 190 records, group C has 329 records, group D has 262 records.
Qualitative variables we observed were “gender” and “parental level of education”. “gender” male means students are male, “gender” female means students are female. “parental level of education” gives the level of education of students’ parents.
Quantitative variables we observed were “math score” / “reading score”/ “writing score” which are relative exam scores.
We use simple random sampling without replacement to get the subset of the complete dataset.
Step1: add a column as id number series for each group B/C/D.
Step2: use Sampling tool that’s part of the Data Analysis command, set id number column as the input range, then remove the replicate items, make sure the sample size is 30.
For each qualitative variable, make a frequency table and a pie chart.
1) gender
The pie chart above show the gender of the 30 students exam records sampled from race group B/C/D. we can see that the number of female students are equal with the number of male students in group B samples, the number of female students are less than the number of male students in group C and group D samples.
2) parental level of education
The pie charts above show parental level of education of the 30 samples from race group B/C/D. we can see that student’s parental level of education in group D has the highest proportion of bachelor’s degree. High school proportions are same in group B and group C.
The boxplots above to the left shows the math scores of the 30 students sampled from race group B, group C, and group D. The boxplots show that group C has the least variation in math scores, while group D has the largest variation in math scores. Also, we can see that the medium math score of group D is higher than that of group B and group C.
The boxplots above in the center show the reading scores of the 30 students sampled from race group B, group C and group D. the boxplots show that group B has the largest variation. Once again, the median reading score of group D is higher than that of group B and group C.
The boxplots above in the right show the writing scores of the 30 students sampled from race group B, group C and group D. the boxplots show that the group B has the smallest variation. Once again, the median writing score of group D is higher than that of group B and group C.
Recall that the parental level of education in subgroup C have the highest proportion in bachelor’s degree, maybe students who parents with higher education are more likely to get higher score in their own exams.
The table below shows the mean, standard deviation, and the mean’s margin of error for each quantitative variables and population. The margins of error are calculated using a normal distribution and a 95% confidence level.
|
population |
groupB |
groupC |
groupD |
math scores |
mean |
60.77 |
64.63 |
67.80 |
standard deviation |
17.43 |
14.46 |
15.79 |
|
margin of error |
6.24 |
5.17 |
5.65 |
|
reading scores |
mean |
63.87 |
68.33 |
69.03 |
standard deviation |
18.14 |
15.10 |
17.18 |
|
margin of error |
6.49 |
5.41 |
6.15 |
|
writing scores |
mean |
62.07 |
66.57 |
68.73 |
standard deviation |
18.50 |
17.22 |
17.00 |
|
margin of error |
6.62 |
6.16 |
6.08 |
The charts below show the means and confidence intervals for each quantitative variables and population. Assuming a normal distribution of sample means, 商科统计代写 there is a 95% probability that the true mean of a population lies within the confidence interval shown for it.
1) Variation of reading scores in group B and group C.
It appears from the boxplot that the variation among the reading scores in group B is less than that of in group C. Also, the standard deviation of reading scores in group B sample is 15.10, while the standard deviation of reading scores in group C sample is 18.14.
To see whether this is a statistically significant finding at the 5% level of significance, an F-stat was performed.
We use the “F-test two sample for Variances” command in Data Analysis. then we get the following table:
F-Test Two-Sample for Variances |
|
|
|
|
|
|
Variable 1 |
Variable 2 |
Mean |
63.87 |
68.33 |
Variance |
329.22 |
228.16 |
Observations |
30 |
30 |
df |
29 |
29 |
F |
1.44 |
|
P(F<=f) one-tail |
0.16 |
|
F Critical one-tail |
1.86 |
|
The result show p-value for test is 0.16, so we don’t have enough evidence to reject the null hypothesis that reading scores of group B and group C’s variances are same at the 5% level of significance.
2) mean of reading scores in group B and group C.
Further, the mean value of reading scores in group B and group C respectively are 63.87 and 68.33. we want to see whether this is a statistically significant finding at 5% level of significance. Then a two-sample t-test is conducted.