Directly estimate the probability mass function of Y.
pcoriaccel_estimate_pmf(Xb, Y, xi, y_seq, h, kernel = "K2_Biweight")
Xb
: Numeric vector of individual linear predictors from the dataY
: Numeric vector of individual responses from the dataxi
: value of the individuals linear predictor at the point of estimationy_seq
: Numeric vector of unique values of Y
.h
: bandwidth of the kernelkernel
: character string specifying the kernel to use, either "dnorm"
, "K2_Biweight"
, or "K4_Biweight"