powered by
Provides fitted values of Y.
kernel_estimates(x,y,h,...)
matrix of predictors
Vector of response
Scalar bandwidth tuning parameter
Additional arguments to be sent to kernesti.regr from regrpo package.
Estimates a conditional density. For future use of implementing inverse probability weights (IPW) to handle missing data.
# NOT RUN { x <- matrix(rnorm(800),nrow=100) y <- rbinom(100,1,.5) cond_fit <- kernel_estimates(x,y,1) # }
Run the code above in your browser using DataLab