Comparing means for two independent samples--math ability of male and female CS students
This activity offers students direct experience with the 4 steps involved in hypothesis testing for two means from independent samples:
- State the appropriate null and alternative hypotheses, Ho and Ha.
- Obtain a random sample, collect relevant data, and check whether the data meet the conditions under which the test can be used. If the conditions are met, summarize the data by a test statistic.
- Find the p-value of the test.
- Based on the p-value, decide whether or not the results are significant and draw your conclusions in context.[1]
Inference for the mean of a population
Use this activity for in-class collaborative group work.
Estimate for completion time: 45 minutes
Materials needed:
- 4-step hypothesis testing template (shown below) for each group (handout, in .odt file format--OpenOffice.org Writer)
- Analysis software (SPSS, PPSP, SAS, R, Minitab, Excel, Calc)
- Dataset: csdata.por (portable file format)
Comparing math ability for male and female computer science students A study of freshman computer science majors, designed to investigate why students intending to major in computer science failed to do so, collected data on 224 beginning computer science majors in a particular year.[2] The resulting dataset includes 8 variables.
The researchers might have been interested in how males and females compared on the SAT Math score (SATM). There is no reason to suspect that males would perform better than females, or vice versa.
Design and implement hypothesis test(s) Form students into groups of 2-4 students. Each group will need access to a laptop with statistical software loaded and a copy of the handout. Have the students complete the handout as a group, which includes the following information. Identify the following:
|
Resources
The following resources were used for ideas and organization in the development of this activity:
- Dean, S., & Illowsky, B. (2009, February 18). Hypothesis Testing for Two Means and Two Proportions: Lab. Retrieved from the Connexions Web site on 19 Sep 2010.
References
- ↑ Open Learning Initiative. Statistics. Retrieved from the Open Learning Initiative web site http://oli.web.cmu.edu/openlearning/forstudents/freecourses/statistics.
- ↑ Campbell, P.F. and McCabe, G.P. (1984). "Predicting the success of freshman in a computer science major." Communications of the ACM, pp. 1108-1113.