Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Is your random number generator working? Use your calculator’s RandInt function to generate 200 digits from 0 to 9 and store them in a list.

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

b. Carry out a test at the α=0.05 significance level. Hint: To obtain the observed

counts, make a histogram of the list containing the 200 random digits, and use the trace feature to see how many of each digit were generated. You may have to adjust your window to go from 0.5to9.5 with an increment of 1

c. Assuming that a student’s calculator is working properly, what is the probability that the student will make a Type I error in part (b)?

d. Suppose that 25 students in an AP® Statistics class independently do this exercise for homework and that all of their calculators are working properly. Find the probability that at least one of them makes a Type I error.

Short Answer

Expert verified

Part (a)

H0:p0=p1=p2=p3=p4=p5=p6=p7=p8=p9=0.1H1:AtleastoneofthePi'sisincorrect

Part (b) There is not enough proof to reject the claim of random digits.

Part (c) 0.05

Part (d)P(Atleastoneofthe25maketypeIerror)=0.7226

Step by step solution

01

Part (a) Step 1: Given information

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

02

Part (a) Step 2: Calculation

Each digit has the same number of different outcomes, and there are a total of ten digits. As a result, the likelihood of any arbitrary digit is 1 in 10:

p=110=0.1

The null hypothesis states that the category variable's given distribution is correct.

H0:p0=p1=p2=p3=p4=p5=p6=p7=p8=p9=0.1

The alternative hypothesis is that the categorical variable's indicated distribution is incorrect.

H1:AtleastoneofthePi'sisincorrect

03

Part (b) Step 1: Calculation

Find the chi-square subtotals and observed frequencies.

The observed frequencies obtained by entering randInt(0,9,200) into the calculator are represented by O

The test-statistic is χ2=3.5

The degree of freedom is df=c1=101=9

The P-value is the chance of having the test statistic's value, or a value that is more than extreme.

The P-value is the number in the column of Table having the χ2-value in the row df=9:

P>0.25

If the P-value is equal or lesser the significance level, then the null hypothesis is rejected:

P>0.05FailtorejectH0

04

Part (c) Step 1: Calculation

The probability of a Type I error is the α-value. Therefore, the possibility of a Type I error is α=0.05

05

Part (d) Step 1: Calculation

Multiplication rule

P(AB)=P(AandB)=P(A)×P(B)

Complement rule:

P(Ac)=P(notA)=1P(A)

Result part (c):

P(TypeIerror)=0.05

Using the complement rule:

P(NoTypeIerror)=1P(TypeIerror)=1-0.05=0.95

Assuming that the 25pupils are self-contained, the following multiplication rule can be used to separate events:

=P(NoTypeIerror)×P(NoTypeIerror)×...×P(NoTypeIerror)25repetitions=(P(NoTypeIerror))2=0.9525=0.2774

Using the compliment rule

P(Atleastoneofthe25maketypeIerror)=1P(Noneofthe25maketypeIerro)=10.2774=07226

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

Python eggs How is the hatching of water python eggs influenced by the temperature of

the snake’s nest? Researchers randomly assigned newly laid eggs to one of three water

temperatures: hot, neutral, or cold. Hot duplicates the extra warmth provided by the

mother python, and cold duplicates the absence of the mother. Here are segmented bar graphs showing the results of the experiment. Describe what you see.

Popular kids Who were the popular kids at your elementary school? Did they get good grades or have good looks? Were they good at sports? A study was performed in Michigan to examine the factors that determine social status for children in grades 4,5,and 6. Researchers administered a questionnaire to a random sample of 478students in these grades. One of the questions asked, "What would you most like to do at school: make good grades, be good at sports, or be popular?" The two-way table summarizes the students' responses. Is there convincing evidence of an association between gender and goal for students in grades 4,5,and 6?

A random sample of traffic tickets given to motorists in a large city is examined. The tickets are classified according to the race or ethnicity of the driver. The results are summarized in the following table.

The proportion of this city's population in each of the racial/ethnic categories listed is as follows.

We wish to test H0: The racial/ethnic distribution of traffic tickets in the city is the same as the racial/ethnic distribution of the city's population.

The category that contributes the largest component to the χ2test statistic is a. White, with 12.4fewer tickets than expected.

b. White, with 12.4more tickets than expected.

c. Hispanic, with 6.16fewer tickets than expected.

d. Hispanic, with 6.16more tickets than expected.

What’s your sign? 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 of 4344 people:

If births are spread uniformly across the year, we expect all 12 signs to be equally likely. Do these data provide convincing evidence at the 1% significance level that all 12 signs are not equally likely?

Skittles® Statistics teacher Jason Mole sky contacted Mars, Inc., to ask about the color distribution for Skittles candies. Here is an excerpt from the response he received: “The original flavor blend for the Skittles Bite Size Candies is lemon, green apple, orange, strawberry and grape. They were chosen as a result of consumer preference tests we conducted. The flavor blend is 20 percent of each flavor.”

a. State appropriate hypotheses for a significance test of the company’s claim.

b. Find the expected counts for a random sample of 60 candies.

c. How large a χ2test statistic would you need to have significant evidence against the company’s claim at the α=0.05 level? At the α=0.01 level?

d. Create a set of observed counts for a random sample of 60 candies that gives a P-value between 0.01 and 0.05 Show the calculation of your chi-square test statistic.

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