4 Data preparation and survey design declaration
The demonstrations presented in this paper focus on the datasets from the CLSA. A comma-separated values (.csv) file is available for a CLSA dataset with the variable name provided in the first row. Steps for importing the dataset with different software packages are described below. The main dataset we use is from the tracking cohort with the strata variable \(\texttt{GEOSTRAT_TRM}\) as well as the survey weight variable, \(\texttt{WGHTS_INFLATION_TRM}\).