Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this lab, we will implement some of the statistical methods discussed in Chapter 15. In particular, we will carry out chi-square test of the

In this lab, we will implement some of the statistical methods discussed in Chapter 15. In particular, we will carry out chi-square test of the association between two categorical variables. Download the worksheets for this lab, ability.mtw and MTH.mtw, from LON-CAPA to your computer. A. Samples of 200 13-year-old girls and 200 13-year-old boys were asked how they perceive their own math ability; these responses were categorized into five categories: hopeless, below average, average, above average, or superior. Note that these are self-ratings of students' perceptions, and these ratings do not necessarily apply to the students' true mathematics ability. Use File > Open Worksheet to load the data ability.mtw. Here there are r=2 populations (rows) and c=5 categories of response (columns). We will use these data to test the hypotheses H0: girls and boys have the same distribution of their perceived math ability versus Ha: not so. Place the observed cell frequencies given in the worksheet in the table below. Calculate the row and column totals and fill them in. Calculate the expected cell frequencies using the rule E = (Row total)*(Column total)/(Grand total) and fill them in by placing the values in parentheses in each cell. Perceived Math Ability Hopeless Below average Average Above average Superior Total Girls Boys Total 1. For the cell (Girls, Hopeless), what is the expected count? _______________ 2. For the cell (Girls, Hopeless), what is the observed count?________________ 3. For the cell (Girls, Hopeless), what is the contribution from this cell to the 2 test statistic? Contribution = Expected Observed Expected 2 ( ) ______ We will now use Minitab to perform the hypotheses test. Use Stat > Tables > Chi-square Test for Association In the drop-down men, choose the option summarized data in a two-way table. Select columns hopelesssuperior, c2-c6, as columns containing table. Click on statistics, and have the following options checked: chisquare test, display counts in each cell, display marginal counts, expected cell counts, each cell's contribution to chi-square. The results are: 4. Test statistic, Pearson 2 = ________, 5. Degrees of freedom = ________ 6. P-value = __________. 7. What decision is reached at level 0.05? __________ 8. Interpret your decision: Do boys and girls have the same distribution of their perceived math ability?_______ Check Minitab's output for the hypotheses test includes the observed and expected counts for each cell, as well as the contribution from each cell into the test statistic 2 . Do you answers to questions 1-3 agree with Minitab?___ B. We will now look at some hypothetical (not real) data of performance of males and females on a mathematics test. Use File > Open Worksheet to load the data MTH.mtw. Unlike part A above, you are given raw data (not table summary). In the worksheet, student's sex had labels F for female, and M for male. The mathematics test scores were categorized as mathematics levels 1-6. The levels are ordered from 1 being the lowest (introductory) to 6 being the highest (advanced). As an example, think of MSU mathematics placement test, where scores in certain ranges correspond to students placing into courses of various levels: algebra, pre-calculus, calculus, etc. For example, the first row of data corresponds to a female who had math test score of level 1. To compare the performance of males and females on this mathematics test, consider the hypotheses: This study source was downloaded by 100000758677052 from CourseHero.com on 04-07-2021 13:09:32 GMT -05:00 https://www.coursehero.com/file/42773804/Lab13-17pdf/ This study resource was shared via CourseHero.com H0: males and females have the same distribution of their math score level versus Ha: not so. To carry out a test of hypotheses, use Stat>Tables>Cross-Tabulation and Chi-square. In the drop-down menu, use "raw data" (categorical variables). Select "Gender" for rows, "MTH_level" for columns. Check the box to display counts. Then click on chi-square, and check the appropriate boxes to display chi-square analysis and expected cell counts, and each cell's contribution to the chi-square statistic. Use Minitab's output to answer the questions: 9. The value of the test statistic (Pearson chi-square) is _____________ 10. Degrees of freedom is _______________ 11. The p-value is ___________________ 12. What decision is reached at 0.05 level of significance?__________________ 13. Interpret your decision. Is there a difference between males and females in the distribution of their math score level?________

When the difference in performance is captured by the chi-square test, the test does not formally point out where the difference comes from, for example, from lowest, middle, or highest levels of performance. An indication of the sources for the differences can be found by examining the contributions from each cell into the chi-square test statistic given in Minitab's output. Examine the last row of each cell in the output to see that the largest values of the Expected Observed Expected 2 ( ) correspond to mathematics level 1. We can do an additional test to determine if the proportions of males and females who scored at level 1 differ. Column c10 is labeled "MTH_modified". It has value 1 if a person scored at level 1 on the mathematics test, and value 0 otherwise. Repeat the chi-square analysis for this modified column by using Stat>Tables>CrossTabulation and Chi-square. Select "Gender" for rows, "MTH_modified" for columns. Check the boxes to display counts and row percents. Then click on chi-square, and check the appropriate boxes to display chi-square analysis and expected cell counts, and each cell's contribution to the chi-square statistic. Use Minitab's output to answer the questions: 14. The value of the test statistic (Pearson chi-square) is _____________ 15. Degrees of freedom is_______________ 16. P-value is __________________ When each categorical variable has 2 levels, and the resulting contingency table is 2 by 2, the comparison of the proportions of males and females who score at level 1 can be done using a 2-sample z-test for proportions (Section 12.3, text). In this case the hypotheses are H0 : p1 p2 0 versus Ha : p1 p2 0 . The Z test statistic squared equals the chi-square test statistics, and the p-values found using two approaches are the same because chi-square distribution with one degree of freedom (see question #15) is the same as Z (standard normal) squared. To see this, use the data in the last Minitab output to get: The sample proportion of females who scored at level 1: 1 p =63/415=.1518 17. The sample proportion of males who scored at level 1: 2 p =___________ Please keep 4 decimals. 18. The pooled estimate of the common proportion of all students who scored at level 1 (see p. 487, text) 1 2 1 2 1 2 1 1 2 2 n n X X n n n p n p p =_______ 19. The z test statistic 1 2 1 2 1 1 (1 ) n n p p p p z =__________________ Please keep at least 2 decimals. 20. Use Calc>Probability Distributions>Normal with option cumulative probability checked. Enter the negative value (a symmetrical point to the test statistic calculated above) as an input constant, and click OK. The output will be the amount in a left tail. Since the alternative is two-tailed, the p-value is ________. Compare your results: is the squared answer to #19 the same as answer to #14 (up to rounding error)?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Mathematics questions