survey of english housing 2001/2002 derived variable...

171
1 Survey of English Housing 2001/2002 Derived Variable Specs compiled by Beverley Jackson August 2000

Upload: tranque

Post on 19-Jun-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

1

Survey of English Housing 2001/2002 Derived Variable Specs

compiled by Beverley Jackson August 2000

Page 2: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

2

CONVENTIONS FOR MISSING VALUES -1 Item not applicable

The particular variable was off-route. -2 Schedule not applicable

This will be used, for example, on the household file to identify proxies at questions which were only asked of HRP’s/partners. Similarly, on derived variables such as NumAdult, –2 will identify non-productive cases. Children (aged <15 will also be set to –2 on variables/DVs which are only applicable to adults (e.g. EconSt)

-3 Item not applicable

This will be used on variables that were not included the questionnaire in a particular month/quarter.

-4 1 or more missing TG Interview This is used on household level DVs which sum answers of all TGs within the household. -6 No Tenancy Group interview I.e. TGNow is not set to ‘Now’ (interview this TG now). -7 Other missing For example, Business premises on rent amount DVs -8 Refusal -9 Don’t Know. ( -9 Not answered when –8/-9 combined into 1 category)

Page 3: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

3

Variable name: HYEARGR Label: ANNUAL GROSS HOUSEHOLD INCOME Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: Derivation: if (hweekgr =1 to 90000) hyeargr=hweekgr*52 else hyeargr=hweekgr

Page 4: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

4

Variable name: HWEEKGR1 Label: HOUSEHOLD WEEKLY INCOME GROUPED Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1. Under £50 2. £50, under £100 3. £100, under £200 4. £200, under £300 5. £300, under £400 6. £400, under £500 7. £500, under £600 8. £600, under £700 9. £700, under £800 10. £800, under £900 11. £900, under £1000 12. £1000 or more Derivation: Hweekgr grouped as follows: if (hweekgr in(000:049)) hweekgr1=1 elseif (hweekgr in(050:099)) hweekgr1=2 elseif (hweekgr in(100:199)) hweekgr1=3 elseif (hweekgr in(200:299)) hweekgr1=4 elseif (hweekgr in(300:399)) hweekgr1=5 elseif (hweekgr in(400:499)) hweekgr1=6 elseif (hweekgr in(500:599)) hweekgr1=7 elseif (hweekgr in(600:699)) hweekgr1=8 elseif (hweekgr in(700:799)) hweekgr1=9 elseif (hweekgr in(800:899)) hweekgr1=10 elseif (hweekgr in(900:999)) hweekgr1=11 elseif (hweekgr in(1000:90000)) hweekgr1=12 else hweekgr1=hyeargr

Page 5: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

5

Variable name: AGEHRP Label: Age of household reference person Level: Household Date created: August 1999 (SE) Date amended: September 01 (name change) Missing values: -1, -2 Codes: 0-97 Derivation: AgeHrp= age(hrpnum) else agehrp=-2

Page 6: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

6

Variable name: SEXHRP Label: sex of household reference person Level: Household Date created: August 1999 (SE) Date amended: September 01 (name change) Missing values: -1, -2, -9 Codes: 1 Male 2 Female Derivation: Sexhrp = sex(hrpnum) else sexhrp=-2

Page 7: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

7

Variable name: MSHRP Label: marital status of household reference person Level: Household Date created: August 1999 (SE) Date amended: September 01 (name change) Missing values: -2, -1 Codes: 1 Married 3 Cohabiting 4 Single, never married 5 Widowed 6 Separated 7 Divorced (Code 2 omitted to keep comparability with pre 1997/8 variables) Derivation: mshrp=msold(hrpnum) else mshrp=-2

Page 8: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

8

Variable name: ETHHRP Label: ethnic group of household reference person Level: Household Date created: August 1999 (SE) Date amended: September 01 (name change) Missing values: -1, -2, -8, -9

Codes: (1) White - British (2) White - Irish (3) White - Other (4) White and Black Caribbean (5) White and Black African (6) White and Asian

(7) Any other mixed background

(8) Asian - Indian (9) Asian - Pakistani (10) Asian - Bangladeshi (11) Asian - Any other Asian background (12) Black - Caribbean (13) Black - African (14) Any other Black background

(15) Chinese

Any other Derivation: ethhrp=ethnic(hrpnum) else ethhrp=-2

Page 9: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

9

Variable name: ETHBHRP Label: Background of household reference person Level: Household Date created: September 01 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 English

2 Scottish 3 Welsh 4 Other

Derivation: IF ethhrp = other (codes 3,10) THEN Ethbhrp = ethnicity of HRP

Page 10: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

10

Variable name: ETHBPRT Label: Background of household reference person’s partner Level: Household Date created: September 01 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 English

2 Scottish 3 Welsh 4 Other

Derivation: IF ethprt = other (codes 3,10) THEN Ethbprt = ethnicity of hrp’s partner

Page 11: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

11

Variable name: AGEPRT Label: Age of hrp's partner Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-97 Derivation: If (hrpprtnr = 1 to 10) THEN ageprt=age(hrpprtnr) else ageprt=-1 for productives ageprt=-2 for unproductives

Page 12: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

12

Variable name: SEXPRT Label: sex of hrp’s partner Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 1 Male 2 Female Derivation: If (hrpprtnr = 1 to 10) THEN sexprt=sex(hrpprtnr) else sexprt=-1 for productives (i.e. hrp doesn’t have a partner living in household) sexprt=-2 for unproductives

Page 13: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

13

Variable name: MSPRT Label: marital status of hrp’s partner Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 1 Married 3 Cohabiting 4 Single, never married 5 Widowed 6 Separated 7 Divorced (Code 2 omitted to keep comparability with pre 1997/8 variables) Derivation: If (hrpprtnr = 1 to 10) THEN msprt=msold(hrpprtnr) else msprt=-1 for productives (i.e. hrp doesn’t have a partner living in household) msprt=-2 for unproductives

Page 14: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

14

Variable name: ETHPRT Label: ethnic group of hrp’s partner Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: Missing values: -1, -2, -8, -9

Codes: (1) White - British (2) White - Irish (4) White - Other (4) White and Black Caribbean (5) White and Black African (6) White and Asian

(7) Any other mixed background

(8) Asian - Indian (9) Asian - Pakistani (10) Asian - Bangladeshi (11) Asian - Any other Asian background (13) Black - Caribbean (13) Black - African (16) Any other Black background

(17) Chinese

Any other Derivation: If (hrprtnr = 1 to 17) THEN ethprt=ethnic(hrpprtnr) else ethprt=-1 for productives (i.e. HRP doesn’t have a partner living in household) ethprt=-2 for unproductives

Page 15: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

15

Variable name: NDEPCH Label: Number of dependent children in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-9 Derivation: ndepch = Count of Depch (on individual file)

Page 16: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

16

Variable name: NXDEPCH Label: Number of non-dependent children in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-9 Derivation: nxdepch = count of xdepch on individual file

Page 17: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

17

Variable name: NPERS Label: Number of persons in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 1-10 Derivation: NPers = DVHSize

Page 18: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

18

Variable name: NAGE16 Label: Number of persons under 16 in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: nage16 = sum of persons in household with (age < 16)

Page 19: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

19

Variable name: NEMP Label: Number of employed persons in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: nemp = sum of persons in household coded (econst=1,2,6)

Page 20: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

20

Variable name: NUNEMP Label: Number of unemployed persons in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: nunemp = sum of persons in household coded (econst=3)

Page 21: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

21

Variable name: NINAC Label: Number of economically inactive persons in household (excluding students) Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: ninac = sum of persons in household coded (econst=4,5,8)

Page 22: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

22

Variable name: NSTUD Label: Number of students in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: nstud = sum of persons in household coded(econst=7 or ifstud=1)

Page 23: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

23

Variable name: AGEYT Label: Age of youngest child in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 0-97 Derivation: if (relfuh=3 & (ageyt=-1 or ageyt ge 0 & age < ageyt)) ageyt=age

Page 24: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

24

Variable name: AGEOLD Label: Age of oldest person in household Level: Household Date created: August 1999 (SE) Date amended: Missing values: -1, -2 Codes: 16-97 Derivation: If (age[persno] > ageold ) ageold=age[persno]

Page 25: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

25

Variable name: MAXAGEG Label: Age group of oldest person in household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1 0-4 2 5-15 3 16-19 4 20-24 5 25-29 6 30-44 7 45-64 8 65-74 9 75 or over Derivation: if (ageold=0 to 4) maxageg=1 elseif (ageold=5 to 15) maxageg=2 elseif (ageold=16 to 19) maxageg=3 elseif (ageold=20 to 24) maxageg=4 elseif (ageold=25 to 29) maxageg=5 elseif (ageold=30 to 44) maxageg=6 elseif (ageold=45 to 64) maxageg=7 elseif (ageold=65 to 74) maxageg=8 elseif (ageold ge 75) maxageg=9 else maxageg=ageold

Page 26: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

26

Variable name: MINAGEG Label: Age group of youngest person in household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1 0-4 2 5-15 3 16-19 4 20-24 5 25-29 6 30-44 7 45-64 8 65-74 9 75 or over Derivation: if (ageyng=0 to 4) minageg=1 elseif (ageyng=5 to 15) minageg=2 elseif (ageyng=16 to 19) minageg=3 elseif (ageyng=20 to 24) minageg=4 elseif (ageyng=25 to 29) minageg=5 elseif (ageyng=30 to 44) minageg=6 elseif (ageyng=45 to 64) minageg=7 elseif (ageyng=65 to 74) minageg=8 elseif (ageyng ge 75) minageg=9 else minageg=ageyng

Page 27: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

27

Variable name: GROSSA Label: Age group & sex of youngest person in household Level: Household Date created: Aug 1999 (SE) Date amended: Missing values: -1, -2 Codes: 1 0-4 2 5-15 3 16-19 male 4 16-19 female 5 20-24 male 6 20-24 female 7 25-29 male 8 25-29 female 9 30-44 male 10 30-44 female 11 45-64 male 12 45-64 female 13 65-74 male 14 65-74 female 15 75 or over male 16 75 or over female Derivation: if (minageg=1 to 3) grossa=minageg elseif (minageg=4 to 9) grossa=minageg+minageg-3 else grossa=minageg THEN if (grossa =3 to 15 & minsex=2) grossa=grossa+1

Page 28: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

28

Variable name: GROSSB Label: Age group of youngest person in household & if older persons present Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 0-4 2 5-15 3 16-19 someone older (i.e. in older age group) 4 16-19 none older 5 20-24 someone older 6 20-24 none older 7 25-29 someone older 8 25-29 none older 9 30-44 someone older 10 30-44 none older 11 45-64 someone older 12 45-64 none older 13 65-74 someone older 14 65-74 none older 15 75 or over Derivation: if (minageg=1 to 3) grossb=minageg elseif (minageg=4 to 9) grossb=minageg+minageg-3 else grossb=minageg Notes: ONS’s code assumed someone older. SE’s code first finds out if anyone is in an Older age group. If not, add ‘1’ to odd numbered codes 03-13 on GROSSB.

Page 29: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

29

Variable name: TENURE1 Label: Tenure Group 1 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Own outright 2 Buying with mortgage 3 Shared ownership 4 Council tenant 5 HA tenant Rents from: 7 Employer 8 Organisation (inc property company) 9 Relative/friend 11 Individual 12 Squatting Derivation: if (ten1=1) tenure1=1 elseif (ten1=2) tenure1=2 elseif (ten1=3) tenure1=3 elseif (llord=3 to 6) or tied=1) tenure1=7 elseif (llord=1) tenure1=4 elseif (llord=2) tenure1=5 elseif (llord=4) tenure1=8 elseif (llord=5) tenure1=9 elseif (llord=7) tenure1=11 elseif (ten1=6) tenure1=12 elseif (ten1 < -5 or llord < -5) tenure1=-9 else tenure1=-2

Page 30: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

30

Variable name: TENURE2 Label: Tenure Group 2 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Own outright 2 Buying with mortgage (including shared ownership) 3 Council tenant 4 HA tenant 5 Private renter unfurnished (or DK if furnished) 6 Private renter furnished Derivation: if (tenure1=1) tenure2=1 elseif (tenure1=2 or 3) tenure2=2 elseif (tenure1=4) tenure2=3 elseif (tenure1=5) tenure2=4 elseif (tenure1=6 to 12) & (furn=1) tenure2=6 elseif (tenure1=6 to 12) tenure2=5 else tenure2=tenure1

