Better validation of function arguments.
Added print methods for vsel and cvsel objects. Added AUC statistics for binomial family. A few additional minor patches.
Removed the dependency on the rngtools
package.
This version contains only a few patches, no new features to the user.
brms
models.rstanarm
models fitted with syntax like stan_glm(log(y) ~ log(x), ...)
, that is, it did not allow transformation for y
.Changed the internals so that now all fit objects (such as rstanarm fits) are converted to refmodel
-objects using the generict get_refmodel
-function, and all the functions use only this object. This makes it much easier to use projpred with other reference models by writing them a new get_refmodel
-function. The syntax is now changed so that varsel
and cv_varsel
both return an object that has similar structure always, and the reference model is stored into this object.
Added more examples to the vignette.
Added possibility to change the baseline in varsel_plot/varsel_stats
. Now it is possible to compare also to the best submodel found, not only to the reference model.
Bug fix: RMSE was previously computed wrong, this is now fixed.
Small changes: nloo = n
by default in cv_varsel
. regul=1e-4
now by default in all functions.
relax
argument for the main functions (varsel
,cv_varsel
,project
and the prediction functions). Now it is possible to make predictions also with those parameter estimates that were computed during the L1-penalized search. This change also allows the user to compute the Lasso-solution by providing the observed data as the ‘reference fit’ for init_refmodel. An example will be added to the vignette.Until this version, we did not keep record of the changes between different versions. Started to do this from version 0.9.0 onwards.