reichlab / lssm

Linear state space models
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

estimation targeting a fixed number of steps ahead #17

Closed elray1 closed 3 years ago

elray1 commented 3 years ago

in the model section of the stan file, rather than calculating the likelihood, calculate the log predictive density h steps after the last time point. Probably want to write a helper function to do this calculation.

Function: lssm_constant_forecast_log_score (or similar)

Inputs:

Logic:

Then in the model section of stan file, call target += lssm_constant_forecast_log_score(...)