model_selection
function gives the optimal model over the whole
plde fits based on information criterian (AIC, BIC).
The optimal model is saved at fit$optimal
.
model_selection(fit, method = "AIC")
Entire list of plde fit by all tuning parameters
model selection criteria. 'AIC' or 'BIC' is used. Default is 'AIC'.
JungJun Lee, Jae-Hwan Jhong, Young-Rae Cho, SungHwan Kim and Ja-Yong Koo. "Penalized Log-density Estimation Using Legendre Polynomials." Submitted to Communications in Statistics - Simulation and Computation (2017), in revision.