Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
haziqj committed May 1, 2023
1 parent 58b8a22 commit 7bbb44c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ $$
y_i = \beta_1 x_{i1} + \beta_2 x_{i2} + \beta_3 x_{i3} + \beta_4 x_{i1}x_{i2} + \beta_5 x_{i1}x_{i3} + \beta_6 x_{i2}x_{i3} + \beta_7 x_{i1}x_{i2}x_{i3} + \epsilon_i
$$

where $\epsilon_i\sim N(0,\sigma^2)$ such that $\operatorname{Corr}(x_{ij},x_{ik})=\rho$, for $j\neq k$.
The simulation settings were $n=100$, $\sigma=3$, and $\rho\in\{0,0.5\}$.
where $\epsilon_i\sim N(0,\sigma^2)$ such that $\text{Corr}(x_{ij},x_{ik})=\rho$, for $j\neq k$.
The simulation settings were $n=100$, $\sigma=3$, and $\rho\in\\{0,0.5\\}$.
The coefficients were varied according to the table below

```{r}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ y_i = \beta_1 x_{i1} + \beta_2 x_{i2} + \beta_3 x_{i3} + \beta_4 x_{i1}x_{i2} +
$$

where $\epsilon_i\sim N(0,\sigma^2)$ such that
$\operatorname{Corr}(x_{ij},x_{ik})=\rho$, for $j\neq k$. The simulation
settings were $n=100$, $\sigma=3$, and $\rho\in\{0,0.5\}$. The
$\text{Corr}(x_{ij},x_{ik})=\rho$, for $j\neq k$. The simulation
settings were $n=100$, $\sigma=3$, and $\rho\in\\{0,0.5\\}$. The
coefficients were varied according to the table below

| | x1 | x2 | x3 | x1x2 | x1x3 | x2x3 | x1x2x3 | code |
Expand Down

0 comments on commit 7bbb44c

Please sign in to comment.