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

Add res_lnorm_hurdle() to get residuals for log-normal hurdle model #45

Open
joethorley opened this issue Jan 25, 2023 · 1 comment
Open

Comments

@joethorley
Copy link
Member

No description provided.

@nehill197
Copy link
Member

Note from the brms package:
"The density of a hurdle distribution can be specified as follows. If x = 0 set f(x) = θ. Else set f(x) = (1 - θ) * g(x) / (1 - G(0)) where g(x) and G(x) are the density and distribution function of the non-hurdle part, respectively."

image

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

No branches or pull requests

3 participants