Nonlinier Regression withExponential Approach.

조회 수: 24 (최근 30일)
Skydriver
Skydriver 2018년 1월 4일
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개)

카테고리

Help CenterFile Exchange에서 Linear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by