Skip to main content

Write a hypothesis test for each parameter. State the conclusion for each hypothesis test in brief paragraph form. The data to use is in the...

We are told that in a sample of 47 18-23 year-olds 37 are registered to vote, while the remaining 10 are not registered. Assuming that we are interested in the percentage of this age group who are registered to vote, the population proportion p is the percentage of 18-23 year old people who are registered to vote.


(1) We can create a confidence interval using this sample -- the sample size is adequate. (Typically we would want n>30.)


The point estimate we use is `hat(p)=37/47~~.7872 ` . Then for the confidence interval we add/subtract the margin of error given by the product of the confidence factor and the standard error. Assuming a 95% confidence we have:


`.7872 - 1.96sqrt((.7872 * .2128)/47)<p<.7872+1.96sqrt((.7872 * .2128)/47) `


`"or" .6701<p<.9042`


Thus we can say with 95% certainty that the population proportion lies in this interval.


(2) In order to run an hypothesis test, we need a null hypothesis. Since you have not provided this, I will provide an example so that you can redo with the correct given information.


Suppose that you are told that only 60% of people in the age range from 18 to 23 are registered to vote.


Further suppose that you believe the proportion is higher.


The null hypothesis is that p=.6, while the alternative hypothesis is that p>.6


The alternative test will be our claim.


This is a one-tailed test, so the critical value is 1.645. A test value greater than this lies in the critical region.


The test value is computed by taking the difference of the observed value from the sample and the expected value from the null hypothesis divided by the standard error:


` "tv"=(.7872 - .6)/sqrt((.6 * .4)/47)~~2.62`


 Since this value is greater than the critical value we reject the null hypothesis. Also, the p-value method gives p approximately .004 which is less than the alpha of .05 so we reject the null.


We conclude that there is sufficient evidence to support the claim that p>.6

Comments

Popular posts from this blog

Is there a word/phrase for "unperformant"?

As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...

A man has a garden measuring 84 meters by 56 meters. He divides it into the minimum number of square plots. What is the length of the square plots?

We wish to divide this man's garden into the minimum number of square plots possible. A square has all four sides with the same length.Our garden is a rectangle, so the answer is clearly not 1 square plot. If we choose the wrong length for our squares, we may end up with missing holes or we may not be able to fit our squares inside the garden. So we have 84 meters in one direction and 56 meters in the other direction. When we start dividing the garden in square plots, we are "filling" those lengths in their respective directions. At each direction, there must be an integer number of squares (otherwise, we get holes or we leave the garden), so that all the square plots fill up the garden nicely. Thus, our job here is to find the greatest common divisor of 84 and 56. For this, we prime factor both of them: `56 = 2*2*2*7` `84 = 2*2*3*7` We can see that the prime factors and multiplicities in common are `2*2*7 = 28` . This is the desired length of the square plots. If you wi...