Page 31: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

31

Variable name: TENURE3 Label: Tenure Group 3 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Own outright 2 Buying with mortgage (including shared ownership) 3 Council tenant 4 HA tenant 5 Rents from employer 6 Other renter Derivation: if (tenure1=1) tenure3=1 elseif (tenure1=2 or 3) tenure3=2 elseif (tenure1=4) tenure3=3 elseif (tenure1=5) tenure3=4 elseif (tenure1=7) tenure3=5 elseif (tenure1=6 or 8 to 12) tenure3=6 else tenure3=tenure1

Page 32: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

32

Variable name: TENURE4 Label: Tenure Group 4 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Owners 2 Social sector 3 Private renters Derivation: if (tenure2=1 or 2) tenure4=1 elseif (tenure2=3 or 4) tenure4=2 elseif (tenure2=5 or 6) tenure4=3 else tenure4=tenure2

Page 33: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

33

Variable name: CTAXN Label: Council tax for all households including flats which were not valued separately Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Up to £40k 2 40k - 52k 3 52k - 68k 4 68k - 88k 5 88k - 120k 6 120k - 160k 7 160k - 320k 8 320k or more 9 Household accommodation not valued separately Derivation: if ctax = 1 to 8 ctaxn=ctax elseif (ctax2 = 1 to 8) & (numsp ge 1) x1=ctaxamt(ctax2)/numsp elseif (ctax2 < -5) & (ctax3 = 1 to 8) & (numsp.ge.1) x1=ctaxamt(ctax3)/numsp elseif (ctax ne 9) & (ctax3 = 1 to 8) ctaxn=ctax3 elseif (ctax = 9) & (ctax3 = 9) ctaxn=-9 else ctaxn=ctax else ctaxn=-2 if (x1 ge 000000 & x1 le 040000) ctaxn=1 elseif (x1 > 040000 & x1 le 052000) ctaxn=2 elseif (x1 > 052000 & x1 le 068000) ctaxn=3 elseif (x1 > 068000 & x1 le 088000) ctaxn=4 elseif (x1 > 088000 & x1 le 120000) ctaxn=5 elseif (x1 > 120000 & x1 le 160000) ctaxn=6 elseif (x1 > 160000 & x1 le 320000) ctaxn=7 elseif (x1 > 320000) ctaxn=8 Notes: JG agreed 04.08.99 that CTAX3=9 should result in CTAXN= -9

Page 34: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

34

Variable name: NCALLS Label: No. of calls to first contact Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0 - 97 Derivation: if (arftype=1) ccont1=callcont ncalls=0 if (callcont=0 to 90) ncalls=callcont else ncalls=-9 if (arftype=2) if (ccont1=0 to 90) t1=ccont1 if (callblue=0 to 90) t2=callblue if (callcont=0 to 90) t3=callcont ncalls=t1+t2+t3 if (arftype=3) if (ccont1=0 to 90) t1=ccont1 if (callcont=0 to 90) t3=callcont ncalls=t1+t3 If (arftype=1 or 2 or 3) if (ncalls=0) ncalls=-9 if (outc=22,24,51,52,72,73,74) continue; else ncalls=-1

Page 35: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

35

Variable name: TCALLS Label: Total calls at address Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 0 - 97 Missing values: if (arftype=1) tcalls=0 if (calltot=0 to 90) tcalls=calltot else tcalls=-9 if (arftype=2) if (ccont1=0 to 90) t1=ccont1 if (callblue=0 to 90) t2=callblue if (calltot=0 to 90)) t4=calltot tcalls=t1+t2+t4 if (arftype=3) if (ccont1=0 to 90) t1=ccont1 if (calltot=0 to 90) t4=calltot tcalls=t1+t4 if (ncalls > 0 & tcalls > 0 & ncalls > tcalls) tcalls = ncalls

Page 36: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

36

Variable name: NSHARE Label: If shares any part of accommodation Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Shares 2 Does not share Derivation: if (share2=2 or share3=1) nshare=1 elseif (share2=1) nshare=2 elseif (share2=8 or 9) nshare=share2 elseif (prod) nshare=-1 else (unprod) nshare=-2

Page 37: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

37

Variable name: NCIRC Label: If shares circulation space Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Shares 2 Does not share Derivation: if (shcirc ge 1) ncirc=shcirc elseif (circ2=1) ncirc=1 elseif (prod) ncirc=-1 else (unprod) ncirc=-2

Page 38: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

38

Variable name: NKIT Label: If shares a kitchen Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Yes 2 No Derivation: if (shrms2=1 to 90) or shrms3=1 to 90) nkit=1 elseif (nrms=1 to 90) nkit=2 elseif (nrms < -5 or shrms2 < -5 or shrms3 < -5) nkit=-9 elseif (prod) nkit=-1 else (unprod) nkit=-2

Page 39: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

39

Variable name: NBEDS Label: Number of bedrooms Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1-20 Derivation: nbeds=nrms

Page 40: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

40

Variable name: NBATH Label: If shares a bathroom Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Yes 2 No Derivation: if (shrms5=1 to 90) nbath=1 elseif (nrms > 0) nbath=2 elseif (nrms < -5 or shrms5 < -5) nbath=-9 elseif (prod) nbath=-1 else (unprod) nbath=-2

Page 41: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

41

Variable name: HHCOMP Label: Household composition (full version) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1 1 male 16-59 2 1 female 16-59 3 1 male 60 or over 4 1 female 60 or over 5 Married/cohabiting couple, no children 6 Married/cohabiting couple, non-dep children only 7 Married/cohabiting couple, dependent children 8 Lone parent, non-dependent children only 9 Lone parent, dependent children 10 Multi family household 11 Error Derivation: if (npers=1 & sexhrp=1 & agehrp < 60) hhcomp=1 elseif (npers=1 & sexhrp=2 & agehrp < 60) hhcomp=2 elseif (npers=1 & sexhrp=1 & agehrp ge 60) hhcomp=3 elseif (npers=1 & sexhrp=2 & agehrp ge 60) hhcomp=4 elseif (ncouple=1 & nlpar=0 & nchf=0) hhcomp=5 elseif (ncouple=1 & nlpar=0 & ndchf=0) hhcomp=6 elseif (ncouple=1 & nlpar=0 & ndchf > 0) hhcomp=7 elseif (ncouple=0 & nlpar=1 & ndchf=0) hhcomp=8 elseif (ncouple=0 & nlpar=1 & ndchf > 0) hhcomp=9 elseif (nfam >1 or(nfam=0 & npers >1)) hhcomp=10 elseif (prod) hhcomp=-9 else (unprod) hhcomp=-2

Page 42: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

42

Variable name: HHCOMP1 Label: Household composition (first group) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1 Married/cohabiting couple 2 Lone parent, male HRP 3 Lone parent, female HRP 4 Multi family household, male HRP 5 Multi family household, female HRP 6 1 male 7 1 female 8 Error Derivation: if (hhcomp=5 or 6 or 7) hhcomp1=1 elseif (hhcomp=8 or 9) & sexhrp=1) hhcomp1=2 elseif (hhcomp=8 or 9) & sexhrp=2) hhcomp1=3 elseif (hhcomp=10 & sexhrp=1) hhcomp1=4 elseif (hhcomp=10 & sexhrp=2) hhcomp1=5 elseif (hhcomp=1 or 3) & sexhrp=1) hhcomp1=6 elseif (hhcomp=2 or 4) & sexhrp=2) hhcomp1=7 else hhcomp1=hhcomp

Page 43: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

43

Variable name: NFAM Label: Number of couples & lone parent families in household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1-10 Derivation: if (ncouple ge 0 & nlpar ge 0) nfam=ncouple + nlpar

Page 44: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

44

Variable name: NCOUPLE Label: Number of couples in household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-5 Derivation: Set ncouple=0. For each (fut=1,2) ncouple=ncouple+1

Page 45: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

45

Variable name: NLPAR Label: Number of lone parent families in household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: Set nlpar=0. For each (fut=3 to 6) nlpar=nlpar+1

Page 46: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

46

Variable name: NSING Label: Number of one-person family units in household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: Set nsing=0 For each (fut=7) nsing=nsing+1

Page 47: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

47

Variable name: NCHF Label: Number of persons in household with relfuh=3 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: Set nchf=0. For each (relfuh=3) nchf=nchf+1

Page 48: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

48

Variable name: NDCHF Label: Number of persons in household with depch=1 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: Set ndchf=0. For each person where(depch=1 & relfuh=3) ndchf=ndchf+1

Page 49: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

49

Variable name: TOTKITS Label: Number of unshared kitchens at least 6.5 feet wide (ie kitchens counted as 'a room' in NROOMS) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 0-20 Derivation: totkits=nrms2 if (totkits=1 to 90 & shrms2=1 to 90) totkits=totkits-shrms2

Page 50: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

50

Variable name: NROOMS Label: Number of rooms available to household (Excluding small & shared kitchens) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1-20 Derivation: if (totkits=0 to 90 & nbeds=0 to 90 & nrms4=0 to 90 & nrms6=0 to 90)

nrooms=totkits+nbeds+nrms4+nrms6 elseif (prod) nrooms=-9 else (unprod) nrooms=-2

Page 51: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

51

Variable name: NROOMS1 Label: Number of rooms available to household, grouped (Excluding small & shared kitchens) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1-7 8 8 or over Derivation: if (nrooms=1 to 7) nrooms1=nrooms elseif (nrooms=8 to 90) nrooms1=8 else nrooms1=nrooms

Page 52: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

52

Variable name: ROOMPP Label: Number of rooms per person x 100 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes:0-10 Derivation: if (nrooms=1 to 90) x1=nrooms*100 roompp=x1/dvhsize elseif (prod) roompp=-9 else (unprod) roompp=-2

Page 53: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

53

Variable name: ROOMPP1 Label: Number of rooms per person grouped Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 1 Less than 1.0 2 1 < 1.5 3 1.5-2.0 4 Over 2.0 Derivation: if (roompp ge 0 & roompp < 100) roompp1=1 elseif (roompp ge 100 & roompp < 150) roompp1=2 elseif (roompp ge 150 & roompp le 200) roompp1=3 elseif (roompp > 200) roompp1=4 else roompp1=roompp

Page 54: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

54

