Computing the mean squared error
Usage
mse.fun(beta, est, X.test = NULL)
Arguments
- beta
is the vector to compare against
- est
is the estimate vector
- X.test
is the test training data set (default: NULL)
Value
is a named list containing est.err and pred.err