How can we output a time-varying variable, defined in the model using the inspect/predict output function?
You can use the
icoef function. You can look for the usage by doing
?icoef in the REPL
Hi Vijay, thank you for your reply. I think by icoef we can only output variables defined in the pre block. But, I was wondering how can we output a time-varying variable defined in either var or observed block by inspect or predict function?
predict function is tightly associated with the modeled variables, i.e. the random variables in the
@derived block. If you want to output the variables from the
@observed block then you can use
simobs. It should be possible to call
DataFrame on the output to convert it to a
Thank you, @andreasnoack.