Use your calculator’s RandInt function to generate 200 digits from 0to9and store them in a list.

(a) State appropriate hypotheses for a chi-square goodness-of-fit test to determine whether your calculator’s random number generator gives each digit an equal chance to be generated.

(b) Carry out the test. Report your observed counts, expected counts, chi-square statistic, P-value, and your conclusion

Short Answer

Expert verified

(a)The null and alternative hypotheses are:

H0:p1=p2=p3=p4=..=p10=0.10

Ha: At least one of thepiis incorrect

(b)There is insufficient evidence to reject the claim regarding the random digits claim.

Step by step solution

01

Part(a) Step 1: Given information

Use the RandInt function on your calculator to produce 200digits from 0to 9and save them in a list.

To establish whether your calculator's random number generator provides each digit an equal probability of being created, we'll need to state relevant hypotheses for a chi-square goodness-of-fit test.

02

Part(a) Step 2: Explanation

There are10 random digits, with the fraction of each digit chosen being the same.

The formula used here is

χ2=(O-E)2E

The probability of choosing one digit is:

p=110=0.10

03

Part (b) Step 1: Given information

Given in the question that, Use your calculator’s RandInt function to generate 200digits from0to 9and store them in a list.

We need to report our observed counts, expected counts, chi-square statistic, P-value, and your conclusion After the test.

04

Part(b) Step 2: Explanation

The following is how the test statistic is calculated:

Observed valueExpected value(O-E)(O-E)2
(O-E)2E
22
20
2
4
0.2
21
20
1
1
0.05
24
20
4
16
0.8
15
20
-5
25
1.25
17
20
-3
9
0.45
20
20
0
0
0
19
20
-1
1
0.05
21
20
1
1
0.05
18
20
-2
4
0.2
23
20
3
9
0.45




(O-E)E2=3.5
05

Part(b) Step 3: Test statistic 

The test statistic equation will be:

χ2=(O-E)2E

The degree of freedom can be calculated in a way that:

Degreeoffreedom=Numberofcategories-1=10-1=9

At 9degrees of freedom, the p-value will be0.941byusing the chi-square table. The p-value exceeds the significance level. In this scenario, the null hypothesis is not rejected.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Some people think recycled products are lower in quality than other products, a fact that makes recycling less practical. Here are data on attitudes toward coffee filters made of recycled paper from a random sample of adults:

(a) Make a bar graph that compares buyers’ and non-buyers’ opinions about recycled filters. Describe what you see

(b) Minitab output for a chi-square test using these data is shown below. Carry out the test. What conclusion do you draw?

What is the most important reason that students buy from catalogs? The answer may differ for different groups of students. Here are results for separate random samples of American and Asian students at a large midwestern university

(a) Should we use a chi-square test for homogeneity or a chi-square test of association/independence in this setting? Justify your answer. (b) State appropriate hypotheses for performing the type of test you chose in part (a). Minitab output from a chi-square test is shown below.

(c) Check that the conditions for carrying out the test are met.

(d) Interpret the P-value in context. What conclusion would you draw?

The University of Chicago’s General Social Survey (GSS) is the nation’s most important social science sample survey. For reasons known only to social scientists, the GSS regularly asks a random sample of people their astrological sign. Here are the counts of responses from a recent GSS:

12If births are spread uniformly across the year, we expect all 12 signs to be equally likely. Are these data inconsistent with that belief? Carry out an appropriate test to support your answer. If you find a significant result, perform a follow-up analysis

Seagulls by the seashore Do seagulls show a preference for where they land? To answer this question, biologists conducted a study in an enclosed outdoor space with a piece of shore whose area was made up of 56% sand, 29% mud, and 15% rocks. The biologists chose 200seagulls at random. Each seagull was released into the outdoor space on its own and observed until it landed somewhere on the piece of shore. In all, 128seagulls landed on the sand, role="math" localid="1650465230449" 61landed in the mud, and role="math" localid="1650465221489" 11landed on the rocks. Carry out a chi-square goodness-of-fit test. What do you conclude?

Researchers looked at a random sample of 1509full-page ads that show a model in magazines aimed at young men, at young women, or at young adults in general. They classified the ads as “not sexual” or “sexual,” depending on how the model was dressed (or not dressed). Here are the data:

The figure below displays Minitab output for a chi-square test using these data

a) Which type of chi-square test should be used in this case? Justify your answer.

(b) State an appropriate pair of hypotheses for the test you chose in part (a).

(c) Show how each of the numbers 60.94,424.8,and 12.835was obtained for the “notsexy, Women” cell

(d) Assuming that the conditions for performing inference are met, what conclusion would you draw? Explain

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free