Description Usage Format Source References Examples

Data from a follow-up study of severe asthmatic patients. At each visit, covariates are recorded and asthma was evaluated using the concept of control scores.
Such scores reflect a global judgement of the disease gravity based on official criteria. Three levels are considered (optimal, suboptimal and unacceptable control)
and can be used to define the subject's state at each visit. The aim is to investigate the evolution of asthma control and to evaluate the effect of covariates.
The data contains an extraction of 371 patients with at least two visits. The table is presented in long format with one row for each observed transition between two states.
The rows corresponding to the same subject are ordered chronologically. The last sojourn time is right-censored by the end of the study and represent the time until censoring. A censored transition is defined as a transition to the same state `h->h`

.

1 |

A data frame containing 928 rows. Each row represents a patient examination and contains several covariates.

`id`

Patient identification number

`state.h`

Starting state (1 for optimal, 2 for suboptimal and 3 for unacceptable control state)

`state.j`

Arrival state (1 for optimal, 2 for suboptimal and 3 for unacceptable control state)

`time`

Waiting (sojourn) time in state

`state.h`

`Severity`

Disease severity (1=severe, 0=mild-moderate asthma)

`BMI`

Body Mass Index (1=BMI>=25, 0=otherwise)

`Sex`

Sex (1=men, 0=women)

This presentation of the data implies that, for a given patient, the visited states are the sequence of `state.h`

and the follow-up time is the the cumulated sum of `time`

.

ARIA (Association pour la Recherche en Intelligence Artificielle), France.

Saint-Pierre P., Combescure C., Daures J.P., Godard P. (2003). The analysis of
asthma control under a Markov assumption with use of covariates. *Statistics in Medicine*,
22(24):3755-70.

1 2 |

```
Loading required package: numDeriv
Loading required package: MASS
Loading required package: Rsolnp
id state.h state.j time Severity BMI Sex
1 2 3 2 0.15331964 1 1 0
2 2 2 2 4.12320329 1 1 0
3 3 3 1 0.09582478 1 1 1
4 3 1 3 0.22997947 1 1 1
5 3 3 1 0.26557153 1 1 1
6 3 1 1 5.40725530 1 1 1
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.