Description Arguments Value Fields Methods
Create a linreg object
formula |
formula for linear model |
data |
the dataset provided |
empty
formula,
formla for the linear model
data,
the dataset provided
m_X,
the matrix of explanatory variables
m_Y,
the matrix of dependent variable
X_t,
transpose of m_X
XtX,
inverse of matrix multiplication of m_X and X_t
betaestimates,
estimates of the parameters
yfit,
estimated y values
residual,
residuals computed by subtracting yfit from actual y values
nparameters,
number of parameters
residualvariance,
variance of the residuals
residualstd,
standard deviation of residuals
betavariance,
variance of beta estimates
bb,
diagonal of betavariance matrix
tvalues,
comptued t values per parameter
pvalues,
pvalues computed according to tvalues and pt function
standardizedresiduals,
standardized residuals
sqrtresiduals,
the square root of standardizedresiduals
print()
Prints information about model
summary()
Prints the summary of linear regression model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.