Moran Product-of-Spacings Goodness-of-Fit Test with Estimated Parameters
The method tests whether a sample follows a chosen distribution family when the parameters must be estimated from the same data. The parameters are estimated by maximum product of spacings, which maximises the product of the probability gaps between consecutive ordered observations under the fitted distribution and works even where maximum likelihood fails, such as for some extreme value shapes. The minimised negative log product, Moran's statistic, is then standardised following Cheng and Stephens so that it can be compared with a chi-square distribution.
같은 자료에서 모수를 추정해야 할 때 표본이 선택한 분포족을 따르는지 검정합니다. 모수는 최대 간격곱 추정으로 구하는데, 이는 적합한 분포에서 순서대로 놓인 관측값 사이의 확률 간격들의 곱을 최대로 하는 방법이며 일부 극단값 형태처럼 최대우도가 실패하는 경우에도 쓸 수 있습니다. 최소화된 음의 로그 곱인 모란 통계량을 쳉과 스티븐스의 방식으로 표준화하여 카이제곱 분포와 비교합니다.
Is the chosen distribution, with its parameters estimated from my data, an adequate description of my sample?
자료에서 모수를 추정한 선택 분포가 내 표본을 적절히 설명합니까?
The method returns the maximum product of spacings parameter estimates, Moran's statistic, the standardised test statistic with its chi-square degrees of freedom and p-value, and the fitted distribution function at the ordered data.
When to use Moran Product-of-Spacings Goodness-of-Fit Test with Estimated Parameters
- You need to check the fit of an extreme value, Weibull, gamma or similar distribution with estimated parameters.
- Maximum likelihood is unstable or unbounded for your distribution, for example a three-parameter extreme value fit.
- Your data are continuous with few or no ties.
When to use something else
- You only need to test normality: use Shapiro-Wilk Test
- You want to fit an extreme value model and report return levels: use Generalized Extreme Value (GEV) Analysis
- Your data are counts in categories: use Chi Square Goodness of Fit Test
Assumptions and requirements
- Independent observations from a continuous distribution
- The chi-square approximation is less accurate below about 20 observations
- Ties are handled by replacing zero spacings with the fitted density
What the analysis reports
- Parameter estimates by maximum product of spacings
- Moran's statistic
- Standardised statistic, degrees of freedom and p-value
- Fitted distribution function at the ordered data
How to report it
A Moran product-of-spacings goodness-of-fit test of the [distribution] distribution with estimated parameters gave T = [value], chi2([value]), p = [value] (N = [value]).
Related methods
- Generalized Extreme Value (GEV) Analysis
- Peaks Over Threshold (GPD) Analysis
- Moran Test of Exponentiality
- Greenwood Spacings Test of Uniformity on an Interval
- Chi Square Goodness of Fit Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Moran Product-of-Spacings Goodness-of-Fit Test with Estimated Parameters on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.