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

Deal seriously with the random effects for freq models #74

Closed
DominiqueMakowski opened this issue Jul 3, 2020 · 4 comments
Closed

Deal seriously with the random effects for freq models #74

DominiqueMakowski opened this issue Jul 3, 2020 · 4 comments

Comments

@DominiqueMakowski
Copy link
Member

No description provided.

@strengejacke
Copy link
Member

What do you mean? Is it related to #57?

@DominiqueMakowski
Copy link
Member Author

Pretty much yeah doing my stats I ran into some problems and it made me feel like it's worth regiving it a look, cause from what I remember previously it was possible to get predictions from lmer models with new data without random effects and now it's not

@strengejacke
Copy link
Member

You can set the variable of the random effects to NA. This is what I did for glmmTMB. Then you get predictions on the population level.

@strengejacke
Copy link
Member

visualisation_matrix.glmmTMB <- function(x, target = "all", length = 10, factors = "reference", numerics = "mean", preserve_range = FALSE, standardize = FALSE, standardize_robust = FALSE, reference = x, na.rm = TRUE, random = TRUE, include_response = FALSE, ...) {

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