Skip to content

Commit

Permalink
Corregir fórmulas
Browse files Browse the repository at this point in the history
  • Loading branch information
felipegonzalez committed Apr 17, 2024
1 parent b6cbf51 commit 5b1bd0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notas/09-modelos-jerarquicos.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ Los datos, por persona, los modelamos como sigue (regresión logística):
$$
\begin{align}
C_i &\sim \text{Bernoulli}(p_i)\\
p_i &= \alpha_{D[i]} \\
\textrm{logit}(p_i) &= \alpha_{D[i]} \\
\alpha_j &\sim N(\bar{\alpha},\sigma) \\
\bar{\alpha} &\sim N(0, 1) \\
\sigma &\sim N^+(0, 1) \\
Expand Down Expand Up @@ -481,7 +481,7 @@ considerando que su efecto puede variar por distrito:
$$
\begin{align}
C_i &\sim \text{Bernoulli}(p_i)\\
p_i &= \alpha_{D[i]} + \beta_{D[i]} U_i \\
\textrm{logit}(p_i) &= \alpha_{D[i]} + \beta_{D[i]} U_i \\
\alpha_j &\sim N(\bar{\alpha},\sigma_{\alpha}) \\
\beta_j &\sim N(\bar{\beta},\sigma_{ \beta}) \\
\bar{\alpha}, \bar{\beta} &\sim N(0, 1)\\
Expand Down

0 comments on commit 5b1bd0b

Please sign in to comment.