Question

The data below shows the age and favorite type of music of 779 randomly selected people. Age 15-21 21-30 30-40 40-50 Country

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

Here, we have to use chi square test for independence of two categorical variables.

Null hypothesis: H0: Two categorical variables music type and age are independent.

Alternative hypothesis: Ha: Two categorical variables music type and age are dependent.

We are given level of significance = α = 0.05

Test statistic formula is given as below:

Chi square = ∑[(O – E)^2/E]

Where, O is observed frequencies and E is expected frequencies.

E = row total * column total / Grand total

We are given

Number of rows = r = 4

Number of columns = c = 4

Degrees of freedom = df = (r – 1)*(c – 1) = 3*3 = 9

α = 0.05

Critical value = 16.91898

(by using Chi square table or excel)

Calculation tables for test statistic are given as below:

Observed Frequencies

Music Type

Age

Country

Rock

Pop

Classical

Total

15 to 21

21

45

90

33

189

21 to 30

68

55

42

48

213

30 to 40

65

47

31

57

200

40 to 50

60

39

25

53

177

Total

214

186

188

191

779

Expected Frequencies

Music Type

Age

Country

Rock

Pop

Classical

Total

15 to 21

51.92041

45.12709

45.61232

46.34018

189

21 to 30

58.51348

50.85751

51.40436

52.22465

213

30 to 40

54.94223

47.75353

48.26701

49.03723

200

40 to 50

48.62388

42.26187

42.7163

43.39795

177

Total

214

186

188

191

779

Calculations

(O - E)

-30.9204

-0.12709

44.38768

-13.3402

9.486521

4.14249

-9.40436

-4.22465

10.05777

-0.75353

-17.267

7.962773

11.37612

-3.26187

-17.7163

9.602054

(O - E)^2/E

18.41418

0.000358

43.19591

3.840304

1.538006

0.337418

1.720517

0.341747

1.841182

0.01189

6.177089

1.293013

2.661577

0.251759

7.347719

2.124512

Test Statistic = Chi square = ∑[(O – E)^2/E] = 91.09718

χ2 statistic = 91.09718

P-value = 0.0000

(By using Chi square table or excel)

P-value < α = 0.05

So, we reject the null hypothesis

There is sufficient evidence to conclude that two categorical variables music type and age are dependent.

There is sufficient evidence to conclude that music type is dependent on age.

Add a comment
Know the answer?
Add Answer to:
The data below shows the age and favorite type of music of 779 randomly selected people....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Is there a generation gap in the type of music that people listen to? The accompanying...

    Is there a generation gap in the type of music that people listen to? The accompanying table represents the type of favorite music for a sample of 1,000 respondents classified according to their age groups. At the 0.01 level of significance, is there evidence of a relationship between favorite type of music and age group? EClick the icon to view the table State the null and alternative hypotheses to test Ho T123 = T4 i Type of favorite music classified...

  • Is there a generation gap in the type of music that people listen to? The accompanying...

    Is there a generation gap in the type of music that people listen to? The accompanying table represents the type of favorite music for a sample of 1,000 respondents classified according to their age groups. At the 0.10 level of significance, is there evidence of a relationship between favorite type of music and age group? Click the icon to view the table. State the null and alternative hypotheses to test Но: Hа: Calculate the test statistic. XSTAT (Round to two...

  • NUMBER OF PEOPLE 10.2 10.0 10.1 8.5 10.2 8.2 8 Source: United States Census. 11. In...

    NUMBER OF PEOPLE 10.2 10.0 10.1 8.5 10.2 8.2 8 Source: United States Census. 11. In the Sanitary District of Chicago, operating engineers are hired on of a competitive civil-service examination. In 1966, there were 223 appl for 15 jobs. The exam was held on March 12; the test scores are s arranged in increasing order. The height of each bar in the histogram next page) shows the number of people with the correspondin examiners were charged with rigging the...

  • estimate the average age at which multiple sclerosis patients were diagnosed with the condition for the...

    estimate the average age at which multiple sclerosis patients were diagnosed with the condition for the first time in a given city. How big should the sample be? Define your procedures for this estimate (if necessary, set your own values of unknown parameters, based on statistical theory). In Table 1 you will find all ages of this patient population. 54 58 56 48 62 59 55 56 60 52 53 61 56 56 53 37 71 62 39 61 54...

  • The accompanying table provides data for the sex, age, and weight of bears. For sex, let...

    The accompanying table provides data for the sex, age, and weight of bears. For sex, let 0 represent female and let 1 represent male. Letting the response (y) varieble represent weight, use the dummy variable of sex and the variable of age and to find the multiple regression equation, Use the equation to find the predicted weight of a bear with the characteristics given below. Does sex appear to have much of an effect on the weight of a bear?...

  • Conduct a formal hypothesis test of the claim that the mean longevity is less than 57...

    Conduct a formal hypothesis test of the claim that the mean longevity is less than 57 days. Test at significance α=0.05. Your written summary of this test must include the following: Your null and alternate hypotheses in the proper format. The type of distribution you used to construct the interval (t or normal). The P-value and its logical relationship to α (≤ or >). Your decision regarding the null hypothesis: reject or fail to reject. A statement regarding the sufficiency/insufficiency...

  • Problem 1: Confidence Interval for Percentage of B’s. The data set “STAT 250 Final Exam Scores”...

    Problem 1: Confidence Interval for Percentage of B’s. The data set “STAT 250 Final Exam Scores” contains a random sample of 269 STAT 250 students’ final exam scores (maximum of 80) collected over the past two years. Answer the following questions using this data set. a) What proportion of students in our sample earned B’s on the final exam? A letter grade of B is obtained with a score of between 64 and 71 inclusive. Hint: You can do this...

  • The following data represents the age of 30 lottery winners. 20 31 33 33 34 35...

    The following data represents the age of 30 lottery winners. 20 31 33 33 34 35 35 39 41 42 44 47 48 49 52 52 53 53 56 58 59 60 61 61 63 63 63 70 72 86 Complete the frequency distribution for the data. Age Frequency 20-29 30-39 40-49 50-59 60-69 70-79 80-89

  • RANGES FREQUENCY RELATIVE FREQUENCY CUMULATIVE REL. FREQ. 1 - 10 11 - 20 21 - 30 31 - 40...

    RANGES FREQUENCY RELATIVE FREQUENCY CUMULATIVE REL. FREQ. 1 - 10 11 - 20 21 - 30 31 - 40 41 - 50 51 - 60 61 - 70 71 - 80 81 - 90 91 - 100 '= 100 DATA VALUES?? SO, WHAT DOES A FREQUENCY TABLE TELL US? If you wrote each of the above data values on a ping pong ball,, put them in a jar and blindly pulled one out: What is the probability that this ball...

  • Problem 4: Variables that may affect Grades The data set contains a random sample of STAT 250 Final Exam Scores out of 80 points. For each individual sampled, the time (in hours per week) that the stu...

    Problem 4: Variables that may affect Grades The data set contains a random sample of STAT 250 Final Exam Scores out of 80 points. For each individual sampled, the time (in hours per week) that the student spent participating in a GMU club or sport and working for pay outside of GMU was recorded. Values of 0 indicate the students either does not participate in a club or sport or does not work a job for pay. The goal of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT