n4sid 'prediction' focus vs. n4sid 'simulation' focus
Show older comments
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?
Accepted Answer
More Answers (1)
Chidvi Modala
on 6 Aug 2019
0 votes
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 Comment
DemandQModeling
on 7 Aug 2019
Categories
Find more on State-Space Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!