Rdocumentation
powered by
Learn R Programming
CorReg (version 0.15.8)
MSE_loc: simple MSE function
Description
simple MSE function
Usage
MSE_loc(Y = Y, X = X, A = A, intercept = T)
Arguments
Y
the response variable (vector)
X
the dataset (matrix of covariates)
A
the vector of coefficients
intercept
boolean (to add a column of 1 to X if A contains an intercept and X don't)