Skip to content

Commit f1cf969

Browse files
authored
Merge pull request #776 from psyguy/patch-1
Minor typo correction in finite-mixtures.qmd
2 parents 0626417 + 34dac40 commit f1cf969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stan-users-guide/finite-mixtures.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ The model declares a local array variable `lps` to be size
245245
mixture components. The main action is in the loop over data points
246246
`n`. For each such point, the log of $\theta_k \times
247247
\textsf{normal}\left(y_n \mid \mu_k,\sigma_k\right)$ is calculated and added to the
248-
array `lpps`. Then the log probability is incremented with the log
248+
array `lps`. Then the log probability is incremented with the log
249249
sum of exponentials of those values.
250250

251251
## Vectorizing mixtures

0 commit comments

Comments
 (0)