Variable Transformations and Standardisation
Variable transformation applies a function such as log, square root, Box-Cox, Yeo-Johnson or rank-based inverse normal to change a variable's scale or shape, while standardisation rescales it to a common range.
변수 변환은 로그·제곱근·Box-Cox·Yeo-Johnson·순위 기반 역정규 변환 등으로 변수의 척도나 분포 모양을 바꾸는 것이고, 표준화는 변수를 공통 범위로 맞추는 것입니다.
My income variable is strongly right-skewed; which transformation should I use, and how do I choose the Box-Cox lambda?
소득 변수가 오른쪽으로 심하게 치우쳐 있는데, 어떤 변환을 써야 하고 Box-Cox 람다는 어떻게 정하나요?
Estimate lambda by maximising the profile log-likelihood of the Box-Cox (positive data) or Yeo-Johnson (any sign) transform and report it with its likelihood-ratio confidence interval. Compare skewness and normality before and after to judge whether the transformation helped.
When to use Variable Transformations and Standardisation
- A variable is skewed and a method assumes approximately normal values or residuals.
- Variables on different units must be put on a common scale.
- Proportions or bounded data need a variance-stabilising transform.
When to use something else
- The model can handle the distribution directly; use a generalised linear model.
- Interpretation on the original scale is essential; use robust or nonparametric methods instead.
Assumptions and requirements
- Box-Cox and log need strictly positive values; logit needs values strictly between 0 and 1.
- The lambda MLE targets normality of the transformed variable.
- Transformations are applied column by column.
What the analysis reports
- Transformed values (preview)
- Lambda with profile-likelihood CI
- Skewness and Shapiro-Wilk p before and after
- Histogram and Q-Q plot
How to report it
[Variable] was Box-Cox transformed with lambda = [value] (95% profile CI [[value], [value]]); skewness changed from [value] to [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Variable Transformations and Standardisation itself, at the same price.
- Centering by the mean — transform set to “center_mean”
- Centering by the median — transform set to “center_median”
- Scaling by the sum — transform set to “sum”
- Scaling by Euclidean length — transform set to “euclen”
- Scaling by the uncentred standard deviation — transform set to “ustd”
- Midrange standardization — transform set to “midrange”
- Max-abs scaling — transform set to “maxabs”
- Median/MAD standardization — transform set to “mad”
- Biweight robust standardization — transform set to “biweight”
- Huber robust standardization — transform set to “huber”
- Andrews wave robust standardization — transform set to “wave”
- AGK within-cluster standardization — transform set to “agk”
- Minimum spacing standardization — transform set to “spacing”
- L(p) standardization — transform set to “lp”
- Mean imputation of missing values — transform set to “z”; missing set to “replace_only”; replace with set to “mean”
- Median imputation of missing values — transform set to “z”; missing set to “replace_only”; replace with set to “median”
Related methods
- Box-Cox Transformation for Regression
- Shapiro-Wilk Test
- Probability Plots for Fitted Distributions (Q-Q and P-P)
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Variable Transformations and Standardisation on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.