Variable name: NEWBED Label: Number of bedrooms according to standard Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1-20 Derivation: /* Summarise for later computation of NEWBED if (marstat=2 or livewith in(1,3)) nbtype(persno)=1 elseif (age ge 21) nbtype(persno)=2 elseif (age in(10:20) & sex=1) nbtype(persno)=3 elseif (age in(10:20) & sex=2) nbtype(persno)=4 elseif (age in(0:9) & sex=1) nbtype(persno)=5 elseif (age in(0:9) & sex=2) nbtype(persno)=6 /* Unproductives take same MV as nbeds if (unprod) newbed=nbeds t1=1,dvhsize t2=nbtype(t1) if (t2=1 & pp=0) pp=1 newbed=newbed1 elseif (t2=1 & pp=1) pp=0 elseif (t2=2) newbed=newbed1 elseif (t2=3 & pm=0 & cm=0) pm=1 newbed=newbed1 elseif (t2=3 & pm=1) pm=0 elseif (t2=3 & cm=1) cm=0 elseif (t2=4 & pf=0 & cf=0) pf=1 newbed=newbed1 elseif (t2=4 & pf=1) pf=0 elseif (t2=4 & cf=1) cf=0 elseif (t2=5 & pm=0 & cm=0 & cf=0) cm=1

newbed=newbed1 elseif (t2=5 & pm=0 & cm=1) cm=0 elseif (t2=5 & pm=0 & cf=1) cf=0 elseif (t2=5 & pm=1) pm=0 elseif (t2=6 & pf=0 & cm=0 & cf=0) cf=1 newbed=newbed1 elseif (t2=6 & pf=0 & cf=1) cf=0 elseif (t2=6 & pf=0 & cm=1) cm=0 elseif (t2=6 & pf=1) pf=0

Page 55: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

55

Variable name: BEDSTND Label: Difference from bedroom standard Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -91, -92, -99 Codes: 1-20 Derivation: if (newbed =1 to 90) & (nbeds =1 to 90) bedstnd=nbeds-newbed else bedstnd=-99

Page 56: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

56

Variable name: BEDSTND1 Label: Difference from bedroom standard, grouped Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 2 or more below standard 2 1 below standard 3 Equal to standard 4 1 above standard 5 2 or more above standard Derivation: if (bedstnd > -90 & bedstnd le -2) bedstnd1=1 elseif (bedstnd=-1) bedstnd1=2 elseif (bedstnd=0) bedstnd1=3 elseif (bedstnd=1) bedstnd1=4 elseif (bedstnd ge 2) bedstnd1=5 else bedstnd1=-9

Page 57: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

57

Variable name: BUYPRESH Label: YEAR HRP BOUGHT PRESENT ACCOMMODATION Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 up to 1944 2 1945-1954 3 1955-1964 4 1965-1974 5 1975-1979 6 1980-1984 7 1985 8 1986 9 1987 10 1988 11 1989 12 1990 13 1991 14 1992 15 1993 16 1994 17 1995 18 1996 19 1997 20 1998 21 1999 22 2000 Derivation: if (yrbuy=1000 to 1944) buypresh=1 elseif (yrbuy =1945 to 1954) buypresh=2 elseif (yrbuy =1955 to 1964) buypresh=3 elseif (yrbuy =1965 to 1974) buypresh=4 elseif (yrbuy =1975 to 1979) buypresh=5 elseif (yrbuy =1980 to 1984) buypresh=6 elseif (yrbuy =1985 to 2000) buypresh=yrbuy-1978 else buypresh=yrbuy

Page 58: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

58

Variable name: BUYFSTH Label: YEAR HRP BOUGHT FIRST ACCOMMODATION Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 up to 1944 2 1945-1954 3 1955-1964 4 1965-1974 5 1975-1979 6 1980-1984 7 1985 8 1986 9 1987 10 1988 11 1989 12 1990 13 1991 14 1992 15 1993 16 1994 17 1995 18 1996 19 1997 20 1998 21 1999 22 2000 23 2001 24 2002 Derivation: if (yrfst =1000 to 1944) buyfsth=1 elseif (yrfst =1945 to 1954) buyfsth=2 elseif (yrfst =1955 to 1964) buyfsth=3 elseif (yrfst =1965 to 1974) buyfsth=4 elseif (yrfst =1975 to 1979) buyfsth=5 elseif (yrfst =1980 to 1984) buyfsth=6 elseif (yrfst =1985 to 2000) buyfsth=yrfst-1978 else buyfsth=yrfst

Page 59: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

59

Variable name: ECONHRP Label: Economic status of HRP Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Full-time employment 2 Part-time employment 3 Unemployed 4 Retired 5 Sick or disabled 6 Government training scheme 7 Student 8 Other inactive Derivation: econhrp=econst(hrpnum)

Page 60: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

60

Variable name: ECONPRT Label: Economic status of partner Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Full-time employment 2 Part-time employment 3 Unemployed 4 Retired 5 Sick or disabled 6 Government training scheme 7 Student 8 Other inactive Derivation: if (hrpprtnr =2 to 10) econprt=econst(hrpprtnr)

Page 61: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

61

Variable name: GrossHRP Label: ANNUAL GROSS INCOME OF HRP (£) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Derivation: if (rgross3y > 0) grosshrp=rgross3y elseif (rgrossw > 0) grosshrp=rgrossw*52 elseif (srcinc=10) grosshrp=0 else grosshrp=rgrossw Notes: GROSS & GROSS3 are recoded so that the values (RGROSSW & RGROSS3Y) are the mid-points of the banded estimates.

Page 62: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

62

Variable name: JOINTINC Label: ANNUAL INCOME OF HRP & SPOUSE (£) Level: Household Date created: Aug 99 (SE) Dates amended: Missing values: -1, -2, -8, -9 Codes: Derivation: if (jweekgr > 0) jointinc=jweekgr*52 elseif (srcinc=10) jointinc=0 else jointinc=jweekgr

Page 63: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

63

Variable name: WEEKHRP1 Label: WEEKLY INCOME (HRP): GROUPED (£ PER WEEK) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 Under £50 2 £50, under £100 3 £100, under £200 4 £200, under £300 5 £300, under £400 6 £400, under £500 7 £500, under £600 8 £600, under £700 9 £700, under £800 10 £800, under £900 11 £900, under £1000 12 £1000 or more Derivation: if (weekhrp ge 0000 & weekhrp < 0050) weekhrp1=01 elseif (weekhrp ge 0050 & weekhrp < 0100) weekhrp1=02 elseif (weekhrp ge 0100 & weekhrp < 0200) weekhrp1=03 elseif (weekhrp ge 0200 & weekhrp < 0300) weekhrp1=04 elseif (weekhrp ge 0300 & weekhrp < 0400) weekhrp1=05 elseif (weekhrp ge 0400 & weekhrp < 0500) weekhrp1=06 elseif (weekhrp ge 0500 & weekhrp < 0600) weekhrp1=07 elseif (weekhrp ge 0600 & weekhrp < 0700) weekhrp1=08 elseif (weekhrp ge 0700 & weekhrp < 0800) weekhrp1=09 elseif (weekhrp ge 0800 & weekhrp < 0900) weekhrp1=10 elseif (weekhrp ge 0900 & weekhrp < 1000) weekhrp1=11 elseif (weekhrp ge 1000) weekhrp1=12 else weekhrp1=weekhrp

Page 64: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

64

Variable name: WEEKJNT1 Label: WEEKLY INCOME (HRP SPOUSE): GROUPED (£ PER WEEK) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 Under £50 2 £50, under £100 3 £100, under £200 4 £200, under £300 5 £300, under £400 6 £400, under £500 7 £500, under £600 8 £600, under £700 9 £700, under £800 10 £800, under £900 11 £900, under £1000 12 £1000 or more Derivation: if (weekjnt ge 0000 & weekjnt < 0050) weekjnt1=01 elseif (weekjnt ge 0050 & weekjnt < 0100) weekjnt1=02 elseif (weekjnt ge 0100 & weekjnt < 0200) weekjnt1=03 elseif (weekjnt ge 0200 & weekjnt < 0300) weekjnt1=04 elseif (weekjnt ge 0300 & weekjnt < 0400) weekjnt1=05 elseif (weekjnt ge 0400 & weekjnt < 0500) weekjnt1=06 elseif (weekjnt ge 0500 & weekjnt < 0600) weekjnt1=07 elseif (weekjnt ge 0600 & weekjnt < 0700) weekjnt1=08 elseif (weekjnt ge 0700 & weekjnt < 0800) weekjnt1=09 elseif (weekjnt ge 0800 & weekjnt < 0900) weekjnt1=10 elseif (weekjnt ge 0900 & weekjnt < 1000) weekjnt1=11 elseif (weekjnt ge 1000) weekjnt1=12 else weekjnt1=weekjnt

Page 65: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

65

Variable name: WEEKHRP1 Label: WEEKLY INCOME (HRP): UNGROUPED (£ PER WEEK) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: Derivation: if (rgross3y > 0) set x1=rgross3y/52 weekhrp=x1 elseif (rgrossw > 0) weekhrp=rgrossw elseif (srcinc=10) weekhrp=0 else weekhrp=rgrossw

Page 66: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

66

Variable name: WEEKJNT Label: WEEKLY INCOME (HRP SPOUSE): UNGROUPED (£ PER WEEK) Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 0-9999997 Derivation: if (srcinc=10) weekjnt=0 else weekjnt=jweekgr

Page 67: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

67

Variable name: HATENTP Label: TYPE OF HOUSING ASSOCIATION TENANCY Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Assured shorthold 2 Other Derivation: if (yrha < -5) hatentp=-9 elseif (tenure2=4 and (yrha=1990 to 9000) hatentp=1 elseif (tenure2=4) hatentp=2 else (prod) hatentp=-1

Page 68: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

68

Variable name: NSSEC2 Label: NS-SEC Socio-economic Classification Level: Household Date created: September 01 Date amended: Missing values: -9, -8, -2, -1 Codes: 1 Employers in large organisation

2 Higher managerial occupation 3 Higher professional occupation 4 Lower professional and higher technical occupation 5 Lower managerial occupation 6 Higher supervisory occupation 7 Internal supervisory occupation 8 Small employers 9 Own account workers 10 Lower supervisors 11 Lower technical 12 Semi routine occupation 13 Routine occupation 14 Never worked or long term unemployed 15 Full time students 16 Occupation not stated or inadequately described 17 Not classifiable for other reasons

Derivation: The occupation code for HRP's current/last job (Soc2000)

Page 69: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

70

Variable name : AGEHRP1 Label: Age of HRP group 1 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 16 - 59 2 60 or over Derivation: if (agehrp=16 to 59) agehrp1=1 elseif (agehrp ge 60) agehrp1=2 else agehrp1=agehrp

Page 70: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

71

Variable name: SHARER Label: If shares accommodation with other household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Shares Accommodation 2 Self-Contained accommodation Derivation if (ncirc=1 or nshare=1) sharer=1 elseif (ncirc <-5 or nshare <-5) sharer=-9 elseif (prod) sharer=2 else sharer=-2

Page 71: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

72

Variable name: ACCOMHH Label: Type of accommodation for household Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 Detached house or Bungalow 2 Semi-Detached 3 Terrace/End of Terrace 4 Purpose built flat / Maisonette 5 Flat conversion/Rooms 6 Caravan or Boat 7 Other Derivation: if (hsetype=1 to 3) accomhh=hsetype elseif (flttyp=1 or 2) accomhh=flttyp+3 elseif (accoth=1 or 2) accomhh=accoth+5 elseif (accom=3) accomhh=5 elseif (hsetype <-5 or flttyp <-5 or accoth <-5) accomhh=-9 elseif (prod) accomhh=-9 else (unprod) accomhh=-2

Page 72: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

73

Variable name: ACCOMHH1 Label: Type of accommodation for household & if not self-contained Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 Detached house or Bungalow 2 Semi-Detached 3 Terrace/End of Terrace 4 Purpose built flat / Maisonette 5 Flat conversion/Rooms 6 Caravan or Boat 7 Other 8 Non self contained Derivation: accomhh1=accomhh if (sharer=1) accomhh1=8

Page 73: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

75

Variable name: GOVREG1 Label: Government Office Region grouped Level: Tenancy Group Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 North 2 Midlands 3 London 4 Rest of South Derivation: if (govreggb in(1:4,12)) govreg1=1 elseif (govreggb in (5,6,11)) govreg1=2 elseif (govreggb=8) govreg1=3 elseif (govreggb=7,9,10) govreg1=4 else govreg1=-1

Page 74: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

76

Variable name: COHABHRP Label: IF HRP IS COHABITING Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Cohabiting 2 Not cohabiting 3 Same sex couple (spontaneous) Derivation: If relhrp = 1 cohabhrp=livewith(hrpnum)

Page 75: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

77

Variable name: STUDHRP Label: IF HRP IS A FULL TIME STUDENT Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 FT student 2 Not FT student Derivation: if (persno=hrpnum) studhrp=ifstud(Hrpnum)

Page 76: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

78

Variable name: COHABPRT Label: IF PARTNER OF HRP IS COHABITING Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Cohabiting 2 Not cohabiting 3 Same sex couple (spontaneous) Derivation: If hrpprtnr =1 to 10 cohabprt=livewith(hrpprtnr)

Page 77: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

79

Variable name: STUDPRT Label: IF HRP’S PARTNER IS A FULL TIME STUDENT Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 1 FT student 2 Not FT student Derivation: If hrpprtnr =1 to 10 studprt=ifstud(hrpprtnr)

Page 78: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

80

Variable name: LMSHRP Label: Legal marital status of household reference person Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Single, never married 2 Married 3 Widowed 4 Separated 5 Divorced Derivation: If relhrp=1 on individual file lmshrp=marstat(hrpnum)

Page 79: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

81

Variable name: LMSPRT Label: Legal marital status of partner Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Single, never married 2 Married 3 Widowed 4 Separated 5 Divorced Derivation: If hrpprtnr=1 to 10 lmsprt=marstat(hrpprtnr)

Page 80: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

82

Variable name: SFT Label: NUMBER OF FT WORKERS IN HHLD Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-10 Derivation: nemp = number of persons coded (econst=1)

Page 81: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

83

Variable name: NOUNITS1 Label: NUMBER OF FAMILY UNITS IN HHLD GROUPED Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 2 or more Missing values: None Derivation: if (nounits=1) nounits1=1 elseif (nounits >1) nounits1=2 else nounits1=-2

Page 82: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

84

Variable name: RGROSSW, RGROSS3Y Label: Mid point of income bands for HRP’s income RGROSSW = midpoint of GROSS RGROSS3Y = midpoint of GROSS3 Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: Derivation: Band code held in GROSS is looked up in file RGW.FET to get value of midpoint which is then set in RGROSSW. Missing values on GROSS are transferred to RGROSSW. Same procedure as above is used for GROSS3/RGROSS3Y using RG3Y.FET.

Page 83: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

85

Variable name: NOTHER Label: If shares other room Level: Household Date created: Aug 99 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Yes 2 No Derivation: if (nrms=1 to 90) nother=2 elseif (shrms ge 1 or shrms4 ge 1 or shrms6 ge 1) nother=1 elseif (prod) nother=-9 else nother=-2

Page 84: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

86

Variable name: LWATER Label: Water rates per week for social renters Level: Household Program: lawater.yr Date created: June 1998 (SE) Date amended: Missing values: -1, -2, -8, -9 Codes: 0-99999 Derivation: lwater = wramt worked out as an amount per week using rentperiod if (wramt < -5 or rentperi < -5 or persrnto < -5) lwater=-9 if rentperi=1 lwater=wramt. if rentperi=2 lwater=wramt/2. if rentperi=3 lwater=wramt/3. if rentperi=4 lwater=wramt/4. if rentperi=7 lwater=wramt/8.667. if rentperi=5 lwater=wramt/4.333. if rentperi=8 lwater=wramt/6.5. if rentperi=9 lwater=wramt/5.78. if rentperi=10 lwater=wramt/5.2. if rentperi=13 lwater=wramt/13. if rentperi=26 lwater=wramt/26. if rentperi=52 lwater=wramt/52. if RANGE(persrnto,1,52) lwater=wramt/persrnto.

Page 85: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

87

Variable name: LWATERX Label: Imputed water rates for social renters Level: Household Program:lwater.yr Date created: June 1998 (SE) Date amended: Missing values: -1, -2, -9 Codes:0-99999 Derivation: Calculate mean water rate paid by those with water rates included in rent & who know the amount paid (wramt ge 0 & le 9997). Calculate accindex {comparable to HSEINDEX in COMPNEW.SPS}: index for accommodation types (accommhh1 codes 1-8) Calulate REGINDEX: index (see COMPNEW.SPS)for different water boards (based on county codes) Calculate lwaterx = Regindex * accindex * 4.40 (overall mean weekly water rate) Imputed water rates for social renters • lwaterx is computed where lwater is DK etc. (< -5) • good values of lwater take not applicable value (-1) on lwaterx • not applicable values of lwater carry over to lwaterx if (lwater < -5) lwaterx=accindex*regindex*4.40 elseif (lwater ge 0) lwaterx= -1 else lwaterx=lwater

Page 86: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

88

Variable name: LRENTBH, LRENTAH Label: LRENTBH: LA rent before housing benefit exc water (£pw) LRENTAH: LA rent after housing benefit exc water (£pw) Level: Household Program:larent.yr Date created: Feb 94 Date amended: june 1998 to subtract water rates Missing values: -1, -2, -9 Codes: -6, -8 0-999999.99 Derivation: 1 Create rent excluding Council Tax: LARTEXP *Recode dk/refused on rentamt to -8 if (ptaxa ge 0 & rentamt > ptaxa) lartexp=rentamt-ptaxa elseif (ptaxa ge 0 & rentamt = ptaxa) lartexp=rentamt elseif (ptax = 2 or rentamt = 0) lartexp=rentamt elseif (ptax < -5) lartexp=rentamt elseif (prod & tenure2 = 3 or 4) lartexp=-9 elseif (prod) lartexp=-1 else lartexp=-2 2 Create rent per week excluding council tax: LRTWK Compute lrtwk=-6 Do if rentperio > 0 & lartexp ge 1 if rentperi=1 lrtwk=lartexp. elseif rentperi=2 lrtwk=lartexp /2. elseif rentperi=3 lrtwk=lartexp /3. elseif rentperi=4 lrtwk=lartexp /4. elseif rentperi=5 lrtwk=lartexp /4.333. elseif rentperi=7 lrtwk=lartexp /8.667. elseif rentperi=8 lrtwk=lartexp /6.5. elseif rentperi=9 lrtwk=lartexp /5.78. elseif rentperi=10 lrtwk=lartexp /5.2. elseif rentperi=13 lrtwk=lartexp /13. elseif rentperi=26 lrtwk=lartexp /26. elseif rentperi=52 lrtwk=lartexp /52. elseif RANGE(persrnto,1,52) lrtwk=lartexp/persrnto. elseif (rentamt=0) lrtwk=0 else (lartexp < -5 or rentperi > 53 or rentperi > 53) lrtwk= -9 3 Calculate housing benefit: HB Compute HB=0 Do if perhb > 0 & amthb ge 1 . do if perhb=1

Page 87: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

89

. compute hb=amthb

. elseif perhb=2

. compute hb=amthb/2

. elseif perhb=3

. compute hb=amthb/3

. elseif perhb=4

. compute hb=amthb/4

. elseif perhb=5

. compute hb=amthb * 12/52

. else of perhbo ge 1

. compute hb=amthb/perhbo

. end if end if If (hben > 2 or perhb > 6 or amthb > 10000 ) hb=-8 4 Create rent before & after hb (lrentbh, lrentah) Compute lrtwkafh = lrtwk Compute lrtwkbeh = lrtwk Do if hb > 0 & lrtwk ge 0 compute lrtwkbeh = lrtwk hb end if If HB = -8, lrtwkbeh=-8 5 Deduct water rates **If water rates known: deduct reported water rates (lwater) do if lwater > 0 & lwater < 1000 & lwater < lrentbh. compute lrentbh = lrentbh-lwater. end if. do if lwater > 0 & lwater < 1000 & lwater < lrentah. compute lrentah = lrentah-lwater. end if. **If water rates not known: deduct imputed water rates (lwaterx) do if lwaterx > 0 & lwaterx < 1000 & lwaterx < lrentbh. compute lrentbh = lrentbh-lwaterx. end if. do if lwaterx > 0 & lwaterx < 1000 & lwaterx < lrentah. compute lrentah = lrentah-lwaterx. end if. 6 Take account of rent holiday pro rata rent to take account of number of weeks rent not paid Compute lrentbh = lrtwkbeh Compute lrentah = lrtwkafh Do if rentholwks ge 1 & lrentbh > 0 compute lrentbh = (lrentbh * (52-rentholwks))/52 end if Do if rentholwks ge 1 & lrentah > 0 compute lrentah = (lrentah * (52-rentholwks))/52 end if

Page 88: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

90

/* LRENTBH & LRENTAH Weekly rent before/after HB /* temp vars lrtwkbeh & lrtwkafh preserve values before other /* adjustments & are used e.g. in derivation of HBFULL /* dvhben is assumed to be the same as HB in ONS spec. if (dvhben >0 & lrtwk ge 0) lrtwkbeh=lrtwk+dvhben else lrtwkbeh=lrtwk lrtwkafh=lrtwk lrentbh=lrtwkbeh lrentah=lrtwkafh /* deduction of amounts for water. In testing whether the water amount /* (known or imputed) is less than the rent before doing the subtraction /* it is necessary to test both lrentbh & lrentah together. /* If they are tested separately, only one may qualify for subtraction, /* leading to spurious negative values on HBADJ. SE 03/08/00 /* deduct water rates if known if (lwater >0 & lwater<1000 & lwater<lrentbh & lwater<lrentah) + lrentbh=lrentbh-lwater + lrentah=lrentah-lwater /* deduct imputed amount if water rates not known if (lwaterx >0 & lwaterx<1000 & lwaterx<lrentbh & lwaterx<lrentah) + lrentbh=lrentbh-lwaterx + lrentah=lrentah-lwaterx /* adjust for rent holiday if (rentholw ge 1) x1=52; x2=rentholw; x3=(x1-x2)/x1 if (rentholw ge 1 & lrentbh >0) lrentbh=lrentbh*x3 if (rentholw ge 1 & lrentah >0) lrentah=lrentah*x3

Page 89: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

91

Variable name: HBADJ Label: Amount of housing benefit adjusted for rent holiday (£/week) Level: Household Program: larent.YR Date created: Jan 1995 (SE) (added to 1994/5 hhld file) Date amended: Missing values: -1, -2, -9 Codes: 0-9999 Derivation: if (hben = 2 or amthb = 0) hbadj=0; else hbadj=hb *Adjust for rent holiday as for lrentbh/ah if (rentholw ge 1) x1=52, x2=rentholw, x3=(x1-x2)/x1 if (rentholw ge 1 & hb > 0) hbadj= hbadj * x3

Page 90: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

92

Variable name: HBFULL Label: IF LA/HA TENANT RECEIVES FULL/PARTIAL HOUSING BENEFIT Level: Household Program: LARENT.YR Date created: June 94 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Full HB 2 Partial HB 3 No HB 4 HB > rent Derivation /* HBFULL If LA/HA tenant receives full/partial HB x1=lrtwkbeh-dvhben if (hben = 2) hbfull=3 elseif (lrtwkbeh ge 0 & x1 ge 0 & x1 le 1) hbfull=1 elseif (lrtwkbeh ge 0 & x1 >1) hbfull=2 elseif (lrtwkbeh >0 & dvhben >0 & x1<0) hbfull=4 elseif (llord in (1:2) & tied <>1) hbfull=-9 elseif (prod) hbfull=-1 else hbfull=-2 Note: 28/10/01 variable changed in line with DTLR code. From 00/01 hbfull will take values 1, 2, 3, 5, 6

Page 91: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

93

Variable name: HBFULL1 Label: IF LA/HA TENANT RECEIVES HOUSING BENEFIT & KNOWS AMOUNT Level: Household Date created: 2000 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Gets Housing Benefit, amount known 2 Gets HB, DK amt 3 No HB Derivation: if (hben = 2 or dvhben = 0) hbfull1=3 elseif (hb >0) hbfull1=1 elseif (hb<-5) hbfull1=2 elseif (hben<-5) hbfull1=-9 else hbfull1=hben

Page 92: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

94

Variable name: LRENTAH1 Label: LA WEEKLY RENT AFTER HB (£) GROUP 1 Level: Household Date created: 2000 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Nil 2 £1-£9 3 £10-£19 4 £20 -£29 5 £30-£39 6 £40 or more Derivation: /* LRENTAH1 - Grouping of LRENTAH if (lrentah = 00) lrentah1=1 elseif (lrentah >00 & lrentah<10) lrentah1=2 elseif (lrentah ge 10 & lrentah<20) lrentah1=3 elseif (lrentah ge 20 & lrentah<30) lrentah1=4 elseif (lrentah ge 30 & lrentah<40) lrentah1=5 elseif (lrentah ge 40) lrentah1=6 else lrentah1=lrentah

Page 93: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

95

Variable name: LRENTBH1 Label: LA WEEKLY RENT BEFORE HB (£) GROUP 1 Level: Household Date created: 2000 (SE) Date amended: Missing values: -1, -2, -9 Codes: 1 Under £20 2 £20-£29 3 £30-£39 4 £40-£49 5 £50 or more Derivation: /* LRENTBH1 - Grouping of LRENTBH if (lrentbh ge 00 & lrentbh<20) lrentbh1=1 elseif (lrentbh ge 20 & lrentbh<30) lrentbh1=2 elseif (lrentbh ge 30 & lrentbh<40) lrentbh1=3 elseif (lrentbh ge 40 & lrentbh<50) lrentbh1=4 elseif (lrentbh ge 50) lrentbh1=5 else lrentbh1=lrentbh

Page 94: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

96

Variable name: PHBFULL1 Label: IF PRIVATE TENANT RECEIVES FULL/PART HOUSING BENEFIT Level: Household Date created: Sept 95 (SE) Date amended: Missing values: -1, -2, -7, -9 Codes: 1 Full HB 2 Partial HB 3 No HB 4 HB > rent 5 Gets HB, DK amt Derivation: if (phcrnet ge 0 & phcrnet<5) phbfull1=1 elseif (phcrnet ge 5) phbfull1=2 elseif (prhb = 0) phbfull1=3 else phbfull1=phcrnet

Page 95: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

97

Variable name: PRHB Label: If any TG in hhld receives HB Level: Household level Date created: 2000 (SE) Date amended: Missing values: -1, -2, -4, -9 Codes: 1 hhld receives HB 0 No HB Derivation: if (prhb = -1) prhb=0 if (phben = 1 & prhb ne -4) prhb=1 if (phben = -4) prhb=-4 Note: Re-initialise to 0 (residual -1s are HHs with no TG)

Page 96: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

98

Variable name: PHNREXB Label: TG unadjusted rent after HB summed to HH level (£ per week) Level: Household Date created: 1999 (SE) Date amended: Missing values: -1, -2, -4, -9 Codes:0-99999 Derivation: if (phnrexb ge –3 & phnrexb le -1) phnrexb=0 /* Any TG non-response makes HH var non-response as well. Includes no TG int if (netrent le -4) phnrexb=netrent if (netrent ge 0 & phnrexb ge 0) phnrexb=phnrexb + (netrent/100)

Page 97: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

99

Variable name: PHCRNET Label: TG comparable rent after HB summed to HH level Level: Household Date created: 1999 (SE) Date amended: Missing values: -1, -2, -4, -7, -9 Codes:0-99999 Derivation: if (phcrnet ge –3 & phcrnet le -1) phcrnet=0 /* Any TG non-response makes HH var non-response as well. Includes no TG int if (crentnet le -4) phcrnet=crentnet if (crentnet ge 0 & phcrnet ge 0) phcrnet=phcrnet+(crentnet/100)

Page 98: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

100

Variable name: TG1ACC Label: Tenancy group accommodation 1 Level: Tenancy Group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Detached houese 2 Semi detached house 3 Terrace house 4 Purpose buit flat 5 Converted flat 6 Caravn, boat, other 7 Rooms in house 8 Rooms in pb flat 9 Rooms in converted flat 10 Rooms in other accomm Derivation: if (numagr=1 & htgishrp=1 & accomhh=1 to 6) tg1acc=accomhh elseif (numagr=1 & htgishrp=1 & accomhh=7) tg1acc=6 elseif ((numagr > 1 or htgishrp ne 1)& accomhh=1,2 or 3) tg1acc=7 elseif ((numagr > 1 or htgishrp ne 1)& accomhh=4 or 5) tg1acc=accomhh + 4 elseif ((numagr > 1 or htgishrp ne 1) & accomhh=6 or 7) tg1acc=10 elseif (prod) tg1acc=-9

Page 99: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

101

Variable name: TG2ACC Label: Tenancy group accommodation 2 Level: Tenancy Group Date created: July 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: Not self contained: 1 Rooms 2 Bedsit (1 room, not with own bath/toilet) 3 Other Self contained: 4 Studio flat (1 bed,no other rooms, may be separate kitchen own bath& toilet) 5 Other one bedroom flat 6 Other flat 7 1/2 bed house 8 3 bed house 9 Other house 10 Other accommodation Derivation: tg2acc=11 if (accomhh1=8) tg2acc=3 if (nrooms=1 & wcshr=1 & (nbath=1 or nrms5=0)) tg2acc=2 if (nrooms=1 & numwc=0 & (nbath=1 or nrms5=0)) tg2acc=2 if (numagr > 1 or htgishrp=2) tg2acc=1 if (accomhh1=4 or 5 & tg2acc=11) tg2acc=5 if (tg2acc=5 & nbeds=1 & nrms4=0 & nrms6=0 & nrms5=1 & numwc > 0) tg2acc=4 if (tg2acc=5 & nbeds > 1) tg2acc=6 if (accomhh1=1,2 or 3 & tg2acc=11) tg2acc=9 if (tg2acc=9 & nbeds=0 to 2) tg2acc=7 if (tg2acc=9 & nbeds=3) tg2acc=8 if (accomhh1=6 or 7 & tg2acc=11) tg2acc=10 if (tg2acc=11) tg2acc=-9

Page 100: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

102

Variable name: VWRINCP Label: PRIVATE RENTERS WATER RATES AMOUNT (PENCE PW) Level: Tenancy Group Date created: 2000 (SE) Date amended: Codes: 0-9999 Missing values: -1, -4, -8, -9 Derivation: /* VWRINCP Conversion of VWRINC to pence, missing values carried over

if (vwrinc ge 0) vwrincp=vwrinc*100 else vwrincp=vwrinc

(vwrinc is amount paid for water rates (£ pw) calculated in Blaise)

Page 101: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

103

Variable name: LLRELATN Label: LANDLORD FRIEND/RELATION OF HOUSEHOLD MEMBER Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Rent-free 2 Nominal rent 3 Public rent Derivation: if (llord=5 & pfree=2) llrelatn=1 elseif (llord=5 & wrent le 1000) llrelatn=2 elseif (llord=5 & wrent >1000) llrelatn=3 elseif (llord=5) llrelatn=-9 else llrelatn=-1

Page 102: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

104

Variable name: RESLLORD Label: RESIDENT LANDLORD Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Resident landlord in purpose built block 2 Resident landlord in other building 3 Non-resident landlord: purpose built block 4 Non-resident landlord: landlord organisation 5 Non-resident landlord: landlord not organisation Derivation: if (resll2=1 or (htgishrp=2 & llhh=1 & flttyp=1)) resllord=1 elseif (resll2=2) resllord=3 elseif (resll=1 or (htgishrp=2 & llhh=1 & flttyp <>1)) resllord=2 elseif (llord=1 to 4) resllord=4 elseif (resll=2) resllord=5 elseif (llord <-5 or resll <-5 or resll2 <-5) resllord=-9 else resllord=-1

Page 103: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

105

Variable name: TENAGREE Label: LETTING TYPE Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Regulated - registered 2 Regulated - not registered 3 Resident landlord 4 No access - rented 5 No access - rent-free 6 No security 7 Assured shorthold 8 Protected shorthold 9 Assured 10 Regulated - default 11 Rental purchase Derivation: if (resllord=1 or 2) tenagree=3 elseif (meals=1 & yearst=1000 to 1998) tenagree=6 elseif (othway=3 to 5) tenagree=6 elseif (othway=1 or 2 or wjob=1) & pfree <> 2) tenagree=4 elseif (othway=1 or 2 or wjob=1) & pfree=2) tenagree=5 elseif ((yearst=1989 to 1996) or (yearst=1997 & mstart97=1)) & shortx=1) tenagree=7 elseif (yearst=1989 to 1996) or (yearst=1997 & mstart97=1)) tenagree=9 elseif ((yearst=1998 to 9000) or (yearst=1997 & mstart97=2 or 3) & short97=1) tenagree=9 elseif (yearst=1998 to 9000) or (yearst=1997 & mstart97=2 or 3) tenagree=7 elseif (yearst=1980 to 1988 & shortx=1) tenagree=8 elseif (yearst=1000 to 1988 & fairr=1) tenagree=1 elseif (yearst=1000:1988 & fairr=2 or fairr <-9) tenagree=2 elseif (yearst=1000 to 1988) enagree=10 elseif (resllord <-5 or shortx <-5 or yearst <-5 or othway <-5 or wjob <-5 or rfree <-5 or pfree <-5 or meals <-5 or short97 <-5 or mstart97 <-5 or ctract <-5 or written <-5) tenagree=-9 else tenagree=-1

Page 104: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

106

Variable name: TENLET Label: LETTING TENURE - DOE SPECIFIED Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Regulated - registered 2 Regulated - not registered 3 Resident landlord 4 No access - rented 5 No access - rent-free 6 No security 7 Assured shorthold 8 Assured Derivation: if (tenagree=3) tenlet=3 elseif (llrelatn=1 or 2) tenlet=5 elseif (tenagree=1,2,4,5,6 or 7) tenlet=tenagree elseif (tenagree=10) tenlet=2 elseif (tenagree=8) tenlet=7 elseif (tenagree=9) tenlet=8 else tenlet=tenagree

Page 105: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

107

Variable name: TENLET1 Label: LETTING TENURE - DOE SPECIFIED Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Regulated - registered 2 Regulated - not registered 3 Assured 4 Assured shorthold 5 No access - rented 6 No access - rent-free 7 Resident landlord 8 No security Derivation: if (tenlet=1) tenlet1=1 elseif (tenlet=2) tenlet1=2 elseif (tenlet=8) tenlet1=3 elseif (tenlet=7) tenlet1=4 elseif (tenlet=4) tenlet1=5 elseif (tenlet=5) tenlet1=6 elseif (tenlet=3) tenlet1=7 elseif (tenlet=6) tenlet1=8 else tenlet1=tenlet

Page 106: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

108

Variable name: TENLET2 Label: LETTING TENURE - SUMMARY Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Regulated 2 Assured & Assured Shorthold 3 Not accessible 4 Resident landlord & no security Derivation: if (tenlet=1 or 2) tenlet2=1 elseif (tenlet=7 or 8) tenlet2=2 elseif (tenlet=4 or 5) tenlet2=3 elseif (tenlet=3 or 6) tenlet2=4 else tenlet2=tenlet

Page 107: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

109

Variable name: TENLET3 Label: LETTING TENURE - DOE SPECIFIED GROUP' Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Regulated - registered 2 Regulated - not registered 3 Assured 4 Assured shorthold 5 Not accessible 6 Resident landlord & no security Derivation: if (tenlet=1) tenlet3=1 elseif (tenlet=2) tenlet3=2 elseif (tenlet=8) tenlet3=3 elseif (tenlet=7) tenlet3=4 elseif (tenlet=4 or 5) tenlet3=5 elseif (tenlet=3 or 6) tenlet3=6 else tenlet3=tenlet

Page 108: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

110

Variable name: WRENT1, WRENT Label : WRENT1 GROSS WEEKLY RENT IN POUNDS WRENT GROSS WEEKLY RENT IN PENCE Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: Derivation: if (prent <-5 or wageamt<-5 or buspr<-5 or rper <-5 or wageper <-5) wrent1=-9 elseif (dvprent > 2000) wrent1=-9 elseif (wageper=1,2,3,4,13,26 or 52) wrent1=wageamt/wageper elseif (wageper=5) wrent1=(wageamt*12)/52 elseif (wageper=7) wrent1=(wageamt*6)/52 elseif (wageper=8 to 10) wrent1=(wageamt*wageper)/52 elseif (rfree=2 & pfree=2) wrent1=-1 elseif (dvprent < 0) wrent1=-1 else wrent1=dvprent if (wrent1 ge 1) wrent=wrent1*100 else wrent=wrent1

Page 109: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

111

Variable name: LLTYPE Label: Type of Landlord Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Resident Landlord 2 Other indiv 3 Employer 4 Other Derivation: set lltype=-1 if (llord=5 or 7) lltype=2 if (llord=3 or 6) lltype=3 if (llord=4) lltype=4 if (resllord=1 or 2) lltype=1 if (llord <-5) lltype=-9

Page 110: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

112

Variable name: LETTING Label: Type of letting re-ordered Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Assured 2 Assured shorthold 3 Regulated - registered 4 Regulated - not registered 5 No access - rent paid 6 No access rent free 7 Resident landlord 8 No security Derivation: if (tenlet1=3) letting=1 elseif (tenlet1=4) letting=2 elseif (tenlet1=1) letting=3 elseif (tenlet1=2) letting=4 else letting=tenlet1

Page 111: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

113

Variable name: LETSUM Label: Type of letting grouped Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 All Assured 2 All Regulated 3 No access 4 Other Derivation: if (letting=1 or 2) letsum=1 elseif (letting=3 or 4) letsum=2 elseif (letting=5 or 6) letsum=3 elseif (letting=7 or 8) letsum=4 else letsum=letting

Page 112: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

114

Variable name: WRENTG Label: PRIVATE RENTERS UNADJUSTED WEEKLY RENT (£) GROUPED Level: Tenancy group Date created: Aug 99 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 0 to 5 2 6 to 15 3 16 to 20 4 21 to 25 5 26 to 30 6 31 to 40 7 41 to 50 8 51 to 100 9 101 to 200 10 201 to 300 11 301 or more Derivation: if (wrent1 ge 000 & wrent1 le 005) wrentg=01 elseif (wrent1 gt 005 & wrent1 le 015) wrentg=02 elseif (wrent1 gt 015 & wrent1 le 020) wrentg=03 elseif (wrent1 gt 020 & wrent1 le 025) wrentg=04 elseif (wrent1 gt 025 & wrent1 le 030) wrentg=05 elseif (wrent1 gt 030 & wrent1 le 040) wrentg=06 elseif (wrent1 gt 040 & wrent1 le 050) wrentg=07 elseif (wrent1 gt 050 & wrent1 le 100) wrentg=08 elseif (wrent1 gt 100 & wrent1 le 200) wrentg=09 elseif (wrent1 gt 200 & wrent1 le 300) wrentg=10 elseif (wrent1 gt 300) wrentg=11 else wrentg=wrent1

Page 113: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

115

Variable name: CRENTNET Label: COMPARABLE RENT (Exc Bus prems) LESS HB (PENCE PW) Level: tenancy group Program: TGNETR.YR Date created: Jan 95 (SE) Date amended: hg 1996 (because HB collected at TG level, not person level) Missing values: -1, -4, -7, -9 Codes:0-99999 Derivation: if (crent1 >0 & hbamtp >0) t1=1 else t1=0 if (pbfull1 = 1 & t1 = 1 & crent1 >hbamtp) crentnet=crent1-hbamtp elseif (crent1 = 0 or (pbfull1 = 1 & crent1<hbamtp)) crentnet=0 elseif (pbfull1 = 3) crentnet=crent1 elseif (pbfull1 = 2) crentnet=-9 elseif (hbamtp<-5) crentnet=-9 else crentnet=crent1

Page 114: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

116

Variable name: TECONST Label: EMPLOYMENT ACTIVITY OF HEAD OF TENANCY (FROM ECONST) Level: Tenancy group Date created: June 1996 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Full-time employment 2 Part-time employment 3 Unemployed 4 Retired 5 Sick or disabled 6 Government training scheme 7 Student 8 Other inactive Derivation: TECONST = ECONST for TRP if (tgnow=1 & headnow =1 to 10)) teconst=xteconst(headnow) else tenage=-9

Page 115: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

117

Variable name: TENAGE Label: Age of head of tenancy group Level: Tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes:0-99 Derivation: TENAGE = AGE for TRP if (tgnow=1 & headnow =1 to 10)) tenage=xtenage(headnow) else tenage=-9

Page 116: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

118

Variable name: TENSEX Label: SEX of head of tenancy group Level: Tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Male 2 Female Derivation: TENSEX = SEX for TRP if (tgnow=1 & headnow in(1:10)) tensex=xtensex(headnow) else tensex=-9

Page 117: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

119

Variable name: TENWIFE Label: If partner present in tenancy group Level: Tenancy group Program:Tenchars.YR Date created: June 1996 (SE) Date amended: Missing values: -1, -4, -9 Codes: 0 No 1 Yes Derivation: tenwife=-9 if (spousnow in(1:9)) tenwife=1 if (tgnow=1 & spousnow=10) tenwife=0 /* NB - inherited feature from ONS. Headnow & SpousNow initialised to 10 before being set. This should not be a problem for HeadNow as this is always set but there is ambiguity when SpousNow really is person 10 & is a member of a TG. ONS must’ve relied on this being a very unusual event.

Page 118: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

120

Variable name: HBAMT Label: Amount of HB received by all persons in TG (£ per week) Level: tenancy group Date created: May 2000 (SE) Date amended: Missing values: -1, -4, -8, -9 Codes: 0-99999 Derivation: /* VHBWeek already derived in CAPI program HBAMT = VHBWeek

Page 119: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

121

Variable name: TENNFU Label: NUMBER OF FAMILY UNITS IN TENANCY GROUP Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1-10 Derivation: Tennfu is max value of famunit across TG members /* now count number of different FUs in TG tennfu=0 if (xtennfu(t1)=1) tennfu=tennfu+1 if (tennfu=0) tennfu = -9

Page 120: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

122

Variable name: HBAMTP Label: Amount of HB received by all persons in TG (pence per week) Level: tenancy group Date created: 2000 (SE) Date amended: Codes: 0-99999 Missing values: -1, -4, -8, -9 Derivation: hbamtp= hbamt * 100 if perhbp = 98 or tothb=9990 hbamtp=-8 else hbamtp=hbamt

Page 121: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

123

Variable name: TTYPEGHS Label: FAMILY TYPE OF TENANCY GROUP (GHS VERSION) Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 1 adult 16-59 2 2 adults 16-59 3 Family + dep child 4 Lone parent + dep child 5 Large mainly adult TG 6 2 adults, at least one aged 60 or over 7 1 adult aged 60 or over 8 Two or more family units & children (1-3 adults) 9 3 or more adults in 2 or more family units 10 2 or more persons in 1 family unit 11 2 or more persons in 2 or more family units Derivation: if (tensize=1 & tenage3=1 or 2) ttypeghs=1 elseif (tensize=1 & tenage3=3) ttypeghs=7 elseif (pradult=1 & tensize ge 2) ttypeghs=4 elseif (tennfu=1 & tenwife=2 & tendepnu > 0) ttypeghs=4 elseif (tensize=2 & pradult=2 & agegt60=0) ttypeghs=2 elseif (tensize=2 & pradult=2 & agegt60=1) ttypeghs=6 elseif (tennfu=1 & tenwife=1 & tendepnu ge 1) ttypeghs=3 elseif (pradult=1,2 or 3)& tenwife=1 & tendepnu ge 2) ttypeghs=8 elseif (tennfu ge 2 & pradult ge 2 & tendepnu=0 or 1) ttypeghs=5 elseif (pradult > 2 & tennfu ge 2) ttypeghs=9 elseif (tensize > 1 & tennfu > 1) ttypeghs=11 elseif (tensize > 1 & tennfu=1) ttypeghs=10 else ttypeghs=-9

Page 122: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

124

Variable name: TENTYPED Label: FAMILY TYPE OF TENANCY GROUP Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Couple & dependent child 2 Couple, no dependent child 3 Lone parent & dependent child 4 Lone parent, no dependent child 5 Large mainly adult TG 6 One male 7 One female Derivation: if (tensize=1 & tensex=1) tentyped=6 elseif (tensize=1 & tensex=2) tentyped=7 elseif (pradult=1 & tensize > 1) tentyped=3 elseif (tensize ge 2 & tennfu ge 2) tentyped=5 elseif (tennfu=1 & tenwife=1 & tendepnu ge 1) tentyped=1 elseif (tennfu=1 & tenwife=1 & tendepnu=0) tentyped=2 elseif (tennfu=1 & tenwife=2 & tendepnu ge 1) tentyped=3 elseif (tennfu=1 & tenwife=2 & tendepnu=0) tentyped=4 else tentyped=-9

Page 123: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

125

Variable name: TENTYPE2 Label: TENANCY FAMILY TYPE - 88 & 90 SURVEY Level: Tenancy Group Date created: 2000 (MT) Date amended: Codes: 1 1 adlt < 60 2 2 adlts < 60 3 Fam + depn child 4 Lone P + depn child 5 Mainly adult unit 6 2 adlts 1 60+ 7 1 adlt 60+ Missing values: -1, -4, -9 Derivation: if (ttypeghs=8 to 11) tentype2=5 else tentype2=ttypeghs

Page 124: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

126

Variable name: NETRENT Label: Rent (not comparable) after HB (pence per week) Level: Tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes:0-9999 Derivation: if (pbfull1 = 1 & wrent >hbamtp) netrent=wrent-hbamtp elseif (wrent = 0 or(pbfull1 = 1 & wrent >0 & wrent<hbamtp)) netrent=0 elseif (pbfull1 = 3) netrent=wrent elseif (pbfull1 = 2) netrent=-9 else netrent=wrent

Page 125: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

127

Variable name: PBFULL1 Label: IF TG GETS HB & IF KNOWS AMOUNT Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Gets HB, knows amount 2 Gets HB, DK amt 3 No HB Derivation: if (phben = 1 & hbamtp >0) pbfull1=1 elseif (phben = 1) pbfull1=2 elseif (phben = 2) pbfull1=3 elseif (phben<-5) pbfull1=-9 else pbfull1=phben

Page 126: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

128

Variable name: TENETHGP (formerly ETHNICGP) Label: ETHNIC GROUP OF HEAD OF TENANCY Level: tenancy group Program:TDVS3.YR Date created: 1993 (SE) Date amended: April 1999 (name change) Missing values: -1, -4, -9 Codes: Missing values: -1, -2, -8, -9

Codes: (1) White - British (2) White - Irish (5) White - Other (4) White and Black Caribbean (5) White and Black African (6) White and Asian

(7) Any other mixed background

(8) Asian - Indian (9) Asian - Pakistani (10) Asian - Bangladeshi (11) Asian - Any other Asian background (14) Black - Caribbean (13) Black - African (18) Any other Black background

(19) Chinese

Any other Derivation: TENETHGP is set to ethnic when rel=1 (ie TRP) if (headnow =1 to 17) tenethgp=xtenethg(headnow) else tenethgp=-9

Page 127: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

129

Variable name: TENSIZE Label: NUMBER OF PERSONSIN TENANCY GROUP Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -8, -9 Codes: 1-10 Derivation: tensize=prall

Page 128: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

130

Variable name: TENTYPE Label: FAMILY TYPE OF TENANCY GROUP (opcs standard) Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 1 adult 16-59 2 2 adults 16-59 3 Small family 4 Large family 5 Large adult TG 6 2 adlt 1 60 7 1 adt 60 Derivation: if (tensize=1 & tenage=16 to 59) tentype=1 elseif (tensize=1 & tenage=60 to 97) tentype=7 elseif (pradult=1 or 2) & (tendepnu=1 or 2) tentype=3 elseif (pradult=1 or 2) & (tendepnu ge 3) tentype=4 elseif (pradult=1 & tensize=2) tentype=3 elseif (pradult=1 & tensize ge 3) tentype=4 elseif (pradult=2 & agegt60=1) tentype=6 elseif (pradult=2 & agegt60=0) tentype=2 elseif (pradult ge 3 & tendepnu ge 2) tentype=4 elseif (pradult ge 3 & tendepnu=0 or 1) tentype=5 else tentype=-9

Page 129: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

131

Variable name: TAGESEX Label: AGE & SEX OF TENANT Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Male under 30 2 Female under 30 3 Male 30-59 4 Female 30-59 5 Male 60 or over 6 Female 60 or over Derivation: if(tensex=1 & tenage3=1) tagesex=1 elseif(tensex=1 & tenage3=2) tagesex=3 elseif(tensex=1 & tenage3=3) tagesex=5 elseif(tensex=2 & tenage3=1) tagesex=2 elseif(tensex=2 & tenage3=2) tagesex=4 elseif(tensex=2 & tenage3=3) tagesex=6 else tagesex=-9

Page 130: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

132

Variable name: TENDEPNU Label: NUMBER OF DEPENDENT CHILDREN IN TENANCY GROUP Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1-10 Derivation: Tendepnu is sum of depch across TG members set tendepnu=0 /* /* check if person t1 is in this TG. if (xtgnum(t1)=tgnum & xxdepch(t1)=1) tendepnu=tendepnu + 1

Page 131: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

133

Variable name: CRENT1 (& temp var COMPRENT) Label: Comparable rent (pence/week) Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -7, -9 Codes:0-999999 Derivation: /* COMPRENT Subtract included items to get comparable rent 13/10/00 If COMPRENT results in a negative amount, the local copy (t2) of CHARNEW is now set to zero and the calculation redone. If COMPRENT is still negative it is set to zero. Note that CHARNEW itself remains unchanged /* Set starting value for COMPRENT comprent=wrent /* Subtraction only done for good values of wrent /* MVs carry over to comprent /* t1 is a count of the number of times the computation has been done /* t2 is a local copy of charnew to allow local change of it if needed if (comprent >0) t1=9; t2=charnew; goto 9300 else goto 9310 9300 continue /* Increment computation counter t1=t1+1 /* n.b. References are to local copy of CHARNEW (t2) if (t2 >0) comprent=comprent-t2 if (mealamt >0) comprent=comprent-mealamt if (waterimp >0) comprent=comprent-waterimp if (vwrincp >0 ) comprent=comprent-vwrincp /* If negative, try once more /* (with local copy of CHARNEW set zero and COMPRENT reset to start value) if (comprent <0 & t1=1) t2=0; comprent=wrent goto 9300 /* If still negative after 2 tries, set COMPRENT to zero if (comprent <0 & t1 >1) comprent=0 /* CRENT1 (Comprent excluding non-reponse on buspr) if (buspr <-5) crent1=-7 else crent1=comprent

Page 132: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

134

Variable name: CHARNEW Label: Service charges included in the rent (pence/week) Level: tenancy group Date created: May 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 0-99999 Derivation: /* Amounts shown are for: 1999/00 survey year If 1 room If > 1 room Heating (dedheat) 560 925 Lighting (dedlight) 80(heating not included) 80 Hot Water (dedhotw) 115 “ “ 115 Cooking fuel (dedcook) 115 115 TV licence (dedtv) 194 194 /* n.b. serinc() is a Quantum array for the multi-response Blaise Q serinc. /* the index () relates to the code and is set 1 (true) or 0 (false). /* Recast 13/10/00 to follow DTLR SPSS derivation closely charnew=0 if (serinc(1)) charnew=charnew+925 if (serinc(2)) charnew=charnew+80 if (serinc(3)) charnew=charnew+115 if (nrooms=1 or tg2acc=1) goto 940; else goto 950 /* Cases meeting above condition are now recomputed afresh 940 charnew=0 if (serinc(1)) charnew=charnew+560 if (serinc(2) & serinc(1)=0) charnew=charnew+80 if (serinc(3) & serinc(1)=0) charnew=charnew+115 950 continue if (serinc(4) & (nrms2 >0 or nrms3 >0)) charnew=charnew+115 if (serinc(5)) charnew=charnew+194

Page 133: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

135

Variable name: MEALAMT (RMEALP) Label: Amount charged for meals per week (pence) Level: tenancy group Date created:2000 (SE) Date amended: Missing values: -1, -4, -9 Codes:0-99999 Derivation: /* 11/10/00 rmeal.eq.0 now results in mealamt=0 even if mper is NK x1=rmeal * 100 if (rmeal <0) mealamt=rmeal elseif (mper=1,2,3,4,13,26 or 52) mealamt=x1/mper elseif (mper=5) mealamt=(x1*12)/52 elseif (mper=7) mealamt=(x1*6)/52 elseif (mper=8,9 or 10) mealamt=(x1*mper)/52 elseif (inrent=1 or rmeal=0) mealamt=0 elseif (mper <0) mealamt=mper else mealamt=-1

Page 134: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

136

Variable name: WATERIMP, WATIMPUT Label: Actual or imputed water rates included in the rent (pence/week) Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes:0-99999 Derivation: /* WATIMPUT (real) & WATERIMP (integer - rounded pence) /* the mean adjusted by HSE/REGINDEX is the mean of WATER annualised /* Base for watimput as defined by Jeremy Grove DTLR 01/08/00 /* (Water rates not paid separately & good value of wrinc could not be derived) if (wrates = 2 & wrinc<0) watimput=(271*HSEINDEX)*REGINDEX else watimput=-1 if (watimput >0) waterimp=(watimput*100)/52 else waterimp=watimput

Page 135: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

137

Variable name: WATER Label: Amount spent on water charges by those who pay separately (pence per week) Level: tenancy group Date created: June 1996 (SE) Date amended: Missing values: -1, -4, -8, -9 Codes:0-99999 Derivation: /* WATER is weekly water amount in whole pence (integer) if (wamt ge 0 & wper ge 1) wamtp=wamt * 100; x1=(wamtp * wper) / 52.0; water = x1 elseif (wamt = -1) wamtp=-1; water=-1 else wamtp=-9; water=-9

Page 136: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

138

Variable name: CRENTGP1 Label: Comparable rent excluding bus prems (£per week) Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -7, -9 Codes: 1 Under 15 2 15 < 20 3 20 < 25 11 200 or more Derivation: if (crent1 ge 20000) crentgp1=11 elseif (crent1=10000 to 20000) crentgp1=10 elseif (crent1=5000 to 10000) crentgp1=9 elseif (crent1=4500 to 5000) crentgp1=8 elseif (crent1=4000 to 4500) crentgp1=7 elseif (crent1=3500 to 4000) crentgp1=6 elseif (crent1=3000 to 3500) crentgp1=5 elseif (crent1=2500 to 3000) crentgp1=4 elseif (crent1=2000 to 2500) crentgp1=3 elseif (crent1=1500 to 2000) crentgp1=2 elseif (crent1=0 to 1500) crentgp1=1 else crentgp1=crent1

Page 137: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

139

Variable name: RENTFREE Label: WHETHER PAYS RENT OR RENT FREE Level: tenancy group Date created: JULY 95 (SE) Date amended: June 1998 to improve program Missing values: -1, -4, -9 Codes: 1 rent free 2 pays rent Derivation: if (rfree=1 or 3) or wage = 1 or pfree = 1) rentfree=2 elseif (pfree = 2) rentfree=1 else rentfree=-9

Page 138: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

140

Variable name: TENAGE3 Label: AGE OF TENANT (3 B&S) Level: tenancy group Date created: 2000 (SE) Date amended: Missing values: -1, -4, -9 Codes: 1 Under 30 2 30-59 3 60 or over Derivation: if(tenage=16 to 29) tenage3=1 elseif(tenage=30 to 59) tenage3=2 elseif(tenage ge 60) tenage3=3 else tenage3=-9

Page 139: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

141

Variable name: COUNTY Level: Address Date created: June 2000 Date amended: Missing values: -1 Codes: 1 Gtr London 2 Gtr Manchester 3 Merseyside 4 S Yorks 5 Tyne & Wear 6 W Midl&s 7 W Yorks 8 Avon 9 Beds 10 Berks 11 Bucks 12 Cambs 13 Cheshire 14 Clevel& 15 Cornwall 16 Cumbria 17 Derby 18 Devon 19 Dorset 20 Durham 21 E Sussex 22 Essex 23 Gloucs 24 Hamps 25 Heref & Worcs 26 Herts 27 Humberside 28 Isle of Wight 29 Kent 30 Lancs 31 Leics 32 Lincs 33 Norfolk 34 Northampton 35 Northumberl& 36 N Yorks 37 Notts 38 Oxford 39 Shropshire 40 Somerset 41 Staffs 42 Suffolk

Page 140: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

142

43 Surrey 44 Warwick 45 W Sussex 46 Wilts Derivation: /* Recoded from LA codes on data set. The recode below includes both OLD & NEW codes (I,e. is comprehensive) /* County ‘1’ is recoded from the following L.A.s 01AA, 01AB, 01AC, 01AD, 01AE, 01AF, 01AG, 01AH, 01AJ, 01AK, 01AL, 01AM, 01AN, 01AP, 01AQ, 01AR, 01AS, 01AT, 01AU, 01AW, 01AX, 01AY, 01AZ, 01BA, 01BB, 01BC, 01BD, 01BE, 01BF, 01BG, 01BH, 01BJ, 01BK, AA, AB, AC, AD, AE, AF, AG, AH, AJ, AK, AL, AM, AN, AP, AQ, AR, AS, AT, AU, AW, AX, AY, AZ, BA, BB, BC, BD, BE, BF, BG, BH, BJ, BK /* County ‘2’ is recoded from the following L.A.s 02BL, 02BM, 02BN, 02BP, 02BQ, 02BR, 02BS, 02BT, 02BU, 02BW, BL, BM, BN, BP, BQ, BR, BS, BT, BU, BW /* County ‘3’ is recoded from the following L.A.s 03BX, 03BY, 03BZ, 03CA, 03CB BX 3 BY 3 BZ 3 CA 3 CB 3 /* County ‘4’ is recoded from the following L.A.s 04CC, 04CE, 04CF, 04CG CC 4 CE 4 CF 4 CG 4 /* County ‘5’ is recoded from the following L.A.s 05CH, 05CJ, 05CK, 05CL, 05CM CH 5 CJ 5 CK 5 CL 5 CM 5 /* County ‘6’ is recoded from the following L.A.s 06CN, 06CQ, 06CR, 06CS, 06CU, 06CW CN 6 CQ 6 CR 6 CS 6 CT 6 CU 6 CW 6

Page 141: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

143

/* County ‘7’ is recoded from the following L.A.s 07CX, 07CY, 07CZ, 07DA, 07DB, CX 7 CY 7 CZ 7 DA 7 DB 7 /* County ‘8’ is recoded from the following L.A.s 08UB, 08UC, 08UD, 08UE, 08UF, 08UG HA 8 HB 8 HC 8 HD 8 /* County ‘9’ is recoded from the following L.A.s 09UB, 09UC, 09UD, 09UE KA 9 /* County ‘10’ is recoded from the following L.A.s 10UB, 10UC, 10UD, 10UE, 10UF, 10UG MA 10 MB 10 MC 10 MD 10 ME 10 MF 10 /* County ‘11’ is recoded from the following L.A.s 11UB, 11UC, 11UD, 11UE, 11UF MG 11 /* County ‘12’ is recoded from the following L.A.s 12UB, 12UC, 12UD, 12UE, 12UF, 12UG JA 12 /* County ‘13’ is recoded from the following L.A.s 13UB, 13UC, 13UD, 13UE, 13UF, 13UG, 13UH, 13UJ ET 13 EU 13 /* County ‘14’ is recoded from the following L.A.s 14UB, 14UC, 14UD, 14UE EB 14 EC 14 EE 14 EF 14 /* County ‘15’ is recoded from the following L.A.s 15UB, 15UC, 15UD, 15UE, 15UF, 15UG, 15UH

Page 142: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

144

/* County ‘16’ is recoded from the following L.A.s 16UB, 16UC, 16UD, 16UE, 16UF, 16UG /* County ‘17’ is recoded from the following L.A.s 17UB, 17UC, 17UD, 17UE, 17UF, 17UG, 17UH, 17UJ, 17UK FK 17 /* County ‘18’ is recoded from the following L.A.s 18UB, 18UC, 18UD, 18UE, 18UF, 18UG, 18UH, 18UJ, 18UK, 18UL HG 18 HH 18 /* County ‘19 is recoded from the following L.A.s 19UB, 19UC, 19UD, 19UE, 19UF, 19UG, 19UH, 19UJ HN 19 HP 19 /* County ‘20’ is recoded from the following L.A.s 20UB, 20UC, 20UD, 20UE, 20UF, 20UG, 20UH, 20UJ EH 20 /* County ‘21’ is recoded from the following L.A.s 21UB, 21UC, 21UD, 21UE, 21UF, 21UG, 21UH ML 21 /* County ‘22’ is recoded from the following L.A.s 22UB, 22UC, 22UD, 22UE, 22UF, 22UG, 22UH, 22UJ, 22UK, 22UL, 22UM, 22UN, 22UP, 22UQ KF 22 KG 22 /* County ‘23’ is recoded from the following L.A.s 23UB, 23UC, 23UD, 23UE, 23UF, 23UG /* County ‘24’ is recoded from the following L.A.s 24UB, 24UC, 24UD, 24UE, 24UF, 24UG, 24UH, 24UJ, 24UK, 24UL, 24UM, 24UN, 24UP, MR 24 MS 24 /* County ‘25’ is recoded from the following L.A.s 25UB, 25UC, 25UD, 25UE, 25UF, 25UG, 25UH, 25UJ, 25UK GA 25 /* County ‘26’ is recoded from the following L.A.s 26UB, 26UC, 26UD, 26UE, 26UF, 26UG, 26UH, 26UJ, 26UK, 26UL /* County ‘27’ is recoded from the following L.A.s 27UB, 27UC, 27UD, 27UE, 27UF, 27UG, 27UH, 27UJ, 27UK FA 27 FB 27 FC 27

Page 143: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

145

FD 27 /* County ‘28’ is recoded from the following L.A.s 28UB, 28UC, MW 28 /* County ‘29’ is recoded from the following L.A.s 29UB, 29UC, 29UD, 29UE, 29UF, 29UG, 29UH, 29UJ, 29UK, 29UL, 29UM, 29UN, 29UP, 29UQ LC 29 /* County ‘30’ is recoded from the following L.A.s 30UB, 30UC, 30UD, 30UE, 30UF, 30UG, 30UH, 30UJ, 30UK, 30UL, 30UM, 30UN, 30UP, 30UQ EX 30 EY 30 /* County ‘31’ is recoded from the following L.A.s 31UB, 31UC, 31UD, 31UE, 31UF, 31UG, 31UH, 31UJ, 31UK FN 31 FP 31 /* County ‘32’ is recoded from the following L.A.s 32UB, 32UC, 32UD, 32UE, 32UF, 32UG, 32UH /* County ‘33’ is recoded from the following L.A.s 33UB, 33UC, 33UD, 33UE, 33UF, 33UG, 33UH /* County ‘34’ is recoded from the following L.A.s 34UB, 34UC, 34UD, 34UE, 34UF, 34UG, 34UH /* County ‘35’ is recoded from the following L.A.s 35UB, 35UC, 35UD, 35UE, 35UF, 35UG, 35UH /* County ‘36’ is recoded from the following L.A.s 36UB, 36UC, 36UD, 36UE, 36UF, 36UG, 36UH, 36UJ FF 36 /* County ‘37’ is recoded from the following L.A.s 37UB, 37UC, 37UD, 37UE, 37UF, 37UG, 37UH, 37UJ FY 37 /* County ‘38’ is recoded from the following L.A.s 38UB, 38UC, 38UD, 38UE, 38UF /* County ‘39’ is recoded from the following L.A.s 39UB, 39UC, 39UD, 39UE, 39UF, 39UG GF 39 /* County ‘40’ is recoded from the following L.A.s 40UB, 40UC, 40UD, 40UE, 40UF /* County ‘41’ is recoded from the following L.A.s 41UB, 41UC, 41UD, 41UE, 41UF, 41UG, 41UH, 41UJ, 41UK, GL

Page 144: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

146

/* County ‘42’ is recoded from the following L.A.s 42UB, 42UC, 42UD, 42UE, 42UF, 42UG, 42UH /* County ‘43’ is recoded from the following L.A.s 43UB, 43UC, 43UD, 43UE, 43UF, 43UG, 43UH, 43UJ, 43UK, 43UL, 43UM /* County ‘44’ is recoded from the following L.A.s 44UB, 44UC, 44UD, 44UE, 44UF /* County ‘45’ is recoded from the following L.A.s 45UB, 45UC, 45UD, 45UE, 45UF, 45UG, 45UH /* County ‘46’ is recoded from the following L.A.s 46UB, 46UC, 46UD, 46UE, 46UF, HX

Page 145: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

147

Variable name: RURALGRP Label: Population size of settlement containing postcode of sampled addresses (grouped) Level: Address Program: adrural.96 Date created: May 1998 Date amended: Missing values: -1 non-match Codes: 1 Less than 1000 2 1,000 to 2,999 3 3,000 to 9,999 4 10,000 or more Derivation: If (rural = 0 to 999) ruralgrp=1 else if(rural = 1000 to 2999) ruralgrp=2 else if(rural = 3000 to 9999) ruralgrp=3 else if(rural ge 1000) ruralgrp=4 else ruralgrp=-1 non match

Page 146: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

148

Variable name: RURAL Label: Population size of settlement containing postcode of sampled addresses Level: Address Program: adrural.96 Date created: May 1998 Date amended: Missing values: -1 non-match, -2 Codes: 1000 or more (0 = pop size under 1000) Derivation: DTLR has set up a file which shows, for each postcode, the size of the ‘settlement’ in which it lies. The settlements’ have been drawn up using mapping techniques. if unprod rural1=-2

Page 147: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

149

Variable name: TOTRENT Label: TOTAL NUMBER OF RENTERS AT ADDRESS Level: Address Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-99 Derivation: totrent=number of households at address with (numagr ge 1)

Page 148: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

150

Variable name: NUMHH Label: NUMBER OF OCCUPIED HHLD SPACES AT ADDRESS Level: Address Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-97 Derivation: Sum of households at address coded interview, refusal or non-contact (outc=21,22,23,24,51,52, 70,79)

Page 149: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

151

Variable name: EMPSP Label: NUMBER OF UNOCCUPIED HHLD SPACES AT ADDRESS Level: Address Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-97 Derivation: Sum of households at address coded empty (outc=5,11) (if outc=5 empsp=1; if outc=11 for any hh then empsp >0)

Page 150: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

152

Variable name: NUMSP Label: TOTAL NUMBER OF HHLD SPACES AT ADDRESS Level: Address Date created: Aug 99 (SE) Date amended: Missing values: -1, -2 Codes: 0-97 Derivation: Numsp = numhh + empsp

Page 151: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

153

Variable name: STAREGGB Label: STANDARD STATISTICAL REGION Level: Address Date created: 2000 (SE) Date amended: Missing values: -1 Codes: 1 North

2 Yorks and Humb 3 North West 4 East Midlands 5 West Midlands 6 East Anglia 7 Greater London 8 Rest South East 9 South West

Derivation: if (region in (1,2)) stareggb=01 elseif (region in (3,4)) stareggb=02 elseif (region in (5,6)) stareggb=03 elseif (region = 7) stareggb=04 elseif (region in (8,9)) stareggb=05 elseif (region = 10) stareggb=06 elseif (region in (11,12)) stareggb=07 elseif (region in (13,14)) stareggb=08 elseif (region = 15) stareggb=09 else stareggb=-1

Page 152: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

154

Variable name: GOVREGGB Label: DOE INTEGRATED REGIONAL OFFICE AREA Level: Address Program: SE Date created: 2000 (DD/RO) Date amended: Missing values: -1 Codes: 1 North East

2 North West 3 Merseyside 4 Yorks and Humber 5 East Midlands 6 West Midlands 7 Eastern 8 London 9 South east 10 South West 11 (Wales) 12 (Scotland)

/* Coding of govt regions received with sample (gorcode) was not accurate enough so not used. /* Use goreg which is derived from DTLR supplied spec to create it directly from LA codes. /* NB Merseyside not in DTLR script so identify directly with LA code t3=0 if (slaBX or slaBY or slaBZ or slaCA or slaCB ) t3=1 if (goreg in (1,2)) govreggb = 1 elseif (goreg in (3,4) & t3 = 0) govreggb = 2 elseif (goreg in (3,4) & t3 = 1) govreggb = 3 elseif (goreg in (5,6)) govreggb = 4 elseif (goreg = 7) govreggb = 5 elseif (goreg in (8,9)) govreggb = 6 elseif (goreg = 10) govreggb = 7 elseif (goreg in (11,12)) govreggb = 8 elseif (goreg = 13) govreggb = 9 elseif (goreg = 14) govreggb = 10 else govreggb=-1

Page 153: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

155

Variable name: GovReg2 Label: GOVERNMENT OFFICE REGION Level: Address Program: Date created: 2000 (SE) Date amended: Missing values: -1 Codes: 1 North East

2 North West 3 Merseyside 4 Yorks and Humber 5 East Midlands 6 West Midlands 7 Eastern 8 London 9 South east 10 South West 11 (Wales) 12 (Scotland)

Derivation: if (govreggb = 3) govreg2=2 else govreg2=govreggb

Page 154: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

156

Variable name: NDEPCHF Label: Number of dependent children in family Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-9 Derivation: ndepchf = Count of Depch within FU

Page 155: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

157

Variable name: NXDEPCHF Label: Number of non-dependent children in family Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-9 Derivation: nxdepchf = Count of xDepch within FU

Page 156: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

158

Variable name: NPERSFU Label: Number of persons in family unit Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-10 Derivation: npersfu = no of persons (NPERS) in family unit

Page 157: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

159

Variable name: NAGE16F Label: Number of persons under 16 in family Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-9 Derivation: nage16f = sum of persons with (age < 16)in family unit

Page 158: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

160

Variable name: NEMPF Label: Number of employed persons in family Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-10 Derivation: nempf = sum of persons in family unit coded (econst=1,2,6)

Page 159: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

161

Variable name: NUNEMPF Label: Number of unemployed persons in family Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-10 Derivation: nunempf = sum of persons in FU coded (econst=3)

Page 160: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

162

Variable name: NINACF Label: Number of economically inactive persons in family (excluding students) Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-10 Derivation: ninacf = sum of persons in household coded (econst=4,5,8)

Page 161: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

163

Variable name: NSTUDF Label: Number of students in family Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-10 Derivation: nstudf =number of persons in FU coded (IFSTUD=1 or econst=7)

Page 162: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

164

Variable name: AGEYTF Label: Age of youngest child in family Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-97 Derivation: WITHIN FU…… if (relfuh=3 & (ageyt=-1 or ageyt ge 0 & age < ageytf)) ageytf=age

Page 163: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

165

Variable name: AGEMAX Label: Age of oldest single person in family unit Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 0-97 Derivation: if ((marstat=1 or age=0 to 15) & age > agemax) agemax=age

Page 164: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

166

Variable name: FUT Label: Family unit type Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 1 Married/cohabiting couple, no children 2 Married/cohabiting couple & child 3 Previously married lone father & child 4 Previously married lone mother & child 5 Single father & child 6 Single mother & child 7 One person only Derivation: If one person living alone, FUT=7 If married/same sex couple only, FUT=1 If married/same sex couple with child(ren), FUT=2 If previously married male with child , FUT=3 If previously married female with child , FUT=4 If single male with child , FUT=5 If single female with child , FUT=6

Page 165: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

167

Variable name: AGEGAY Label: Age of oldest married person in family unit Level: Family unit Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 16-97 Derivation: Within FU…… if ((marstat=2 or livewith=1 or 3) & age > agegay) agegay=age

Page 166: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

168

Variable name: ECONST Label: Economic status Level: Individual Date created: August 1999 (SE) Date amended: Missing values: -1, -9 Codes: 1 Full-time employment 2 Part-time employment 3 Unemployed 4 Retired 5 Sick or disabled 6 Government training scheme

7 Student 8 Other inactive

Derivation: if (age < 16) econst=-1 elseif ((sex=1 & age ge 70) or (sex=2 & age ge 65)) econst=4 elseif (yinact=5) econst=4 elseif (yinact=4) econst=5 elseif (yinact=1) econst=7 elseif (yinact=2,3,6) econst=8 elseif ((wrking=1 or jbaway=1 or ownbus=1 or relbus=1)

& ftptwksa=1)) econst=1 elseif (ftptwksa=2) econst=2 elseif (schemeet=1) econst=6 elseif (startj=1 & (jbaway=3 or looked=1)) econst=3 else econst=-9

Page 167: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

169

Variable name: DEPCH Label: if dependent child (child aged 16 or 16-18, single & in Ft ed) Level: Individual Date created: August 1999 (SE) Date amended: Missing values: -1 Codes: 0 Other person 1 Dependent child Derivation: if (age < 16 or (relfuh=3 & age < 19 & econst=7 & marstat=1)) depch=1 else depch=0

Page 168: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

170

Variable name: XDEPCH Label: if non-dependent child Level: Individual Date created: August 1999 (SE) Date amended: Missing values: -1 Codes 0 Other person 1 Non-dependent child Derivation: if (relfuh=3 & (age>18 or (age>15 & (econst ne 7 or marstat ne 1)))) xdepch=1 else xdepch=0

Page 169: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

171

Variable name: RELFUH Label: Relationship to family unit head Level: Individual Date created: Aug 99 (SE) Date amended: Missing values: -1 Codes: 1 Family unit head 2 Partner 3 Child Derivation: If one-person FU: relfuh=1 IF FUT=1 or 2: /*couple If male partner in non gay couple/eldest male or female in gay couple, RELFUH=1. If other partner: relfuh=2. Else relfuh=3. If fut=3 or 4: /*previously married lone parent If lone oarent, relfuh=1 Else relfuh=3 If fut=5 or 6: /*single lone parent family If oldest in family, relfuh=1 Else relfuh=3

Page 170: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

172

Variable name: MSOLD Label: MARITAL STATUS FOR ADULTS (CODES LIKE MARCON PRE 1997/8) Level: Individual Date created: Aug 99 (SE) Date amended: Missing values: -1, -9 Codes: 1 Married 3 Cohabiting 4 Single, never married 5 Widowed 6 Separated 7 Divorced (Code 2 omitted to keep comparability with pre 1997/8 variables) Derivation: if (livewith=1,3) msold=3 elseif (marstat=1) msold=4 elseif (marstat=2) msold=1 elseif (marstat=3) msold=6 elseif (marstat=4) msold=7 elseif (marstat=5) msold=5 elseif (marstat <-5) msold=-9

Page 171: Survey of English Housing 2001/2002 Derived Variable …doc.ukdataservice.ac.uk/doc/5021/mrdoc/pdf/5021userguide3.pdf · Survey of English Housing 2001/2002 Derived Variable Specs

173

Variable name: RELHRP Label: RELATIONSHIP TO HRP Level: Individual Date created: Aug 99 (SE) Date amended: Missing values: -1, -9 Codes:

1 HRP 2 Spouse/partner 3 Child/stepchild 4 Foster child 5 Child in law 6 Parent/step parent 7 Parent in law 8 Sibling/step sib 9 Sibling in law 10 Gr&child 11 Gr&parent 12 Other related 13 Other not rel Derivation: if (r01=-1) relhrp=01 elseif (r01=1,2) relhrp=02 elseif (r01=3,4) relhrp=03 elseif (r01=5) relhrp=04 elseif (r01=6) relhrp=05 elseif (r01=7,8) relhrp=06 elseif (r01=10) relhrp=07 elseif (r01=11,12) relhrp=08 elseif (r01=14) relhrp=09 elseif (r01=15) relhrp=10 elseif (r01=16) relhrp=11 elseif (r01=17) relhrp=12 elseif (r01=9,13,18) relhrp=13 else relhrp=-9