Simulated data containing a Gaussian response variable y
with two
covariates. The dataset was generated from a model with time-varying effects
of covariate x
and the lagged value of the response variable, time-varying
intercept, and time-invariant effect of covariate z
. The time-varying
coefficients vary according to a spline with 20 degrees of freedom.
gaussian_example
A data frame with 3000 rows and 5 variables:
The response variable.
A continuous covariate.
A binary covariate.
Variable defining individuals (1 to 50).
Variable defining the time point of the measurement (1 to 30).
Example models
categorical_example
,
categorical_example_fit
,
gaussian_example_fit
,
multichannel_example
,
multichannel_example_fit