Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I am reading Ruppert's Statistics and Data Analysis for Financial Engineering, which contains the following theorem:

Let $Y_1$, $...$ , $Y_n$ be an i.i.d. sample with a CDF $F$. Suppose that $F\;$ has a density $f\;$ that is continuous and positive at $F^{-1}(q)$, 0 < $q$ < 1. Then for large $n\;$, the $q^{th}$ sample quantile is approximately normally distributed with mean equal to the population quantile $F^{-1}(q)$ and variance equal to:

$$ \frac{q(1-q)}{n \left[f\;\left(F^{-1}(q)\right)\right]^2} $$

However, consider a Normal density with mean $\mu$ and variance $\sigma^2$. The distribution of the mean of $n\;$ samples will have mean $\mu$ and variance $\sigma^2/n$. If I am understanding it correctly, for q = 0.5 the above formula gives the variance as $$ \frac{\pi\sigma^2}{2n} $$

What am I missing here? Any insights are appreciated.

share|improve this question
3  
Although the population mean may equal the population median, the sample mean and sample median are not always the same and do not have the same sampling distributions. – whuber Aug 27 '11 at 14:53
Actually it's just the opposite: var(median) > var(mean). – Ringold Aug 27 '11 at 19:31
you're right; I deleted my previous comment – Andre Holzner Aug 27 '11 at 20:31

1 Answer

As @whuber said in a comment, the formula you cite for the variance of a sample quantile is correct, as is that you give for the sample median in the normal case. The sample mean and sample median have different distributions, and in fact the median has higher variance in the normal case.

In R, you could estimate the SD of the sample median for the normal case as follows:

n <- 100; n.rep <- 1000
x <- matrix(rnorm(n*n.rep), ncol=n)
sd(apply(x, 1, median)) # 0.126
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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