Utilizing the "measurement error" as you mentioned appears to capture what I wanted. I did run into an error when using the "predict()" method:
Error: Predictions with noise-free variables are not yet possible when passing new data.
I just had to download the latest version of brms from Github and this appears to have been fixed already. The only thing that confuses me here is that in my case since I know the historical values are "true" values I intuitively wanted to make the measurement error = 0 for past values and then introduce error on the future values. It looks like brms does not allow for zero measurement error when fitting though.
Thanks again for the help,
Josh
On Tuesday, April 10, 2018 at 9:08:53 AM UTC-5, Andrew MacDonald wrote:
Hello Josh,
This sounds like a great case for a so-called "measurement error" model. You could take a look at ?brms::me and see if you could use that to create a solution!
HTH,
Andrew
On Monday, 9 April 2018 21:03:39 UTC+2, Joshua Duncan wrote:
Hey brms users,
I'm utilizing the brms correlation structure and am building a time-series model. It is a simple regression model with one autoregressive component. I understand that the predict function includes the uncertainty of the estimated parameters but what I'd also like to include is some uncertainty in the values of my predictor variable itself. Since I'll be predicting future values where the predictor values are also unknown it would be nice include that uncertainty. Is there a way to manage this in brms?
Thanks,
Josh