Skip to content

Estimation of correlation matrix and confidence intervals for given parameter values #764

Answered by newville
tkeskita asked this question in Q&A
Discussion options

You must be logged in to vote

@tkeskita

Is there a way in lmfit to force estimation of covariance matrix and confidence intervals for a given set of fixed parameter values? I mean, without conducting parameter estimation? Looking at the docs for calculating confidence intervals, it seems that all of the examples there include a call to minimize() to carry out parameter estimation..? Sorry if I'm missing some obvious way to do this.

Not really. When evaluating covariance and confidence intervals explicitly (see, for example, https://github.com/lmfit/lmfit-py/blob/master/lmfit/confidence.py), one moves each parameter away from its optimal value (typically by its expected 1-sigma uncertainty) and then optimizes all the…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by newville
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@newville
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants