We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3696fe commit 4f711b1Copy full SHA for 4f711b1
1 file changed
src/stan-users-guide/reparameterization.qmd
@@ -102,13 +102,13 @@ model {
102
The new parameters, `phi` and `lambda`, are declared in the
103
parameters block and the parameters for the Beta distribution,
104
`alpha` and `beta`, are declared and defined in the
105
-transformed parameters block. And If their values are not of interest,
+transformed parameters block. And if their values are not of interest,
106
they could instead be defined as local variables in the model as
107
follows.
108
109
```stan
110
model {
111
- real alpha = lambda * phi
+ real alpha = lambda * phi;
112
real beta = lambda * (1 - phi);
113
// ...
114
for (n in 1:N) {
0 commit comments