You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incoherent estimates and bug for truncated normal functions #2
There were a couple of errors indeed. But the example wasn't great either - impossible to converge with only 500 data points when mu=2, sigma=5, a=1, b=2, so I changed it to a more reproducible rNormal_trunc_ab(n=500, mu=2, sigma=5, a=-5, b=5)
Please check if it works as expected for your data, and I'll submit to CRAN in a few days
Activity
oleksii-nikolaienko commentedon Sep 12, 2025
Thanks for the report. Will check within some days
oleksii-nikolaienko commentedon Sep 17, 2025
Fixed in #3
There were a couple of errors indeed. But the example wasn't great either - impossible to converge with only 500 data points when
mu=2, sigma=5, a=1, b=2, so I changed it to a more reproduciblerNormal_trunc_ab(n=500, mu=2, sigma=5, a=-5, b=5)Please check if it works as expected for your data, and I'll submit to CRAN in a few days
oleksii-nikolaienko commentedon Sep 24, 2025
Reopen if error persists