asymptotic_mse: Estimate asymptotic MSE

Description Usage Arguments Value Examples

View source: R/asymptotic_mse.R

Description

Estimate asymptotic MSE

Usage

1
asymptotic_mse(V_0, V, C, deltahat)

Arguments

V_0

scalar variance of theta_0

V

covariance matrix of other candidate estimators

C

vector of covariances of theta_0 with candidates

deltahat

estimate of biases of candidates

Value

estimated MSE of synthetic estimator

Examples

1
2
3
4
5
6
7
8
9
k <- 5
n <- 100
theta <- c(0, runif(k-1))
Sigma <- 10*diag(k)/n
d <- theta[-1]
V_0 <- Sigma[1,1]
V <- Sigma[-1,-1]
C <- Sigma[-1,1]
asymptotic_mse(V_0, V, C, d)

denisagniel/synthate documentation built on April 16, 2020, 12:45 a.m.