This function calculates the MLE for a weighted logistic regression.
1 | getMLE(x, y, w)
|
x |
the covariate matrix of dimension n times p. |
y |
a binary response vector of length n. |
w |
a weight vector of length n. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.