You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uses element beta which doesn't exist in newer projpred versions anymore. I don't know when beta was removed exactly, but it doesn't exist in the current CRAN version 2.0.2 (from October 2020) anymore. To access the projected parameter draws in projpred, the as.matrix.projection() method can be used.
uses argument nv which doesn't exist in newer projpred versions anymore (at least in the current CRAN version 2.0.2 from October 2020, it doesn't exist anymore). This argument was replaced by a new argument called nterms.
Apart from that, I noticed that parameters doesn't make use of the projected parameter draws: Lines
show that only the names of the predictors from the selected submodel are used, not their projected draws. I don't know if this was done on purpose or if it was even necessary to make projpred-based selections fit into the parameters workflow, but in principle, it would be preferable to use the projected parameter draws instead of refitting the model with only the selected predictors. Refitting the model with only the selected predictors throws away uncertainty inherent to the reference model, thereby leading to improper post-selection inference. Using the projected parameter draws after selection is even one of the key steps of the projpred workflow, I would say.
The text was updated successfully, but these errors were encountered:
@DominiqueMakowski Currently, select_parameters() doesn't work anymore. I'm, not sure how it worked or how it is supposed to work now. Can you look at this?
@fweber144 thanks for letting us know! Since you seem to have a pretty good understanding of it, would you be interested maybe in maybe opening a PR to make some fixes to select_parameters()?
It seems like
select_parameters.stanreg()
is outdated with respect to projpred:parameters/R/select_parameters.stanreg.R
Line 25 in ddf64b9
beta
which doesn't exist in newer projpred versions anymore. I don't know whenbeta
was removed exactly, but it doesn't exist in the current CRAN version 2.0.2 (from October 2020) anymore. To access the projected parameter draws in projpred, theas.matrix.projection()
method can be used.parameters/R/select_parameters.stanreg.R
Line 24 in ddf64b9
nv
which doesn't exist in newer projpred versions anymore (at least in the current CRAN version 2.0.2 from October 2020, it doesn't exist anymore). This argument was replaced by a new argument callednterms
.Apart from that, I noticed that parameters doesn't make use of the projected parameter draws: Lines
parameters/R/select_parameters.stanreg.R
Lines 25 to 32 in ddf64b9
The text was updated successfully, but these errors were encountered: