Nonlinier Regression withExponential Approach.
조회 수: 24 (최근 30일)
이전 댓글 표시
I want to develop an equation from Nonlinier Regression withExponential Approach. My code like this: b1=2; b2=3; b3=0.01; b4=0.25; b5=0.0001; beta0=[b1 b2 b3 b4 b5]; X1=[ones(size(Amax1)) Amax1 Mw1 Vs1 Depth1 Distance1]; Y1=[Ym1]; mdlA = NonLinearModel.fit(X1,Y1,modelfun,beta0) I want to add bootsrap for estimating standard deviation.
yfit=X1*mdlA; resid=Y1-yfit; se= std(bootstrp(regress(yfit+bootr,X1),resid));
The answer is:
Undefined function 'mtimes' for input arguments of type 'NonLinearModel'.
Error in NLRegression (line 33) yfit=X1*mdlA;
Is there any person can help me to do some Nonlinier Regression with exponential approach and combine with Bootstrap.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!