title '2.3.1.6.1 Conditional frequencies homework'. subtitle 'Task1a: read in raw data for sex and income'. data list file 'e:weebly downloads\bsa89\bsa89.txt' records 23 /14 sex 11 / 17 v1727 27 - 28 . subtitle 'Task1b: produce frequency counts for sex and income'. freq sex v1727 . subtitle 'Task 2a; add missing values, variable labels and value labels'. missing values v1727 (98,99) . variable labels sex ' Q901a Sex of respondent' / v1727 ' Q.918b Income group of respondent (if working)'. value labels sex 1 'Men' 2 'Women' /v1727 1 'Under £2000' 2 '£2000 - £2999 ' 3 '£3000 - £3999 ' 4 '£4000 - £4999 ' 5 '£5000 - £5999 ' 6 '£6000 - £6999 ' 7 '£7000 - £7999 ' 8 '£8000 - £9999 ' 9 '£10000 - £11999 ' 10 '£12000 - £14999 ' 11 '£15000 - £17999 ' 12 '£18000 - £19999' 13 '£20000 - £24000 ' 14 '£24000 or more ' 98 "Don't know" 99 'Not answered' . subtitle 'Task 2b: produce frequency counts and a barchart for income'. freq sex. freq v1727 /bar.