Professional Documents
Culture Documents
1. list in 1
2. list income in 1
3. list in - 1
4. list in 11/16
5. list income
8. list in -5/-1
17. list if sex ==1 & income >2000 & employed ==1
18. list sex employed region income if sex==1 & region ==1 & income >2000
& employed==1
19. list sex employed region income if sex==1 & income >2000 &
employed==1 & region ==1 region==2
32. tabstat income consumption, stats(mean median sd count max min variance
kurtosis skewness)
35. inspect price ///another option for missing data/// list if priceofteff=s.
39. replace priceofteff=-2000 in 4 /// to see the change occur/// list price in 4
52 ///repetition///
56. label define sex 1"male" O"female" label value sex sex///2nd step/// tab sex ///3rd step
in labelling var///
57. label define employed 1"private" O"public" label value employed employed /// 2nd
step/// tab employed /// 3rd step to see the output///
58. label define satisfactionrate 1"Not satisfied" 2"satisfied" 3"very satisfied" label value
satisfactionrate satisfactionrate tab satisfactionrate
59. label define region 1 "Tigray" 2"Amhara" 3"Oromia" 4"SNNP" label value region
region
62. browse
71. gen IW = hapdummy==1 & socialstatus ==1 ///enter/// label define socialstatus
1"Rich" O"poor" /// enter/// label value socialstatus socialstatus /// enter///