lmScore {gofedf} | R Documentation |
Compute score function for linear models.
Description
Compute score function for linear models.
Usage
lmScore(x, y, theta)
Arguments
x |
a matrix with n rows and p columns containing the explanatory variables. |
y |
a numeric vector of length n containing the response variable. |
theta |
a numeric vector of length (p+1), containing MLE of parameters in a linear model. |
Value
Score matrix with n rows and (p+1) columns.
[Package gofedf version 0.1.0 Index]