WHO MONICA Project e-publications, No. 31
December 2010
Sangita Kulathinal1 and Kari Kuulasmaa2
1 Indic Society for Education and Development (INSEED),
Nashik, India
2 Department of Chronic Disease Prevention, National Institute for
Health and Welfare, Helsinki, Finland
Correspondence to Kari Kuulasmaa (firstname.lastname@thl.fi)
This document is an appendix to the paper titled "Estimation of an errors-in-variables regression model when the variances of the measurement errors vary between the observations" published in Statistics in Medicine [1]. This contains SAS code for the method developed in the paper, and the data sets used for the examples.
SAS code to implement the EM algorithm for the bivariate normal model (BVNM) of reference [1] is attached. Instructions on the requirement of input file are given in the SAS file.
Table 1 of reference [1] used four simulated data sets corresponding to true regression coefficient 0.67. In all four cases the mean vector was (-2, -1), the diagonal elements of the variance-covariance matrix were (3, 4), and the off-diagonal element was 2. The coefficients of attenuation were 1, 1, 0.75 and 0.75. The simulated data sets, containing observed X and Y, and square root of measurement error variances in x and y are at:
Table 2 of reference [1] used data which have been published in Table 1 of reference [2].
Table 3 of reference [1] used data from Tables 1 and 2 of reference [3]. The data sets, including also the standard errors which were not shown in reference [3] are at:
In these data files, x denotes the Risk score trend and y denotes the Change in coronary-event rate during the lagged period.
Table 3 of reference [1] has misprints for BVNM for Women, : SE(β) is 0.39 (not 0.24) and CI(β) is (-0.08, 1.44).