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

Prediction Intervals #34

Open
AhmedThahir opened this issue Dec 20, 2023 · 1 comment
Open

Prediction Intervals #34

AhmedThahir opened this issue Dec 20, 2023 · 1 comment

Comments

@AhmedThahir
Copy link

AhmedThahir commented Dec 20, 2023

This is regarding

def nlpredict(X, y, model, loss, popt, xnew, alpha=0.05, ub=1e-5, ef=1.05):

uncerts = np.sqrt(np.diag(gprime @ I_fisher @ gprime.T))

It looks like this is the formula for confidence interval for the mean response. The prediction intervals should have an extra $+1$ term

Please correct me if I'm wrong:

image

@jkitchin
Copy link
Owner

jkitchin commented Jan 3, 2024

Do you have a reference for this image? I can see what you are talking about. The push above gets it more correct, but still leaves out the CovMatrix term.

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