Skip to content

Commit 4f711b1

Browse files
authored
fix typo and missing semicolon
1 parent e3696fe commit 4f711b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/stan-users-guide/reparameterization.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ model {
102102
The new parameters, `phi` and `lambda`, are declared in the
103103
parameters block and the parameters for the Beta distribution,
104104
`alpha` and `beta`, are declared and defined in the
105-
transformed parameters block. And If their values are not of interest,
105+
transformed parameters block. And if their values are not of interest,
106106
they could instead be defined as local variables in the model as
107107
follows.
108108

109109
```stan
110110
model {
111-
real alpha = lambda * phi
111+
real alpha = lambda * phi;
112112
real beta = lambda * (1 - phi);
113113
// ...
114114
for (n in 1:N) {

0 commit comments

Comments
 (0)