traj_objfun question #225
-
I am using What could be the reason that my model does not estimate the parameters well using the likelihood-based method?
This is the data used in the model and 10,000 sets of parameters.
This is the one I selected the best one among the 10,000 randomly generated parameter values and ran the Finally, this is the running environment. Thank you very much!
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
These codes are very complicated, so it is hard for me to say for sure, but it doesn't seem that you've provided the codes you used for the least-squares fitting. Are you sure that the vectorfield and the integrator are identical in both calculations? You can of course write a dmeasure component that corresponds to least squares. Have you verified that doing that gives the same results? |
Beta Was this translation helpful? Give feedback.
-
Hi Professor, I have been wondering if there is an error in my
Then I realized that in
I hadn't noticed before that |
Beta Was this translation helpful? Give feedback.
Hi Professor, I have been wondering if there is an error in my
dmeasure
function, so I used theRprintf
statement to output the process value.Then I realized that in
ofun
,transform
was done by default. So I adjusted the program and it finally worked.I hadn't noticed before that
traj_objfun
would perform a transform by default.