Description Usage Arguments Value Examples
View source: R/mse_saekernel.R
This Function Gives Small Area Estimation Non-Parametric Based Nadaraya-Watson Kernel and Calculates The Bootstrap Mean Squared Error Estimates
1 | mse_saekernel(X, Y, vardir, bandwidth, B = 1000)
|
X |
Auxiliary Variable of X |
Y |
Direct Estimation of Y |
vardir |
Sampling Variances of Direct Estimators |
bandwidth |
The kernel Bandwidth Smoothing Parameter |
B |
Number of Bootstrap. Default is 1000 |
This function returns a list with following objects:
est |
a value of Small Area Estimation Non-Parametric Based Nadaraya-Watson Kernel |
refvar |
Estimated Random Effect Variance |
mse |
Bootstrap Mean Squared Error Estimators of Small Area Estimation Non-Parametric Based Nadaraya-Watson Kernel |
1 2 3 4 5 | ##load dataset
data(Data_saekernel)
mse_saekernel(X = Data_saekernel$x, Y = Data_saekernel$y,
vardir = Data_saekernel$Vardir, bandwidth = 0.04, B = 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.