Hordaland_data: Simulated case control dataset for 5000 cases (individuals...

Hordaland_dataR Documentation

Simulated case control dataset for 5000 cases (individuals with chronic cough) and 5000 controls

Description

Simulated case control dataset for 5000 cases (individuals with chronic cough) and 5000 controls

Usage

Hordaland_data

Format

A data frame with 10000 rows and 4 variables:

y

Chronic Cough, 1: Yes, 0: No

urban.rural

1: resident in urban setting, 0: resident in rural setting

smoking.category

Smoking level: 1 No smoker, 2: ex smoker, 3: 1-9 cigarettes per day, 4: 10-19 cigarettes per day, 4:>= 20 cigarettes per day

occupational.exposure

Exposed to dust/gas at work. 1: Yes, 0: no

Source

Data simulated based on "Sequential and average attributable fractions as aids in the selection of preventive strategies." Journal of clinical epidemiology 48, no. 5 (1995): 645-655.


graphPAF documentation built on May 29, 2024, 10:21 a.m.