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

predict no longer generates confidence intervals #91

Closed
joethorley opened this issue Jan 25, 2020 · 4 comments
Closed

predict no longer generates confidence intervals #91

joethorley opened this issue Jan 25, 2020 · 4 comments

Comments

@joethorley
Copy link
Collaborator

With the new version (0.1.0), the confidence interval of the whole curve did not result when applying the “predict” to the average product of “ssd_fit_dists”

Percent est se lcl ucl dist  
   <int> <dbl> <dbl> <dbl> <dbl> <chr> 
 1 1 0.304 NA NA NA average
 2 2 0.544 NA NA NA average
 3 3 0.780 NA NA NA average
 4 4 1.01 NA NA NA average
 5 5 1.25 NA NA NA average
 6 6 1.49 NA NA NA average
@joethorley
Copy link
Collaborator Author

This is because in version 0.1.0 the default value of the ci argument changed from TRUE to FALSE.

The solution is to set ci = TRUE

pred <- predict(dist, ci = TRUE, nboot = 10000L)

@joethorley joethorley pinned this issue Jan 25, 2020
@bcgov bcgov deleted a comment from sreynaldi Jan 27, 2020
@joethorley joethorley added Question and removed README labels Feb 9, 2020
@twinstan1988
Copy link

Hi,
I still have the following error after adding ci = TRUE

Error in rlogis(n = n, location = exp(lscale), scale = exp(lshape)) :
invalid arguments

@joethorley
Copy link
Collaborator Author

See issue #96

@twinstan1988
Copy link

See issue #96

Thank you!!

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