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

Regulating guns The National Gun Policy Survey asked a random sample of adults, "Do you think there should be a law that would ban possession of handguns except for the police and other authorized persons?" Here are the responses, broken down by the respondent's level of education:

Do these data provide convincing evidence at the α=0.05level of an association between education level and opinion about a handgun ban in the adult population?

Is astrology scientific? The General Social Survey (GSS) asked a random sample of adults their opinion about whether astrology is very scientific, sort of scientific, or not at all scientific. Here is a two-way table of counts for people in the sample who had three levels of higher education:

a. State appropriate hypotheses for performing a chi-square test for independence in this setting.

b. Compute the expected counts assuming that H0is true.

c. Calculate the chi-square test statistic, df, and P-value.

d. What conclusion would you draw?

All current-carrying wires produce electromagnetic (EM) radiation, including the electrical wiring running into, through, and out of our homes. High-frequency EM radiation is thought to be a cause of cancer. The lower frequencies associated with household current are generally assumed to be harmless. To investigate the relationship between current configuration and type of cancer, researchers visited the addresses of a random sample of children who had died of some form of cancer (leukemia, lymphoma, or some other type) and classified the wiring configuration outside the dwelling as either a high-current configuration (HCC) or a low-current configuration (LCC). Here are the data:

Computer software was used to analyze the data. The output included the value X2=0.435

Which of the following is the expected count of cases with lymphoma in homes with an HCC?

a. 79×31215

b. 10×21215

c. 79×3110

d. 136×31215

e. None of these

You say tomato The paper “Linkage Studies of the Tomato” (Transactions of the Canadian Institute, 1931) reported the following data on phenotypes resulting from crossing tall cut-leaf tomatoes with dwarf potato-leaf tomatoes. We wish to investigate whether the following frequencies are consistent with genetic laws, which state that the phenotypes should occur in the ratio 9:3:3:1

Assume that the conditions for inference are met. Carry out a test at the α=0.05 significance level of the proposed genetic model.

No chi-square A school’s principal wants to know if students spend about the same amount of time on homework each night of the week. She asks a random sample of 50 students to keep track of their homework time for a week. The following table displays the average amount of time (in minutes) students reported per night.

Explain carefully why it would not be appropriate to perform a chi-square test for goodness of fit using these data.

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