@@ -17,6 +17,9 @@ This chapter provides a definition of the transforms used for each
1717type of variable. For examples of how to declare and define these
1818variables in a Stan program, see section
1919[ Variable declaration] ( types.qmd#variable-declaration.section ) .
20+ To directly access the functional form of these transformations
21+ from inside the Stan language, see [ Variable Transformation Functions] ( https://mc-stan.org/docs/functions-reference/transform_functions.html )
22+ in the _ Functions Reference_ .
2023
2124Stan converts models to C++ classes which define probability
2225functions with support on all of $\mathbb{R}^K$, where $K$ is the number
@@ -459,6 +462,13 @@ p_Y(y)
459462$$
460463
461464
465+ ## Positive ordered vector
466+
467+ Placeholder.
468+
469+ The positive ordered transformation is defined in the same style
470+ as the ordered transformation above, but with the first element being
471+ exponentiated to ensure positivity.
462472
463473## Zero sum vector
464474
753763
754764## Stochastic Matrix {#stochastic-matrix-transform.section}
755765
756- The ` column_stochastic_matrix[N, M] ` and ` row_stochastic_matrix[N, M ] ` type in
766+ The ` column_stochastic_matrix[N, M] ` and ` row_stochastic_matrix[M, N ] ` type in
757767Stan represents an $N \times M$ matrix where each column (row) is a unit simplex
758768of dimension $N$. In other words, each column (row) of the matrix is a vector
759769constrained to have non-negative entries that sum to one.
0 commit comments