Skip to main content

Question 1 Suppose that you want to test the claim that the mean salary of veterinarians is $91,350. You collect salary information from...

We are asked to test the claim of the mean salary being $91,350 (`mu = 91350 ` ) using a sample of 60 salaries with a mean of $90,350 (` bar(x)=90350 ` ) and a population standard deviation of $5000 (s=5000.) ** I will recalculate if this is a sample standard deviation at the end.**


(a) The sample mean is not the sought after population mean, but we do not reject the claim outright. We would not expect the sample mean to be exactly 91350; there is some variability expected. If we were to do another sample of 60 salaries it is unlikely that the mean of this new sample would be 90350.


However, we do expect the sample means to be "close" to the population mean. In fact an application of the central limit theorem tells us that as the sample size grows, the means of the samples will be forced closer to the true population mean.


We use hypothesis testing to determine if the sample mean is outside of the expected range of sample means assuming that the population mean is actually 91350. Hypothesis tests take into consideration the size of the sample and how confident we want to be on accepting/rejecting the claim.


(b) You may need to adapt this to your 6-step process:


`H_0:mu=91350 ` This is the null hypothesis and our claim.


`H_1:mu != 91350 ` This is the alternative hypothesis.


With `alpha=.1 ` we compute the critical value(s):


Since the alternative is two-tailed (we allow for the actual mean to be above or below 91350) we look for the z-value with area .95 to the left (or .05 to the right.) Here z=1.645 (Some texts will use 1.64 or 1.65.) ((This number can be acquired from a standard normal table or from technology.))


The critical values are `z=+- 1.645 `


We now compute the test value. We have `n=60,sigma=5000,bar(x)=90350, mu=91350 ` so the test value is `z=(90350-91350)/(5000/sqrt(60))~~-1.549`


Since the test value is within the noncritical region (-1.549>-1.645) we do not reject the null hypothesis.


There is insufficient evidence to reject the claim that the mean salary is $91,350.


**********************************************************


If this was the sample standard deviation we run a t-test: The sample is large enough that the critical values and test values are virtually the same with the same answer.

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...

What warning does Chuchundra issue to Rikki?

Chuchundra, the sniveling, fearful muskrat who creeps around walls because he is too terrified to go into the center of a room, meets Rikki in the middle of the night. He insults Rikki by begging him not to kill him. He then insults him by suggesting that Nag might mistake Chuchundra for Rikki. He says, "Those who kill snakes get killed by snakes."  He issues this warning to Rikki not to help keep Rikki safe but as a way of explaining why Rikki's presence gives him, Chuchundra, more reason to fear.  Chuchundra starts to tell Rikki what Chua the rat told him--but breaks it off when he realizes he might be overheard by Nag. He says, "Nag is everywhere, Rikki-Tikki." Rikki threatens to bite Chuchundra to get him to talk. Even then, Chuchundra won't overtly reveal any information. But he does say, "Can't you hear, Rikki-Tikki?" This is enough of a clue for the clever mongoose. He listens carefully and can just make out the "faintest scratch-s...