beta0 value estimation in fitnlm
조회 수: 8(최근 30일)
표시 이전 댓글
How to guess the initial value(beta0) for fitnlm(curve fiiting)?
Suppose this is my dataset.
dataset
A B C D
0.25 20 20 5.286
1.00 20 20 5.376
0.25 30 20 5.465
1.00 30 20 5.555
and
D = f(A,B,C)
댓글 수: 0
채택된 답변
Star Strider
2020년 10월 14일
The usual approach is to make a wild guess as to the magnitudes of the parameters, and hope for the best.
A more sophisticated approach is to use the ga (genetic algorithm) function to search the parameter space and come up with a reasonable approximation of the correct parameters. Then use fitnlm to get the most accurate set of parameter estimates, using the ga results as initial parameter estimates.
댓글 수: 0
추가 답변(0개)
참고 항목
범주
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!