MATLAB Answers

Leo Su

n4sid 'prediction' focus vs. n4sid 'simulation' focus

Leo Su
さんによって質問されました 2019 年 8 月 1 日
最新アクティビティ Chidvi Modala さんによって 回答されました 2019 年 8 月 8 日
Why are there 'prediction' or 'simulation' settings in n4sidOptions? I thought that subspace identification finds a state space realization directly from input/output data.
I tried toggling this option on the n4sid algorithm for my dataset and found that the state space matrices were identical between the 'prediction' focus and 'simulation' focus options.
Is there something that I am missing here?

  0 件のコメント

サインイン to comment.

2 件の回答

回答者: Chidvi Modala 2019 年 8 月 8 日

As specified in the n4sid documentation, it estimates state space model using measured input-output data. The output represents the following system
where e(t) is the disturbance
The model parameters are estimated by minimizing the error between the model output and measured response. The noise component is not trivial for n4sid. So ep(t) and es(t) are not equivalent. You can refer to

  0 件のコメント

サインイン to comment.

回答者: Chidvi Modala 2019 年 8 月 6 日

n4sid estimates state-space realization from input/output data. ‘prediction’ and ‘simulation’ settings in n4sidOptions determines the error to be minimized in the loss function during estimation.
‘prediction’ option focuses on minimizing error between measured and predicted outputs during estimation. ‘simulation’ option focuses on minimizing error between measured and simulation outputs during estimation.

  1 件のコメント

Leo Su
2019 年 8 月 7 日
Can you point me to a reference explaining how the loss function is different between n4sid with a "prediction" focus and n4sid with a "simulation" focus?
I can understand that these options would yield different results for the prediction error method, where an iterative model parameter optimization routine is involved. But because n4sid uses projections on I/O data to realize the model's state space matrices instead of parameter optimization, I cannot understand how a "prediction" and "simulation" focus makes any difference in the final model.

サインイン to comment.

Translated by