beta0 value estimation in fitnlm

조회 수: 7 (최근 30일)
Rahul Deoagm
Rahul Deoagm 2020년 10월 14일
답변: Star Strider 2020년 10월 14일
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)

채택된 답변

Star Strider
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개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by