ParamLinear {CluMP} | R Documentation |
Parameters of linear model
Description
Default parameters to generate micro-panel (longitudinal) data with linear trend. The parameters may differ per each cluster. The parameters of each cluster are in rows. Number of rows denotes the number of clusters. Fixed and random effects are taken from Uher et al. (2017).
Usage
ParamLinear
Format
It is adviced to keep parameters in data.frame
. The Parameters structure is as follows:
- b0
fixed parameter of intercept
- b1
fixed parameter of slope
- varU0
variance of random factor U0 given to fixed parameter b0
- varU1
variance of random factor U1 given to fixed parameter b1
- corr
correlation between random factors U0 and U1
- varE
the variability of the residuals
Source
Uher T, Vaneckova M, Krasensky J, Sobisek L, Tyblova M, Volna J, Seidl Z, Bergsland N, Dwyer MG, Zivadinov R, De Stefano N, Sormani MP, Havrdova EK, Horakova D. Pathological cut-offs of global and regional brain volume loss in multiple sclerosis. Mult Scler. 2017 Nov 1:1352458517742739. doi: 10.1177/1352458517742739.