Hello Kiisa Nishikawa,
From the given description, I understand that, you are comparing multiple models against an AR model across 312 experiments and need a way to efficiently extract and save the read-only ‘Report.Fit’ data from each experiment into a structured format (‘flist’) for analysis.
To retrieve the ‘Report.Fit’ data for each experiment, you will need to estimate the AR model using the “arx” function for each time series data.
You can then follow the following code snippet to extract and store the ‘Report.Fit’ data for each experiment:
flist = struct('ExperimentID', {}, 'FitReport', {});
model = arx(data, order);
fitPercent = model.Report.Fit;
flist(expID).ExperimentID = expID;
flist(expID).FitReport = fitReport;
- The flist structure contains all fit data for AR models from each experiment.
- flist is mutable, allowing for easy updates and manipulations.
- Enables straightforward validation against other models.
- Allows extraction of additional information, such as “OptionsUsed”.
- Facilitates refinement of model estimations using extracted data.
For further understanding, I suggest you refer to the following MathWorks Documentation and resources:
- Refer to the "AR Model" example to understand how to estimate a time-series AR model using the arx function: https://www.mathworks.com/help/ident/ref/arx.html
- Refer to understand the different information about the results used for model estimation. Refer to the "Analyze and Refine Estimation Results Using Estimation Report" section of the second link given below to understand the above workflow: https://www.mathworks.com/help/ident/ug/estimation-report.html
I hope you find the above explanation and suggestions useful!