Skip to content
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

emmeans for scale in location-scale meta-analysis #83

Open
FBartos opened this issue Jun 17, 2024 · 1 comment
Open

emmeans for scale in location-scale meta-analysis #83

FBartos opened this issue Jun 17, 2024 · 1 comment

Comments

@FBartos
Copy link

FBartos commented Jun 17, 2024

Classification:

Enhancement Suggestion

Summary

Enable emmeans prediction of scale for location scale meta-analytic models. Unless I missed an argument in the documentation, it does not seam to be possible to use emmprep -> emmeans to produce predicted scale across different levels etc via rma.ls model. Adding a possible argument to emmprep, e.g., what = c("location", "scale"") would be a possible solution.

Notes

I saw that I can use the predict function with the newscale argument. It can fulfil all tasks but the emmeans interface is much friendlier.

Cheers,
Frantisek

@wviechtb
Copy link
Owner

Suggestion noted. Not entirely trivial though because with location-scale models, even predict() has to do some extra work to distinguish various cases (only newmods specified, newmods and newscale both specified, only newscale specified) and the behavior of the function changes accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants