powered by
Calculates MSE with bias-variance decomposition when Actual# and Survey# have independent samples
MSEi(Actual1, Survey1, ...)
data from a "gold standard" survey; data are assumed to be the "actual" response, without survey error
data from another survey, but with survey error; function will calculate MSE with bias-variance decomposition for this survey
used for additional surveys with survey error, survey 2 through survey #
Matrix with MSE, bias^2, and variance values for survey 1 through survey #
# NOT RUN { MSEi(Actual1=TESTIND$A1, Survey1=TESTIND$S1, Actual2=TESTIND$A1, Survey2=TESTIND$S2, Actual3=TESTIND$A2, Survey3=TESTIND$S3) # }
Run the code above in your browser using DataLab