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

Allow choice of tau2 estimation method #32

Open
andrjohns opened this issue Jun 23, 2021 · 1 comment
Open

Allow choice of tau2 estimation method #32

andrjohns opened this issue Jun 23, 2021 · 1 comment

Comments

@andrjohns
Copy link
Contributor

An interesting additional feature could be the ability to use REML estimation to obtain the tau2 term, which could also allow for additional levels of variance terms for inflating the control limits.

A possible workflow could be:

  1. User calls tau2_method="REML" in the funnel_plot call (where the tau2_method option would default to DL)
  2. Construct unadjusted z-scores
  3. Truncate data based on unadjusted z-scores
  4. Pass truncated data to metafor::rma.mv, using the transformed outcome and standard errors
  5. Extract estimated variance

Alternatively, metafor's escalc function could be used directly for constructing the standard errors.

Let me know what you think, happy to work this up and open a PR

@chrismainey
Copy link
Collaborator

That's a really good option. I'll think on that. Happy to collaborate on it, or receive a PR. Thanks!

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