RMSE: Compute the RMSE (root mean square error) and CP (coverage...

Description Usage Arguments Value Examples

View source: R/StatCompR.R

Description

Compute the RMSE (root mean square error) and CP (coverage probability).

Usage

1
RMSE(rep, K, N, beta, T)

Arguments

rep

the number of replications (integer)

K

the number of blocks (integer)

N

the network size (integer)

beta

the 2 dimensional vector of coefficient (numeric)

T

the sample size (integer)

Value

the estimated coefficients vector (numeric)

Examples

1
2
3
4
5
6
7
8
## Not run: 
rep<- 1000
T<- 100
K<- 3
N<- 10
beta<- c(0.2,-0.4)
mseCPR(rep,K,N,beta,T)
## End(Not run)

clulu1014/StatComp21024 documentation built on Dec. 23, 2021, 11:14 p.m.