Question

*A cereal company claims that 38% of their boxes of cereal have prizes inside. You buy...

*A cereal company claims that 38% of their boxes of cereal have prizes inside. You buy a total of 20 boxes and find that 6 of the boxes had prizes in them. Test the hypothesis that the true proportion of boxes of cereal with prizes inside is different from 38%. Use an alpha level of .05*

```{r}
?t.test
```

Please make sure you solve in R-studio. Solving without giving me R-codes will not help me. It would also help if you write a brief explanation of what you did. Thanks in advance!

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

Sol:

Its a ztets from proportion:

Rcode:

Ztest_Prop = function(x,n,p) {
p_hat = x/n
diff=p_hat-p
se =sqrt(p*(1-p)/n)
zstat=diff/se
zstat1=abs(zstat)
pval = 2*pnorm(zstat1, lower.tail=FALSE)
c(Teststatistic=zstat,Pvalue=pval)
}
Ztest_Prop(6,20,p=0.38)

Output:

Teststatistic Pvalue
-0.73708 0.46107

ANSWER:

Ho:p=0.38

Ha:p not =0.38

alpha=0.05

z= -0.73708

p=0.46107

p>0.05

Fail to reject Ho

Accept Ho

There is no suffcient evidence at 5% level of significance to conlcude that

the true proportion of boxes of cereal with prizes inside is different from 38%.

Add a comment
Answer #2

Modern English is analytic (i.e., relatively uninflected), whereas Proto-Indo-European, the ancestral tongue of most of the modern European languages (e.g., German, French, Russian, Greek), was synthetic, or inflected. During the course of thousands of years, English words have been slowly simplified from the inflected variable forms found in Sanskrit, Greek, Latin, Russian, and German, toward invariable forms, as in Chinese and Vietnamese. The German and Chinese words for the noun man are exemplary. German has five forms: Mann, Mannes, Manne, Männer, Männern. Chinese has one form: ren. English stands in between, with four forms: man, man’s, men, men’s. In English, only nouns, pronouns (as in he, him, his), adjectives (as in big, bigger, biggest), and verbs are inflected. English is the only European language to employ uninflected adjectives; e.g., the tall man, the tall woman, compared to Spanish el hombre alto and la mujer alta. As for verbs, if the Modern English word ride is compared with the corresponding words in Old English and Modern German, it will be found that English now has only 5 forms (ride, rides, rode, riding, ridden), whereas Old English ridan had 13, and Modern German reiten has 16.

answered by: Gamesome Goshawk
Add a comment
Know the answer?
Add Answer to:
*A cereal company claims that 38% of their boxes of cereal have prizes inside. You buy...
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
  • A cereal company claims that the mean weight of the cereal in its packets is more...

    A cereal company claims that the mean weight of the cereal in its packets is more than 14 oz. The weights (in oz) of the cereal in a random sample of 8 cereal packets are listed below. You may assume the sample data comes from a population that follows a normal distribution. Using a 0.05 significance level, test the companies claim. State the null hypothesis H0. State the alternative hypothesis H1. What is the test statistic? State the alpha level....

  • The z-tests Help with this page is greatly appreciated. I dont understand how to show a full diagram. Thanks in advance :) The z-test 10.1 Assume that a treatment does have an effect and that th...

    The z-tests Help with this page is greatly appreciated. I dont understand how to show a full diagram. Thanks in advance :) The z-test 10.1 Assume that a treatment does have an effect and that the treatment effect is being evaluated with a z hypothesis test. If all factors are held constant, how is the outcome of the hypothesis test influenced by sample size? To answer this question, do the following two tests and compare the results. For both tests,...

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

  • Please use own words. Thank you. CASE QUESTIONS AND DISCUSSION > Analyze and discuss the questions...

    Please use own words. Thank you. CASE QUESTIONS AND DISCUSSION > Analyze and discuss the questions listed below in specific detail. A minimum of 4 pages is required; ensure that you answer all questions completely Case Questions Who are the main players (name and position)? What business (es) and industry or industries is the company in? What are the issues and problems facing the company? (Sort them by importance and urgency.) What are the characteristics of the environment in which...

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