Skip to content

Commit

Permalink
Merge pull request #278 from cmu-delphi/ndefries/multreg-denom
Browse files Browse the repository at this point in the history
Correct multinomial regression denominator in vignette
  • Loading branch information
dajmcdon authored Dec 22, 2023
2 parents b5121c3 + a015e6f commit 6be79f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/preprocessing-and-models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ consider the trend to be `flat`.
The expression of the multinomial regression we will use is as follows:

$$
\pi_{j}(x) = \text{Pr}(Z_{\ell,t} = j|x) = \frac{e^{g_j(x)}}{1 + \sum_{k=0}^2 g_j(x) }
\pi_{j}(x) = \text{Pr}(Z_{\ell,t} = j|x) = \frac{e^{g_j(x)}}{1 + \sum_{k=1}^{2}e^{g_k(x)} }
$$

where $j$ is either down, flat, or up
Expand Down

0 comments on commit 6be79f1

Please sign in to comment.