I am trying the multilevel reference model demo in projpred: Projection predictive feature selection • projpred and got the following error, could you please help me to solve it? Thank you very much.
Error: 'mkNewReTrms' is not an exported object from 'namespace:lme4' In addition: Warning message: Some Pareto k diagnostic values are too high. See help('pareto-k-diagnostic') for details.
Here is the rstanarm code in the demo
data("VerbAgg", package = "lme4") refm_fit <- stan_glmer( r2 ~ btype + situ + mode + (btype + situ + mode | id), family = binomial(), data = VerbAgg, seed = 82616169, QR = TRUE, refresh = 0 )
The same error appeared when using brms
refm_fit <- brm( r2 ~ btype + situ + mode + (btype + situ + mode | id), family = bernoulli(link = "logit"), data = VerbAgg )