Fit data with weight in Simbiology
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Y.K.
el 10 de Dic. de 2020
Can simbiology run a “Fit_data” task to a data containing missing values in “Use weight for each response” mode?
I am trying to fit a model to a multi-dimensional time trajectory data with missing value using simbiology
The average value of each response differs so much that I use “Use weight for each response” option, otherwise model fitting to the just one trajectory with the highest average value occurs.
However, the fitting cannot be performed.
The reason might be the NaN value returned during the calculation of the “weight” because my data contains NaN value in the original time trajectory data.
Is my understanding correct?
Please let me know if there is a way to run simbiology “Fit_data” task to a data containing missing value(NaN) in “Use weight for each response” mode.
0 comentarios
Respuesta aceptada
Arthur Goldsipe
el 10 de Dic. de 2020
You can use NaN to indicate a missing value in your data. Such points will be ignored during fitting. If you are getting an error during fitting, I expect it is for a different reason. If you would like additional help figuring out the cause of the error, I suggest you share more details. The best option would be to share a SimBiology project file (.sbproj) that we can use to reproduce the error. At a minimum, please share more information about the exact error you are getting.
Also, you may be interested the "proportional" error model. This is equivalent to using a weight of , where is the the value of the ith observation. You can read more about the various estimation options here.
0 comentarios
Más respuestas (0)
Comunidades de usuarios
Más respuestas en SimBiology Community
Ver también
Categorías
Más información sobre Import Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!