r - Rstan or rstanarm code for Bayesian GLM model -


i new bayesian modelling , r. looking predict next rows value of "amount" column of dataset given below using rstan or rstanarm in bayesian glm. highly appreciated , augment knowledge in rstan.

data:

library(data.table)  df <- fread("year  lag      amount  yearno                   2001   12     187572    1                       2001   24      331364    1                          2001   36      354886    1                          2001   48      361970    1                          2001   60      365251    1                          2001   72      366729    1                          2001   84      368047    1                          2001   96      368775    1                          2001   108     369457    1                          2001   120     369709    1                          2001   132     370048    1                          2001   144     370109    1                          2011   156     370152    1  ")            


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -