Home injuries and built form – methodological issues and developments in database linkage
© Newcombe et al; licensee BioMed Central Ltd. 2005
Received: 30 April 2004
Accepted: 02 February 2005
Published: 02 February 2005
The aim of this body of research is to determine whether injuries in the home are more common in particular types of housing. Previous home injuries research has tended to focus on behaviours or the provision of safety equipment to families with young children. There has been little consideration of the physical environment. This study reports methodological developments in database linkage and analysis to improve researchers abilities to utilise large administrative and clinical databases to carry out health and health services research.
The study involved linking a database of home injuries obtained from an emergency department surveillance system with an external survey of all homes in an area and population denominators for home types derived from a health service administrative database. Analysis of injury incidence by housing type was adjusted for potential biases due to deprivation and distance to hospital. For non-injured individuals data confidentiality considerations required the deprivation and distance measures be imputed. The process of randomly imputing these variables and the testing of the validity of this approach is detailed.
There were 14,081 first injuries in 112,248 residents living in 54,081 homes over a two-year period. The imputation method worked well with imputed and observed measures in the injured group being very similar. Re-randomisation and a repeated analysis gave identical results to the first analysis. One particular housing type had a substantially elevated odds ratio for injury occurrence, OR = 2.07 (95% CI: 1.87 to 2.30).
The method of data linkage, imputation and statistical analysis used provides a basis for improved analysis of database linkage studies.
Home injuries are frequent and result in greater mortality and morbidity than road traffic injuries. It is evident that the risks of some types of injuries, such as falls or injuries resulting from fire, could well be related to the built form of the home. Nevertheless the availability of robust evidence based on large numbers of cases is quite limited. Previous home injuries research has tended to focus on behaviours or the provision of safety equipment to families with young children. There has been little consideration of the physical environment. Linkage of existing large datasets has the potential to yield substantial evidence.
The present study was designed to utilise three such datasets relating to all residential properties in a defined geographical area in the United Kingdom, the resident population, and their attendances at local hospital emergency departments (EDs). These datasets could not be linked comprehensively at individual level on account of constraints on identifiability of individuals. This article describes the novel challenges that result, and the methodology used to obviate them.
This study was carried out as part of the wider Housing and Neighbourhood and Health (HANAH) project. This is a long-term partnership between academia and local authorities to elucidate the relationship between the social and built environment and health and to develop interventions to improve health. Data from an injury surveillance system on injury events in residents of the Neath-Port Talbot County Borough Council area was linked to a register of property types and denominator data. Ethical permission for the study was granted by the Morgannwg Local Research Ethics Committee.
All properties in the study area were viewed externally. Domestic properties were classified into categories based on floor area (four groups), five period groups, and five build types, viz. detached, semi-detached, flat conversions, purpose-built flats, and terraced housing. Ninety-four of the 100 combinations of the three housing type variables were found in the study area. Analysis was carried out at individual property level: analysis at postcode or zip code level was not possible because very few postcodes (13%) comprised a single property type. Postcodes contained an average of 14 properties.
Data on injuries treated at EDs were obtained for the period 1999 – 2000 from the All Wales Injury Surveillance System (AWISS) which routinely obtains individual level data from EDs surrounding the study area and is described in detail elsewhere. Briefly, the data comprises the patient's address, age, sex, date of occurrence, type and anatomical site of injury (up to three diagnoses and three sites can be coded), and includes a code indicating whether the injury occurred at home or not. No information on precipitating factors such as falls, fires or drug abuse is included.
To obtain denominator data for each property type we used the National Health Service Administrative Register (NHSAR), a list of all people registered with the free-to-use primary care health service in Wales. Data on this system are highly confidential and denominator population profiles were obtained by providing a list of all properties in the ninety four different groups to the NHSAR staff who then matched these with their system and obtained the number of people in each of the property types, subdivided by age and sex. This system has previously been used to obtain small area population data.
In analysing data on injury attendance at hospital EDs it is important to take into account the potential confounders of deprivation and access, which are known to be strongly related to injury occurrence and ED attendance respectively. For each of the injured individuals it was possible to assign an exact value for the Townsend Index of Material Deprivation and distance to hospital by road as the individual addresses were available. The Townsend Index is a small area based deprivation index, commonly used in epidemiological studies in the UK, and derived from four census variables: home ownership, overcrowding, access to a car, and unemployment. It has been shown to be strongly related to the incidence of specific types of injuries[5, 6]. For non-injured individuals this was not possible due to confidentiality constraints described above – only data aggregated at groups of address level was available. Linkage had to be performed in an indirect manner because a small number of properties in a single electoral division meant that data on age/sex compilation could be considered potentially identifiable and so could not be released.
During 1999 and 2000, 14,171 out of 112,248 residents made one or more emergency department visits for a home injury. We sought to combine three files comprising individual-level injuries data from an emergency department surveillance system; an external assessment of the built form in all 54,801 homes in the area; and denominator populations for each of ninety-four property types delivered from a health service registration system. Application of logistic regression to model injury risk on built form, property size and age, subject age, sex, deprivation and distance from emergency department jointly necessitates construction of a single linked data file. The objective was to construct an appropriately linked database and hence determine whether injuries occur more commonly in different types of home.
The study population of 112,248 individuals made 16,358 ED attendances for home injuries during the study period. The vast majority (99.5%, n = 16,277) of these attendance records included adequate data on age, gender, proximity and Townsend score. These 16,277 attendances involved 14,171 residents of the study area. Thus the average number of visits during the study period among those who ever visited the ED was 1.15, in other words 15% of the visits were repeat visits. The main analyses were constructed to compare the 14,171 first injury records identified as the subject's first attendance at ED for a home injury during the study period with those of the remaining 98,077 subjects. This has the effect of identifying all subjects who had one or more ED attendance for home injury during the study period.
Variables included in the 3 datasets to be linked.
Included in dataset for
Housing type (build type, period, floor area)
Proximity to hospital
Type of injury (3 variables)
Anatomical site of injury (3 variables)
Following discussion of preliminary results it was decided to use actual deprivation and proximity scores for the injured, and to impute values randomly according to property type for the uninjured. This is appropriate because risk scores for the remaining variables, age and sex taken together as a forty two category categorical variable, were uncorrelated with risk scores for all other variables (see later), hence imputing according to property type alone and disregarding age and sex is a reasonable strategy.
The process of randomly imputing property records, and hence Townsend and proximity scores, to the 112,248 population according to housing type is not trivial. Using ordinary stratified sampling does not work, simply because the number of residents is larger than the number of properties. The overall occupancy ratio was 112,248 residents in 54,801 properties, i.e. 2.05 individuals per property, but this figure varied widely between the 94 property types. For example, for property type 1 there were just under 2 people per property, 114 properties and 226 population. We then choose randomly 114 of the 226 population to match one-to-one to the 114 properties in a random order, leaving the remaining 112 to be matched to a random sample of the 114 properties also in a random order. This simply achieves a maximal degree of representativity with an appropriate degree of randomness. A multi-stage randomisation and linkage process (further details available from the authors) successfully linked the vast majority (14,081/14,171) of first attendances with the merged population-properties file. This has the effect of producing a merged data file in which the deprivation and distance scores randomly imputed to the uninjured both incorporate the correct means to produce an appropriate degree of adjustment for confounding, and also the correct amount of variation to produce appropriate logistic regression coefficients to perform the adjustment.
The resulting linked file, comprising reconstructed data for all 112,248 residents, containing elements originating in population, properties and events files, has complete data for demographics, property type and randomly imputed Townsend and proximity measures. Among the 112,248 subjects, 14,081 are identified as having had one or more attendances for injuries following home accidents. Actual Townsend and proximity measures and the code for injury type 1 are available for each of the 14,081 injured individuals.
The actual and imputed Townsend and proximity values were summarised for the injured and uninjured and compared. This was done by t-test, paired or unpaired as appropriate, rather than by non-parametric methods which were associated with a serious loss of power due to the gross discreteness of the small area based, randomly imputed Townsend score. Associations between random and actual Townsend and proximity scores were characterised by Spearman rank correlations. Examination of these results, together with the low correlations of a risk score for age and sex with those for property type variables, Townsend and proximity, suggested it was appropriate to include in the logistic regression model composite Townsend and proximity scores, defined as the actual value in the injured and the randomly imputed value in the uninjured. Property size, age and build type were entered as categorical variables. Preliminary analyses indicated that Townsend score should be included as a continuous variable, but distance from hospital discretised into five categories. On account of the known marked sex-age interaction, sex and subject's age were entered together as a 42-group categorical variable, age being discretised into groups under 1, 1–4, 5–9, ..., 90–94 and 95 and over.
The main analysis proceeded as above, using the 14,081 who were ever injured during the study period as the group with the outcome of interest. Both univariate analyses for each explanatory variable in turn and a multivariate analysis were produced.
Also, the main analysis was repeated after re-running the randomisation parts of the linkage process. This step is more radical than might appear. In particular, due to the small amount of missing data, the randomised matching program does not pick up exactly the same set of 14,081 events records on both occasions. Essentially, the process draws 14,081 out of 14,114 potentially matchable events.
Summary statistics (mean and SD) for actual and randomly imputed Townsend score and proximity to hospital.
Spearman rank correlations between random and actual Townsend and proximity measures.
Within groups between variables
Spearman rank correlation
95% confidence interval
Townsend v. distance
0.101 to 0.113
0.034 to 0.067
Randomly imputed v. actual
0.177 to 0.209
Distance to ED
0.039 to 0.072
Main logistic regression model results. All first injuries (14,081 subjects out of 112,248). Odds ratios and X2 tests for effect of build type on proportion of subjects ever injured (a) unadjusted; (b) adjusted for other factors after random imputation of deprivation and distance scores to the uninjured; and (c) adjusted for other factors after re-randomisation.
Number of residents
Adjusted for other factors, original random imputation
Adjusted for other factors, re-randomisation
Odds ratio (95% CI)
Odds ratio (95% CI)
X2 (4 df)
Distance to ED (km)
4.26 and below
4.27 – 5.57
5.58 – 8.69
8.70 – 13.25
13.26 and above
X2 (4 df)
194.8 (p < 0.001)
179.9 (p < 0.001)
176.9 (p < 0.001)
X2 (1 df)
36.8 (p < 0.001)
15.4 (p < .0.01)
15.9 (p < 0.01)
Parametric correlations of risk scores for age and sex with those for other factors.
Parametric correlation of risk score for age and sex with:
95% confidence interval
Risk score for floor area
+0.021 to +0.033
Risk score for age of property
-0.026 to -0.014
Risk score for type of property
+0.022 to +0.034
Townsend score working
+0.020 to +0.031
Risk score for distance
-0.009 to +0.003
The main methodological finding of the study is that the random imputation process developed here is a reasonable one. This approach enabled us to base analyses on a very large dataset notwithstanding confidentiality issues precluding comprehensive linkage directly at individual level. It is feasible to incorporate randomisation into the linkage process, even when the target group is larger than the source. The reasonableness of the imputation process can be judged by comparison of the actual and imputed variables for the injured population. For the Townsend score the actual and imputed scores are essentially identical in distribution, thus showing that the methodology does not produce a biased result. For the distance variable the mean imputed value is 7.4% higher than the actual distance. Whilst this difference is statistically significant the magnitude of the effect on residual confounding cannot be large, given the odds ratios for attendance rates by distance in Table 4, which indicate that a 1% change in distance produces around a 1% change in the odds ratio for attendance.
The low correlation between randomly imputed and actual values, for distance from hospital and Townsend score, could result in attenuated regression coefficients and hence underadjustment for the confounding effect of these variables. For distance, which is by far the more influential of the two variables, a logistic regression in which the entire population of 112,248 is assumed to have the same distribution into the 5 distance groups as applies to the 54,801 properties gives odds ratios 1.469, 1.318, 1.445, 1.200 for the first 4 distance categories relative to the 5th (most distant) one. These figures are similar to those obtained in the univariate logistic regression based on the composite distance measure, and suggest that the latter regression coefficients, and hence also those in the multiple regression, may be attenuated by around 10% only.
Of primary importance to the validity of the methodology set out here, the results obtained after a second randomisation were almost identical. The unadjusted analyses for age-sex and housing type were unaltered, as these variables do not come from the random imputation. The analyses for deprivation and proximity and the results of multivariate analyses for build type and other variables were altered, but only to a very minor degree. These results provide considerable reassurance that the random element that was necessary in order to achieve the linkage process introduced very little additional uncertainty into the final analyses.
It appears that injured people tend to live in property types more associated with deprivation than the uninjured. Their actual Townsend scores are in line with what we would expect from their property types. On the composite data, i.e. when we replace random by actual Townsend scores for the injured only, there is a substantial difference in mean Townsend score, 0.85 v. 0.70, and all the 0.15 points difference is attributable to a real effect of deprivation on risk.
Conversely, the injured and uninjured tend to live in property types equally distanced from hospital. The actual distance is less for the injured than the randomly imputed distance, which is in line with the known tendency for hospital attendance for less serious types of injury to be related to proximity(6). On the composite data (with means 7.73 v. 8.37 km), nearly the whole of the difference (0.57 out of 0.64 km) is attributable to this self-selection effect.
This process is an important methodological development to increase the power of linkage studies when all individual data elements are not available for all individuals. As a result the analysis was based on 112,248 subjects and not on ninety-four groups. Thus, the power to detect important differences is substantially enhanced.
Further work is continuing in the relationship between specific features of built type and injury occurrence, using the methodology described in this paper.
- Housing and health: building for the future. London: British Medical Association. 2003
- Statistical evidence to support the housing health and safety rating system, Project Report. London: Office of the Deputy Prime Minister. 2003, 1.
- HANAH – Housing and Neighbourhoods and Health. [http://www.hanahproject.com]
- Lyons RA, Jones S, Palmer SR, Kemp A, Sibert JR, Shepherd J, Richmond P: The development and use of a low-cost injury surveillance system: the All Wales Injury Surveillance System (AWISS). Injury Prevention. 2002, 8: 83-86. 10.1136/ip.8.1.83.View ArticlePubMedPubMed CentralGoogle Scholar
- Lyons RA, Jones SJ, Deacon T, Heaven M: Socio-economic variation in injury in children and older people: population based study. Injury Prevention. 2003, 9: 33-37. 10.1136/ip.9.1.33.View ArticlePubMedPubMed CentralGoogle Scholar
- Lyons RA, Lo SV, Heaven M, Littlepage BNC: Injury surveillance in children – usefulness of a centralised database of accident and emergency attendances. Injury Prevention. 1995, 1: 173-176.View ArticlePubMedPubMed CentralGoogle Scholar
- Townsend P, Phillimore P, Beattie A: Health and deprivation: inequality and the north. London: Croom Helm. 1998Google Scholar
- The pre-publication history for this paper can be accessed here:http://www.biomedcentral.com/1472-6963/5/12/prepub
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.