2
$\begingroup$

When we do the t-test, we typically take the estimate for standard deviation to be the square root of the usual unbiased estimate of variance, $s$. However, there are other ways of estimating standard deviation. One that comes to mind is the square root of the (biased) MLE for variance, where we divide by $n$ instead of $n-1$. Another is interquartile range divided by 1.35, which is robust to extreme observations.

Does it matter which standard deviation estimate we use or just that we have to estimate the unknown standard deviation?

$\endgroup$
2
  • 2
    $\begingroup$ What matters most is that you clearly indicate how your results were obtained. If you hide this detail in the methods section and claim that 'a $t$-test' had a $p$-value of $x$, then most will assume you are using the unbiased estimator. $\endgroup$ Commented Jul 25, 2019 at 11:22
  • 1
    $\begingroup$ Certainly I'd report my particular method, but I'm wondering if it's at all legitimate to say that $\dfrac{\bar{x} - \mu_0}{\sqrt{\hat{\sigma}^2_{MLE}/n}} \sim t_n$ or $\dfrac{\bar{x} - \mu_0}{\sqrt{\widehat{IQR}/(1.35n)}} \sim t_n$, or if the distribution as $t_n$ depends on the particular standard deviation estimate. $\endgroup$
    – Dave
    Commented Jul 25, 2019 at 12:30

1 Answer 1

1
$\begingroup$

I am presuming we're sticking with the assumption of normality under which the t distribution for the t-statistic is derived.

The derivation of the t-distribution relies on the specific form of the denominator, and particular facts about it (such as that it is distributed as the square root of a chi-squared random variable on its d.f., and that it's independent of the numerator).

  1. $\frac{\bar{x}-\mu}{s_n/\sqrt n}$ is not distributed as a standard $t_{k}$ for any $k$; however, since $s_n = \sqrt\frac{n-1}{n} s$, it is a simple multiple of a standard $t_{n-1}$ (and thereby easy to deal with).

  2. Let's consider $\tilde{s}=IQR/1.35$

    Note that $\tilde{s}^2/k$ is not distributed as chi-squared($k$), nor even as any multiple of it, though as sample size grows it gets reasonably close. However, it is the case that $\tilde{t} = \frac{\bar{x}-\mu}{c\tilde{s}}$ is approximately $t_\nu$ for some $c$ and $\nu$, but the particular values for those will change with sample size. With a little investigation it's possible to write an approximate t-test based on mean and IQR. The d.f. tend to be smaller than $n-1$

    For example, at $n=5$, $\tilde{t} = \frac{\bar{x}-\mu}{\tilde{s}/c}$ (using $\text{IQR}=X_{(4)}-X_{(2)}$) is approximately $t_{1.75}$ when $c$ is somewhere around $3.4$

    There's not a smooth relationship of $c$ and $\nu$ with $n$ because of the way sample IQR tends to related to either one or two order statistics at different sample sizes, but one can find smooth relationships when splitting the sample sizes into the four possible $n \mod 4$ values (exactly what they are depends on how you define your sample quartiles).

    It looks like the loss of d.f. in large samples is not substantial.

    Naturally, power will be lost at the normal, because $\sigma^2$ is not being efficiently estimated; the statistic is "noisier".

$\endgroup$
4
  • $\begingroup$ This is along the lines of what I was looking for, but what about when we don't have normal data? That would be when I might be interested in alternative estimators of standard deviation. $\endgroup$
    – Dave
    Commented Jul 27, 2019 at 16:28
  • $\begingroup$ When you don't have normal data even the ordinary two-sample t-statistic doesn't have a t-distribution, so the whole premise of the question goes out the window. $\endgroup$
    – Glen_b
    Commented Jul 27, 2019 at 18:33
  • $\begingroup$ What about asymptotic properties? $\endgroup$
    – Dave
    Commented Jul 27, 2019 at 19:00
  • $\begingroup$ Your question appears to be a moving target. Ask a new question where you can specify the circumstances. $\endgroup$
    – Glen_b
    Commented Jul 28, 2019 at 0:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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