Skip to content

Commit 4fab3a6

Browse files
committed
Fix formatting of array notation in documentation
1 parent e8a8e2f commit 4fab3a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/distributions/parameter-estimation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ L-skewness is bounded in $[-1, 1]$ and L-kurtosis in $[\frac{1}{4}(5\tau_3^2 - 1
186186
b_r = \frac{1}{n}\sum_{j=r+1}^{n} \frac{\binom{j-1}{r}}{\binom{n-1}{r}} \, x_{j:n}, \quad r = 0, 1, 2, \ldots
187187
```
188188

189-
The `Statistics.LinearMoments()` method computes these sample PWMs and returns the array $[\lambda_1,\; \lambda_2,\; \tau_3,\; \tau_4]$.
189+
The `Statistics.LinearMoments()` method computes these sample PWMs and returns the array $[\lambda_1, \lambda_2, \tau_3, \tau_4]$.
190190

191191
**Why L-moments are preferred for small samples.** Conventional moments involve powers of deviations from the mean, so a single extreme observation can dominate the skewness or kurtosis estimate. L-moments use only linear combinations of order statistics, which makes them far more robust to outliers and nearly unbiased even for samples as small as $n = 10$. For hydrological applications where sample sizes are often 30--60 years of annual data, this robustness is critical.
192192

@@ -389,7 +389,7 @@ s = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2}
389389
\hat{\kappa} = \frac{n(n+1)}{(n-1)(n-2)(n-3)} \sum_{i=1}^{n}\left(\frac{x_i - \bar{x}}{s}\right)^4 - \frac{3(n-1)^2}{(n-2)(n-3)}
390390
```
391391

392-
The `Statistics.ProductMoments()` method returns these four quantities as the array $[\bar{x},\; s,\; \hat{\gamma},\; \hat{\kappa}]$.
392+
The `Statistics.ProductMoments()` method returns these four quantities as the array $[\bar{x}, s, \hat{\gamma}, \hat{\kappa}]$.
393393

394394
MOM estimation sets the theoretical moments equal to the sample moments and solves for the distribution parameters. For a two-parameter distribution, only the first two moments (mean and standard deviation) are needed. For three-parameter distributions, skewness is also required.
395395

0 commit comments

Comments
 (0)