diff --git a/README.Rmd b/README.Rmd index aa11527..77217c5 100644 --- a/README.Rmd +++ b/README.Rmd @@ -31,9 +31,9 @@ pak::pak("bips-hb/wflsa") The problem solved by the wFLSA algorithm is formulated as follows: -```math +$$ \hat{\beta} = \underset{\beta}{\arg\min} \left( \frac{1}{2} \| y - \beta \|_2^2 + \lambda_1 \| \beta \|_1 + \lambda_2 \sum_{i < j} w_{ij} | \beta_i - \beta_j | \right) -``` +$$ Where: - $y$ is the response variable with mean 0. diff --git a/README.md b/README.md index f4f1e94..caa8f88 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ pak::pak("bips-hb/wflsa") The problem solved by the wFLSA algorithm is formulated as follows: -``` math +$$ \hat{\beta} = \underset{\beta}{\arg\min} \left( \frac{1}{2} \| y - \beta \|_2^2 + \lambda_1 \| \beta \|_1 + \lambda_2 \sum_{i < j} w_{ij} | \beta_i - \beta_j | \right) -``` +$$ Where: - $y$ is the response variable with mean 0. - $\beta$ is the vector of coefficients to be estimated. - $|| \cdot ||_1$ and