-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new models #49
Labels
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Repository owner
deleted a comment from
Jyasmeen
Jan 8, 2022
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Closed
This comment was marked as duplicate.
This comment was marked as duplicate.
Closed
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Closed
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
IF THE MODEL YOU WOULD LIKE TO SUPPORT IS NOT LISTED BELOW, PLEASE OPEN A NEW ISSUE.
It is often very easy to add support for new models. If you would like to help us do it (thanks!!!), please read this vignette on
marginaleffects
extensions: https://vincentarelbundock.github.io/marginaleffects/articles/extensions.htmlmarginaleffects
only supports modeling packages released on CRAN. If you would like to add support for a non-CRAN package, your code can be hosted in the user-submitted (but unsupported) code library in the vignette above.
If you cannot contribute code to support a new model, and if that model is not listed below, please open a new issue with a working example using a small publicly available dataset.
Seems possible
ordinal::clmm2
: Supportordinal::clmm
andordinal::clmm2
#1003Challenges
Existing issues (with some notes)
bife
:bife
Support Not Working Properly #949earth
(MARS): Support earth mars #1186flexsurv
: Support:flexsurv
#320gamm4
: Support gamm4 #947logitr
: See code insandbox/
and Support:logitr
#516mrmm
: Support mmrm #963 [DRAFT] adding support for the {mmrm} package #1000MuMIn
: Feature Request: Support for model class "averaging" from MuMIn::model.avg() in R #1154panelr
: Support:panelr
#210stats::nls
: Support:nls
#326systemfit
: Support:systemfit
#836predict
problemalpaca
: Supportalpaca
package #786bayesX
censReg
coxme
: Support:coxme
#645coxphw
: Supporttimereg
orcoxphw
packages #467coxrobust
cplm
endorse
: Support:endorse
#1144gee
glmm
glmnl
ivprobit
MASS::ridgelm
mgcv::gamm
: Support:mgcv::gamm
#187ordinal::clm2
: no prediction for each levelordinal::clmm
: no predict method at allpglm
plm::pgmm
robust::glmRob
: breaks withnewdata
timereg
: Supporttimereg
orcoxphw
packages #467vcov
problemcomplmrob
bfsl
novcov
method at alllqmm
: breaks withnewdata
Support:lqmm
#1072Categorical / Multinomial DV
VGAM::vglm
: not just multinomialVGAM::vgam
Not currently planned
Spatial regression
Spatial regression models typically rely on very different data structures, and are currently considered out of scope for
marginaleffects
spaMM::HLfit
:sdmTMB
: Support: sdmTMB #1136Multi-row data structure
Some multinomial models require dataset to be presented with one observation-choice combination per row. The whole
marginaleffects
infrastrcture is designed to create contrasts 1 row at a time, so we cannot support these.mlogit
MNP
Support:mnp
package #1382No formula interface
glinternet
: Support:glinternet
#934Very different object structure
metafor
: Very different input data. Likely very difficult to support. Would need code submission from an expert contributor. Support:metafor
(rma
,rma.mv
) #604lavaan
: Vincent has no experience with this package. We could consider this, but it would require serious code contributions. Support:lavaan
#499R-INLA
: Very different and unlikely. Support:R-INLA
#342Apollo
for choice models. Seems extremely idiosyncratic, and does not appear to supply any of the standard methods such asvcov()
,coef()
, orpredict()
. Supporting this is likely to be a major challenge. Vincent is unlikely to do this himself without significant help (or more likely a quasi-complete PR) from a contributor. https://cran.r-project.org/web/packages/apollo/index.htmlcmprsk::crr
: Seems very different. Vincent will not implement this unless someone is willing to help.Already supported via
tidymodels
ormlr3
glmnet
: no formula interface and already supported throughtidymodels
andmlr3
. Support:glmnet
#923SuperLearner
: Support:SuperLearner
#834Not on CRAN
bigmlogit
: checked on 2022-06-02mixor
: checked on 2022-03-10mnlogit
: checked on 2023-01-11tobit1
: checked on 2023-01-11ZBZIMM
: Support: ZBZIMM #541Supported by other packages
emmeans
https://cran.r-project.org/web/packages/emmeans/vignettes/models.html
easystats
ggeffects
The text was updated successfully, but these errors were encountered: