Dealing with NaN in idnlgrey

4 ビュー (過去 30 日間)
Andres
Andres 2012 年 6 月 16 日
Hi
Anyone could tell me how to use the pem(Prediction error estimate) function to estimate a non linear grey model if I have NaN (missing values) in some points of the observations ?
Thanks!

回答 (1 件)

Rajiv Singh
Rajiv Singh 2012 年 6 月 27 日
Missing data cannot be directly handled by an estimation routine. You must "fix" your data appropriately in advance. Some things to try:
1. See MISDATA where you can fit in the missing values if you have some knowledge of the underlying process that generated the data. See: http://www.mathworks.in/help/toolbox/ident/ref/misdata.html
2. If the missing samples are found in small isolated clusters, you can split the data into independent NaN-free segments. Represent each segment as an iddata object. Then MERGE the resulting data objects into one "multi-experiment" data object. See: http://www.mathworks.in/help/toolbox/ident/ref/mergeiddata.html
The merged multi-experiment data object can then be used for estimation.

カテゴリ

Help Center および File ExchangeResidual Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by