From c14d5e37d6926f5d510b357739e124ad65d96bec Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 9 May 2025 14:21:07 -0700 Subject: [PATCH] do link checking --- rust/doc/src/commands/matrix/matrix.md | 10 +++++----- rust/doc/src/commands/statistics/examine.md | 2 +- rust/doc/src/commands/statistics/frequencies.md | 2 +- .../doc/src/commands/statistics/logistic-regression.md | 6 +++--- rust/doc/src/commands/statistics/npar-tests.md | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/rust/doc/src/commands/matrix/matrix.md b/rust/doc/src/commands/matrix/matrix.md index 33a147c7b5..06181cd6e8 100644 --- a/rust/doc/src/commands/matrix/matrix.md +++ b/rust/doc/src/commands/matrix/matrix.md @@ -941,23 +941,23 @@ COMPUTE v(GRADE(-v))=v. /* Sort v in descending order. If \\({\bf M}_{kk} ≠ 0\\), then: - \\[ + $$ \begin{align} A_{kk} &= 1/M_{kk},\\\\ A_{ik} &= -M_{ik}/M_{kk} \text{ for } i ≠ k,\\\\ A_{kj} &= M_{kj}/M_{kk} \text{ for } j ≠ k,\\\\ A_{ij} &= M_{ij} - M_{ik}M_{kj}/M_{kk} \text{ for } i ≠ k \text{ and } j ≠ k. \end{align} - \\] + $$ If \\({\bf M}_{kk}\\) = 0, then: - \\[ + $$ \begin{align} A_{ik} &= A_{ki} = 0, \\\\ A_{ij} &= M_{ij}, \text{ for } i ≠ k \text{ and } j ≠ k. \end{align} - \\] + $$ Given `M = {0, 1, 2; 3, 4, 5; 6, 7, 8}`, then (approximately): @@ -1423,7 +1423,7 @@ meaning of each text line: count columns wide. Another format type may be substituted for `F`. -- `FORMAT=Fw`[`.d`] divides the input area into fixed-width fields +- `FORMAT=Fw[.d]` divides the input area into fixed-width fields with width `w`. The input area must be a multiple of `w` columns wide. Another format type may be substituted for `F`. The `READ` command disregards `d`. diff --git a/rust/doc/src/commands/statistics/examine.md b/rust/doc/src/commands/statistics/examine.md index 18c267f3a5..f9f3978eb7 100644 --- a/rust/doc/src/commands/statistics/examine.md +++ b/rust/doc/src/commands/statistics/examine.md @@ -75,7 +75,7 @@ When one or more plots are requested, `EXAMINE` also performs the Shapiro-Wilk test for each category. There are however a number of provisos: - All weight values must be integer. -- The cumulative weight value must be in the range [3, 5000] +- The cumulative weight value must be in the range \[3, 5000\]. The `COMPARE` subcommand is only relevant if producing boxplots, and it is only useful there is more than one dependent variable and at least diff --git a/rust/doc/src/commands/statistics/frequencies.md b/rust/doc/src/commands/statistics/frequencies.md index 061016d772..5da4587e60 100644 --- a/rust/doc/src/commands/statistics/frequencies.md +++ b/rust/doc/src/commands/statistics/frequencies.md @@ -74,7 +74,7 @@ from the minimum to the maximum value observed in the data, but the Histograms are not created for string variables. [^1]: The number of bins is chosen according to the Freedman-Diaconis -rule: \\[2 \times IQR(x)n^{-1/3}\\] where \\(IQR(x)\\) is the +rule: $$2 \times IQR(x)n^{-1/3}$$ where \\(IQR(x)\\) is the interquartile range of \\(x\\) and \\(n\\) is the number of samples. ([`EXAMINE`](examine.md) uses a different algorithm to determine bin sizes.) diff --git a/rust/doc/src/commands/statistics/logistic-regression.md b/rust/doc/src/commands/statistics/logistic-regression.md index 1e5f8d07dc..c378d7b1a8 100644 --- a/rust/doc/src/commands/statistics/logistic-regression.md +++ b/rust/doc/src/commands/statistics/logistic-regression.md @@ -25,8 +25,8 @@ Here, `y` is the dependent variable, which must be dichotomous and procedure estimates. By default, a constant term is included in the model. Hence, the -full model is \\[{\bf y} = b_0 + b_1 {\bf x_1} + b_2 {\bf x_2} + \dots + -b_n {\bf x_n}.\\] +full model is $${\bf y} = b_0 + b_1 {\bf x_1} + b_2 {\bf x_2} + \dots + +b_n {\bf x_n}.$$ Predictor variables which are categorical in nature should be listed on the `/CATEGORICAL` subcommand. Simple variables as well as @@ -40,7 +40,7 @@ An iterative Newton-Raphson procedure is used to fit the model. The procedure, and other parameters. The value of `CUT_POINT` is used in the classification table. It is the threshold above which predicted values are considered to be 1. Values of `CUT_POINT` must lie in the range -[0,1]. During iterations, if any one of the stopping criteria are +\[0,1\]. During iterations, if any one of the stopping criteria are satisfied, the procedure is considered complete. The stopping criteria are: diff --git a/rust/doc/src/commands/statistics/npar-tests.md b/rust/doc/src/commands/statistics/npar-tests.md index eacaa8638d..4c9144ee60 100644 --- a/rust/doc/src/commands/statistics/npar-tests.md +++ b/rust/doc/src/commands/statistics/npar-tests.md @@ -171,7 +171,7 @@ statistic and its significance. The Kendall test investigates whether an arbitrary number of related samples come from the same population. It is identical to the Friedman test except that the additional statistic W, Kendall's -Coefficient of Concordance is printed. It has the range [0,1]—a value +Coefficient of Concordance is printed. It has the range \[0,1\]—a value of zero indicates no agreement between the samples whereas a value of unity indicates complete agreement. -- 2.30.2