Start by looking for variables related to electricity and heating source.
lookfor electricity
184. connecte byte %9.0g 1 :connected to electricity sup
lookfor heat
189. heatw_m byte %9.0g heatw_m 2c:heating-water:main source 190. heatw_s byte %9.0g heatw_s 2c:heating-water:second source 191. heath_m byte %9.0g heath_m 2d:heating-home:main source 192. heath_s byte %9.0g heath_s 2d:heating-home:second source
You should see that connecte and heath_m are the variables of interest for this question. Then you can use the crosstab command. Once again omitting negative variables. Use the command "tab heath_m connecte" to generate the following chart:
tab heath_m connecte if heath_m>=0 & connecte>=0
2d:heating | 1 :connected to
-home:main | electricity sup
source | 1 2 | Total
-----------+----------------------+----------
01-wood | 223 1700 | 1923
02-paraf | 126 583 | 709
03-charc | 141 302 | 443
04-elect | 1504 0 | 1504
05-elect | 23 0 | 23
07-gas f | 19 34 | 53
11-dung | 0 48 | 48
12-other | 0 10 | 10
-----------+----------------------+----------
Total | 2036 2677 | 4713
By looking at the survey, you'll see that 1 means the household is connected to electricity and 4 means that the house uses wood as its primary source of heating energy. Therefore, we can tell that 223 people live in households where there is electricity but wood is still used for heating.