I am trying to calculate range for my model predictions after performing optimization and getting values of the optimized parameters.
I am aware that we can get a standard error of the optimized parameters (e.g., for a linear model with the inverse of the diagonal elements of the hessian) as shown in here
My question is how can I use the hessian information or any other information returned after optimization to provide a confidence or prediction interval or some sort or error metric in my predictions from the optimized parameters.