MSE.CGS.SMP: Mean square error (MSE).

Description Usage Arguments Value Examples

View source: R/CGS.SMP.PE.r

Description

Calculate the mean square error.

Usage

1
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

1
2
3
4
5
6
7
## 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)

BSGS documentation built on May 29, 2017, 5:46 p.m.

Search within the BSGS package
Search all R packages, documentation and source code