2
$\begingroup$

In the OpenIntro text book, there is the following example:

Globally, the average sleep for a high school student is 7 hours.

The researchers at the rural school conducted a simple random sample of n = 110 students on campus. They found that these students averaged 7.42 hours of sleep and the standard deviation of the amount of sleep for the students was 1.75 hours.

So:

H0: mean sleep time = 7 hours

H1: mean sleep time != 7 hours

They then go on to calculate the p-value, which is the probability of seeing data that is at least as in favor of H1, assuming that H0 is correct.

So we need to quantify how likely it is to see a value of 7.42 or greater if the true mean is 7 (H0 correct). In order to quantify this, we surely need to know something about the true variation as well (H0 correct)? is the distribution tight? (in which case 7.42 is unlikely), or is it wide (in which case 7.42 seams reasonable).

but the true variation is unknown, only the sample variation is known.

I would like to get an understanding as to how the sample variation (or the later derived standard error of the sample) can give us insight into the true variation (assuming H0)

$\endgroup$
0

1 Answer 1

0
$\begingroup$

I think you are confusing some concepts, here's my explanation on this kind of hypothesis testing.

I would guess that the claim ``average sleep for a high school student is 7 hours'' would probably involve some sampling, but also knowledge from medicine, etc. Also it seems impossible to do this for all students in the world. How would you go about on getting the (population, true) standard deviation?

The standard error is a standard deviation of a statistic (like standard deviations of the mean). In the sample from a rural school they have obtained 110 sleeping times, where the average is 7.42 and the (sample) standard deviation (often noted as $s$) is 1.75.

You can use this to estimate the (population) standard deviation ($\sigma$), because $s^2$ is unbiased for $\sigma^2$. In other words, if you would gather all the sleeping hours from all the high school students around the word, then the variance would be about $1.75^2$. If $X$ would be the random variable 'sleeping time of a high school student' then $Var(X) \approx 1.75^2$.

The variable $X$ could have a very weird distribution (skewed or so), but that is not really of our interest. We are interested in 'how exceptional is 7.42 from the assumed population mean of 7?'. This implies that we are interested in the distribution of the sample mean $\overline X$ under $H_0$. We are not looking for an estimate of the distribution of $H_0$. This doesn't realy make sense.

It is however well know from the central limit theorem that the sample mean $\overline X$ has an asymptotic normal distribution with mean $\mu = 7$ and variance $\sigma^2/n$ (the square of the standard error). In other words the standard error is the standard deviation of the sample mean $\overline X$. Here the $\sigma^2$ is estimated by $s^2 = 1.75^2$, but because of this extra estimation $\overline X$ has an $t$ distribution with $108$ degrees of freedom. (Which would be a nearly normal distribution because the sample size is very high). A $z$-test would be appropriate.

Update:

An estimator is unbiased if its expected value is the true value it is estimating. Or in symbols: $$ E(\hat \mu) = \mu $$ This is a good thing, but it can be interpreted as 'when you have many samples, then on average estimator $\hat \mu$ will have the same value as $\mu$'.

The default example is that the sample average $\overline X = \hat \mu$ is an unbiased estimator of the true sample mean $\mu$. If you would have many samples, then on average the sample mean will be the true value of the population mean.

The same is valid for the sample variance. It can be shown that $$ s^2 = \dfrac{1}{n-1} \sum_i (x_i - \overline x)^2 $$ is an unbiased estimator of $\sigma^2 = Var(X)$.

$\endgroup$
5
  • $\begingroup$ I updated my question. but the key part of your answer I like is about s being unbiased for σ. can you elaborate? $\endgroup$
    – kmace
    May 31, 2017 at 16:47
  • $\begingroup$ I've updated the answer ;) $\endgroup$
    – dietervdf
    May 31, 2017 at 17:08
  • 2
    $\begingroup$ @kmace Actually, $s$ is not unbiased for $\sigma$ in general, it is $s^2$ that is unbiased for $\sigma^2$. The two are not equivalent and dietervdf did not make any claim about $s$. $\endgroup$
    – Chris Haug
    May 31, 2017 at 17:31
  • 1
    $\begingroup$ actually I did, I'll update the answer, thanks for noticing $\endgroup$
    – dietervdf
    May 31, 2017 at 17:33
  • $\begingroup$ unbiasedness isn't all that big a deal, though. If you used $s^2_n$ everything would still make sense, you'd just get a scaling factor in the null distribution $\endgroup$
    – Glen_b
    Jun 1, 2017 at 1:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.