Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tldata

A simulated 2-level dataset


Description

A simulated dataset to test 2-level functions, i.e. jomo2com and jomo2hr.

Usage

data(tldata)

Format

A data frame with 1000 observations on the following 6 variables.

measure.a

A numeric variable with some measure of interest (unspecified). This is partially observed.

measure.b

A numeric variable with some measure of interest (unspecified). This is fully observed.

measure.a2

A numeric variable with some level-2 measure of interest (unspecified). This is partially observed.

previous.events

A binary variable indicating if a patient has previous history of (unspecified) events. Patially observed.

group

A 3-category variable indicating to which group each patient belongs. This is partially observed.

big.city

A binary variable indicating if each city has more than 100000 inhabitants. Patially observed.

region

A 3-category variable indicating to which region each city belongs. This is fully observed.

city

The cluster indicator vector. 200 cities are indexed 0 to 199.

id

The id for each individual within each city.

Details

These are not real data, they are simulated to illustrate the use of the main functions of the package.


jomo

Multilevel Joint Modelling Multiple Imputation

v2.7-2
GPL-2
Authors
Matteo Quartagno, James Carpenter
Initial release
2020-08-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.