Learn R Programming

R2MLwiN (version 0.8-2)

mmmec: EC data on UV radiation exposure & malignant melanoma.

Description

EC data on UV radiation exposure & malignant melanoma, consisting of 354 counties across 79 regions across 9 nations.

Arguments

Format

A data frame with 354 observations on the following variables:
nation
Nation ID: a factor with levels corresponding to each country.
region
Region (within-nation) ID.
county
County (within-region) ID.
obs
Number of male deaths due to malignant melanoma between 1971 and 1980.
exp
Expected number of deaths - proportional to county population.
cons
Constant (=1).
uvbi
County-level measurement of UV B radiation, centered on the mean.

Source

Browne, W. J. (2012) MCMC Estimation in MLwiN Version 2.26. University of Bristol: Centre for Multilevel Modelling. Langford, I. H., Bentham, G., McDonald, A-L. (1998) Multi-level modelling of geographically aggregated health data: a case study on malignant melanoma mortality and UV exposure in the European Community. Statistics in Medicine 17: 41-57. Rasbash, J., Charlton, C., Browne, W.J., Healy, M. and Cameron, B. (2009) MLwiN Version 2.1. Centre for Multilevel Modelling, University of Bristol.

Details

The mmmec dataset is one of the sample datasets provided with the multilevel-modelling software package MLwiN (Rasbash et al., 2009). Further information can be found in Langford et al. (1998) and Browne (2012).

See Also

See mlmRev package for an alternative format of the same dataset, with fewer variables.

Examples

Run this code
## Not run: 
# 
# data(mmmec, package = "R2MLwiN")
# 
# (mymodel3 <- runMLwiN(log(obs) ~ 1 + uvbi + offset(log(exp)) + (1 | nation) + (1 | region), 
#  D = "Poisson", estoptions = list(EstM = 1), data = mmmec))
# 
# ## End(Not run)

Run the code above in your browser using DataLab