Parameter estimation by minimizing distance between two vectors.
Mostrar comentarios más antiguos
Hi, I have two vectors of moments - empirical moments (which I got from data) and theoretical moments (which I got from simulation). I need to estimate parameters for which the distance between these two sets of moments is minimum. My objective function should take the form of f = (theoretical moments-empirical moments)^2 I'm new to Matlab and looking for a code to estimate the parameters. Thanks in advance.
Respuestas (1)
Torsten
el 24 de En. de 2018
0 votos
If you have a function depending on certain parameters to calculate the theoretical moments, you can use a fitting tool (e.g. "lsqcurvefit") to estimate these parameters.
Look up the examples for "lsqcurvefit" on how to do this.
Best wishes
Torsten.
Categorías
Más información sobre Choose a Solver en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!