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

Hierarchical version? #6

Closed
invertdna opened this issue Nov 5, 2023 · 1 comment
Closed

Hierarchical version? #6

invertdna opened this issue Nov 5, 2023 · 1 comment

Comments

@invertdna
Copy link

This might be too hard to code in a general way, but might we/you make zoid hierarchical?

For example, I have a dataset w 4 discrete temperature treatments (10, 13, 15, and 18 degrees C), with many observations in each; each observation is a set of proportions divided among 4 possible categories. If I treat temperature as a continuous predictor, I'm pretty sure zoid (and, for that matter, a linear model or anything similar) will have the pseudoreplication problem: each observation is treated as independent, when really what I should be doing is asking whether the mean of each treatment is responding to the predictor variable (here, temperature).

If zoid could handle the syntax of stan_glm (or similar), we could do something like formula = ~ treatment + (1 | group), and make it work for a more general class of problems. Just an idea.

@ericward-noaa
Copy link
Member

See here:
ca0e3da

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