<< Chapter < Page Chapter >> Page >

In a volunteer group, adults 21 and older volunteer from one to nine hours each week to spend time with a disabled seniorcitizen. The program recruits among community college students, four-year college students, and nonstudents. The following table is a sample of the adult volunteers and the number of hours they volunteer per week.

The table contains observed (O) values (data).
Number of hours worked per week by volunteer type (observed)
Type of Volunteer 1-3 Hours 4-6 Hours 7-9 Hours Row Total
Community College Students 111 96 48 255
Four-Year College Students 96 133 61 290
Nonstudents 91 150 53 294
Column Total 298 379 162 839

Are the number of hours volunteered independent of the type of volunteer?

The observed table and the question at the end of the problem, "Are the number of hours volunteered independent of the type of volunteer?" tell you this is a test ofindependence. The two factors are number of hours volunteered and type of volunteer . This test is always right-tailed.

H o : The number of hours volunteered is independent of the type of volunteer.

H a : The number of hours volunteered is dependent on the type of volunteer.

Complete the expected values in this table:
Type of volunteer 1-3 Hours 4-6 Hours 7-9 Hours Row Total
Community College Students 255
Four-Year College Students 290
Nonstudents 294
Column Total 298 379 162 839

  • (225)(298) (839) = 90.57 ; (225)(379) (839) = 115.19 ; (225)(152) (839) = 49.24 ;
  • (290)(298) (839) = 103.00 ; (290)(379) (839) = 131.00 ; (290)(162) (839) = 56.00 ;
  • (194)(298) (839) = 104.42 ; (294)(379) (839) = 132.81 ; (294)(162) (839) = 56.77 ;

The expected table is:

The table contains expected ( E ) values (data).
Number of hours worked per week by volunteer type (expected)
Type of Volunteer 1-3 Hours 4-6 Hours 7-9 Hours
Community College Students 90.57 115.19 49.24
Four-Year College Students 103.00 131.00 56.00
Nonstudents 104.42 132.81 56.77

For example, the calculation for the expected frequency for the top left cell is

E = (row total)(column total) total number surveyed = 255 298 839 = 90.57

Calculate the test statistic: χ 2 = 12.99

  • χ 2 = Σ (i j) ( Observed - Expected ) 2 Expected = ( 111 - 90.57 ) 2 90.57 + ( 96 - 115.19 ) 2 115.19 + ( 48 - 49.24 ) 2 49.24 + ( 96 - 103.00 ) 2 103.00 +
  • ( 133 - 131.00 ) 2 131.00 + ( 61 - 56.00 ) 2 56.00 + ( 91 - 104.42 ) 2 104.42 + ( 150 - 132.81 ) 2 132.81 + ( 53 - 56.77 ) 2 56.77
  • = 417.3849 90.57 + 368.2561 115.19 + 1.5376 49.24 + 4 131.00 + 25 56.00 + 417.3849 90.57 + 180.0964 104.42 + 295.4961 132.81 + 14.2129 56.77
  • = 12.99

Distribution for the test: χ 4 2

df = ( 3 columns - 1 ) ( 3 rows - 1 ) = ( 2 ) ( 2 ) = 4

Graph:

Nonsymmetrical chi-square curve with values of 0 and 12.99 on the x-axis representing the test statistic of number of hours worked by volunteers of different types. A vertical upward line extends from 12.99 to the curve and the area to the right of this is equal to the p-value.

Probability statement: p-value = P ( χ 2 > 12.99 ) = 0.0113

Compare α and the p-value : Since no α is given, assume α = 0.05 . p-value = 0.0113 . α > p-value .

Make a decision: Since α > p-value , reject H o . This means that the factors are not independent. Because we reject the null hypothesis, we should look at the percentages. We are interested in whether there is a difference in the type of volunteers hours, so we are interested in the row percentages.

Row percent calculations:
Type of volunteer > 1-3 Hours 4-6 Hours 7-9 Hours Row Total
Community College Students 111/255=43.53% 96/255=37.65% 48/255=18.82% 255
Four-Year College Students 96/290=33.10% 133/290=45.86% 61/290=21.03% 290
Nonstudents 91/294=30.95% 150/294=51.02% 53/294=18.02% 294
Column Total 298 379 162 839

It appears that the community college students mainly volunteer for 1-3 hours on average (43.53% of them), while more 4-year college and non-students volunteer for 4-6 (45.86% and 51.02% respectively) hours on average.

Conclusion: At a 5% level of significance, from the data, there is sufficient evidence to conclude that the number of hours volunteered and the type of volunteer aredependent on one another.

For the above example, if there had been another type of volunteer, teenagers, what would the degrees of freedom be?

De Anza College is interested in the relationship between anxiety level and the need to succeed in school. A random sample of 400 students took a test that measuredanxiety level and need to succeed in school. The table shows the results. De Anza College wants to know if anxiety level and need to succeed in school are independentevents.

Need to succeed in school vs. anxiety level
Need to Succeed in School High
Anxiety
Med-high
Anxiety
Medium
Anxiety
Med-low
Anxiety
Low
Anxiety
Row Total
High Need 35 42 53 15 10 155
Medium Need 18 48 63 33 31 193
Low Need 4 5 11 15 17 52
Column Total 57 95 127 63 58 400

How many high anxiety level students are expected to have a high need to succeed in school?

The column total for a high anxiety level is 57. The row total for high need to succeed in school is 155. The sample size or total surveyed is 400.

E = (row total)(column total) total surveyed = 155 57 400 = 22.09

The expected number of students who have a high anxiety level and a high need to succeed in school is about 22.

If the two variables are independent, how many students do you expect to have a low need to succeed in school and a med-low level of anxiety?

The column total for a med-low anxiety level is 63. The row total for a low need to succeed in school is 52. The sample size or total surveyed is 400.

  • E = (row total)(column total) total surveyed =
  • The expected number of students who have a med-low anxiety level and a low need to succeed in school is about:
  • E = (row total)(column total) total surveyed = 8.19
  • 8
Practice Key Terms 1

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Collaborative statistics using spreadsheets. OpenStax CNX. Jan 05, 2016 Download for free at http://legacy.cnx.org/content/col11521/1.23
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Collaborative statistics using spreadsheets' conversation and receive update notifications?

Ask