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

Tidy dispersion parameters? #107

Open
bwiernik opened this issue Oct 23, 2020 · 2 comments
Open

Tidy dispersion parameters? #107

bwiernik opened this issue Oct 23, 2020 · 2 comments

Comments

@bwiernik
Copy link

Would it be possible to add dispersion parameter information to the tidy output? Ideally, it would also be nice to have the option to exponentiated and exponentiate+square root transform the estimates and confidence intervals.

@bbolker
Copy link
Owner

bbolker commented Oct 23, 2020

In principle using cond=c("cond","zi","disp") should work (haven't tested recently)? There is an exponentiate argument as well (also may not be well-tested). Out of curiosity, what would be the use-case for an exp+sqrt transform?

@bwiernik
Copy link
Author

Currently, there is a check that errors if cond contains something other than "cond" or "zi".

For the exponentiate argument, it'd be nice to be able to specify it separately for cond vs zi vs disp. For example, if I fit a linear regression model with a dispersion model, I'd like to exponentiate the disp parameters, but not the cond parameters.

For the exp+sqrt transform, for a linear regression model like I describe above, the dispersion parameter are in log(variance) units. An exp+sqrt transform expresses them in (multiplicative) standard deviation units.

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