MSE.CGS.SMP {BSGS}R Documentation

Mean square error (MSE).

Description

Calculate the mean square error.

Usage

MSE.CGS.SMP(Output, Y, X)

Arguments

Output

A list of random samples for parameters generated by CGS or SMP algorithm.

Y

Observations.

X

Design matrix.

Value

Reture the mean square error.

Examples

## Not run: 
output = BSGS.Simple(Y, X, Group.Index, r.value, eta.value, beta.value, tau2.value, 
		 rho.value, theta.value, sigma2.value, nu, lambda, Num.of.Iter.Inside.CompWise, 
		 Num.Of.Iteration, MCSE.Sigma2.Given)
MSE.CGS.SMP(output, Y, X)

## End(Not run)


[Package BSGS version 2.0 Index]