R code for fitting a model to unbalanced longitudinal data with a copula

In my previous blog post I showed how to fit a model to longitudinal data with a copula.

Remember that the focus in my previous post was on balanced longitudinal data. However, the following R code demonstrates how to fit a copula when dealing with unbalanced longitudinal data. Continue reading R code for fitting a model to unbalanced longitudinal data with a copula

R code for fitting a model to longitudinal data with a copula

The R code below demonstrates how to fit a model to longitudinal data by means of a copula. Longitudinal data is also referred to as panel, or repeated measures data.

The R code also shows how to create forecasts for longitudinal data, and how to compute prediction intervals for these forecasts. Continue reading R code for fitting a model to longitudinal data with a copula