Johnson's Modified t Test for Skewed Data
Johnson's modified t test is a one-sample test of the mean that corrects Student's t statistic for skewness in the population. Two small terms built from the sample third central moment are added to the numerator, so that tests and intervals for the mean keep closer to their nominal error rates when the data are skewed.
존슨 수정 t 검정은 모집단의 비대칭을 고려해 스튜던트 t 통계량을 보정한 단일표본 평균 검정입니다. 표본 3차 중심적률로 만든 두 개의 작은 보정항을 분자에 더해, 자료가 한쪽으로 치우쳐 있어도 평균에 대한 검정과 신뢰구간이 명목 오류율에 더 가깝게 유지되도록 합니다.
Is the mean of a clearly skewed variable, such as costs, waiting times or concentrations, different from a reference value, and what is a confidence interval for that mean that respects the skewness?
비용, 대기시간, 농도처럼 한쪽으로 크게 치우친 변수의 평균이 기준값과 다른지, 그리고 그 치우침을 반영한 평균의 신뢰구간은 어떻게 되는지 알고 싶습니다.
The statistic adds the skewness corrections to the difference between the sample mean and the reference value and divides by the usual standard error, then compares the result with a t distribution on n - 1 degrees of freedom. The confidence interval collects every reference value the test would not reject, and Student's t is shown alongside for comparison.
When to use Johnson's Modified t Test for Skewed Data
- You want to test or estimate a population mean (not a median) and the data are moderately skewed.
- The sample is moderate in size, so Student's t may be inaccurate but there is enough data to estimate the third moment.
- You need a confidence interval for the mean that is asymmetric in the direction of the skew.
When to use something else
- The data are roughly symmetric: use One-Sample t-test
- The median or another robust location is of interest rather than the mean: use Median and Percentile Confidence Intervals
- Heavy outliers dominate the sample: use Yuen's Trimmed Means t Test
Assumptions and requirements
- Independent observations from one population
- Finite third moment of the population
- Skewness moderate relative to the sample size (very small samples give an unstable third moment)
What the analysis reports
- Modified t statistic, degrees of freedom and p-value
- Confidence interval for the mean by test inversion
- Sample mean, SD, third central moment and skewness
- Student's t statistic and interval for comparison
How to report it
Johnson's modified t test showed that the mean [value] (M = [value], skewness = [value]) differed from [value], t([value]) = [value], p = [value], 95% CI [[value], [value]].
Related methods
- One-Sample t-test
- Yuen's Trimmed Means t Test
- Bootstrap Confidence Intervals (BCa)
- Wilcoxon Signed Rank Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-9.
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-9).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Johnson's Modified t Test for Skewed Data on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.