Nonlinear fit with constraints in R2012b

Hi,
Is it possible to get parameter estimation variances after constrained optimization?
I am now using lsqnonlin function to optimize 7 parameters with 14 target values, using 'trust-region-reflective' algorithm.
Thanks in advance

2 Comments

Matt J
Matt J on 12 Jan 2013
Edited: Matt J on 12 Jan 2013
The threads you've referenced refer to parameter estimation variances, not parameter estimation errors. To calculate errors, you need to know their true values. I'll assume you really mean the former.
Thanks Matt, I corrected my question. As you guessed, what I wanted to refer to was parameter estimation variances.

Sign in to comment.

 Accepted Answer

Matt J
Matt J on 12 Jan 2013
If none of the constraints are active at your solution, you can estimate the variances in the unconstrained way.
Otherwise, since it's a pretty small problem, why not just estimate the parameter variance by running Monte Carlo simulations?

6 Comments

I'd like to perform Monte Carlo way to estimate parameter variations.
Could you teach me some references for the actual procedure (e.g. how to prepare random samples/ how to express obtained values)? Since I have little background in this field, even basic instructions might work.
Thanks
Monte Carlo simulations on 7 parameters with 14 parameters values is still a bit more than 100 million simulations. Whether it's feasible or not depend on how long it takes to run a single simulation.
I assume "14 parameter values" means that the residuals are in R^14. I hope Kenta doesn't mean that the parameters are discrete-valued. That would make lsqnonlin fairly ineffective.
I meant that the residuals are in R^14, and the parameters are continuous values.
Matt J
Matt J on 13 Jan 2013
Edited: Matt J on 13 Jan 2013
Anyway, what I was picturing for the simulations was that you assume the parameter estimates given by lsqnonlin are the true values. Then simulate the system measurements with as realistic measurement noise as you can. Then rerun lsqnonlin on these measurements. Do that repeatedly until you have enough data to approximate the variance well.
Thanks a lot again. I will perform that kind of calculation based on the optimized parameter values.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!