Data_saekernel {saekernel} | R Documentation |
Sample Data for Small Area Estimation Non-Parametric Based Nadaraya-Watson Kernel
Description
Dataset to Simulate Small Area Estimation Non-Parametric Based Nadaraya-Watson Kernel
This data is generated by these following steps:
Generate explanatory variables
Vardir
.Vardir ~ abs(N(0, 0.1))
Generate explanatory variablesx
.x ~ U(min=0, max=1)
Calculate direct estimationy
wherey_{i}
=sin(2 * \pi * x^3) + 5
Then combine the direct estimations
y
, auxiliary variablesx
, and sampling variansVardir
in a dataframe then named as Data_saekernel
Usage
Data_saekernel
Format
A data frame with 100 rows and 3 variables:
- y
Direct Estimation of Y
- x
Auxiliary Variable of X
- Vardir
Sampling Variance of Y
[Package saekernel version 0.1.1 Index]