-
Notifications
You must be signed in to change notification settings - Fork 2
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 truncation arguments to univariate distributions #46
Comments
the ran_norm might be problematic if narrow range cos either very few not NA or repeats many times. |
This is a stab at one
|
Might not need to check proportion of ran as just get stack overflow. |
|
Yes I think we are going to need to use the equivalent of pnorm and qnorm for each of our functions. I guess we could call them something like prob_norm and quant_norm(). These should also have tlower and tupper arguments. |
Potentially useful information in the stan reference manual section 7.4 |
if outside limits then log_lik = -Inf
res I guess is -Inf or Inf
and ran_norm should resample.
The text was updated successfully, but these errors were encountered: