Description Usage Arguments Value
Fits the following weighted least squares model: y_{i}=x_{i}'β+ε_{i}. Here, the subject-specific residual is normally distributed with mean zero and variance σ^{2}/w_{i}. w_{i} is a known, subject-specific weight, and σ is a common scale parameter.
1 | fitWLS(y, X, w)
|
y |
Response vector. |
X |
Design matrix. |
w |
Weight vector. |
List containing the following:
Beta |
Regression coefficient. |
V |
Outcome variance. |
Ibb |
Information matrix for beta. |
Resid |
Outcome residuals. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.