Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi Zhang committed Oct 23, 2024
1 parent bd0095a commit 48d930f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/stan-users-guide/measurement-error.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ exp(b))` in numerically more stable way.

Alternatively, the model may be defined with latent parameters for the
unrounded measurements $z_n$. The Stan code in this case uses a
distribution statement for $z_n$ directly while respecting the
distribution statement for $z_n$ directly while respecting the
constraint $z_n \in (y_n - 0.5, y_n + 0.5)$.

```stan
Expand Down Expand Up @@ -270,7 +270,7 @@ $$
$$

The log odds and standard errors can be defined in a transformed
parameter block, though care must be taken not to use integer
data block, though care must be taken not to use integer
division.^[When dividing two integers, the result type is an integer and rounding will ensue if the result is not exact. See the discussion of primitive arithmetic types in the reference manual for more information.]

```stan
Expand Down Expand Up @@ -366,4 +366,3 @@ transforming the binomial data.
If trial-specific predictors are available, these can be included
directly in a regression model for the per-trial treatment effects
$\theta_j$.

0 comments on commit 48d930f

Please sign in to comment.