r - Prediction of next row of a particular column using Bayesian GLM -


i have following data frame , wanted predict next row value of column 'amount' using bayesian glm rstanarm package (or) rstan package. appreciate if me in solving issue.

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 2001    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 -