pem: Adding noise model *worsens* fit?
조회 수: 4 (최근 30일)
이전 댓글 표시
I'm fitting a first order dynamic model using the following:
>> m0=pem(z,'P1','disturbancemodel','none')
>> m1=pem(z,'P1','disturbancemodel','arma1')
With no disturbance model, m0 gives a better fit than m1, as determined by both the System ID Toolbox's compare function and by computing the residual sum of squares. This doesn't seem to make sense to me, since adding parameters should be able to better fit the data.
Can anyone make sense of this? Could be it simply an artifact of the optmization algorithm?
Scott
댓글 수: 0
답변 (1개)
Rajiv Singh
2012년 3월 17일
It could be. But to isolate the issue, set 'focus' to 'simulation' in the call to PEM command since by default you are minimizing 1-step ahead prediction error (which is difference from simulation error for the second model owing to the noise model). COMPARE, on the other hand, computes the simulation error by default.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Model Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!