rename var1 Study_ID rename var2 sex rename var3 residence la var Study_ID "Study id of participants" la var sex "Sex of Household member" la var residence "Place of residence" la de sex 1 "Male" 2 "Female", replace la val sex sex la de residence 1 "Urban" 2 "Rural" 3 "Others", replace la val residence residence
Thank You!
Carry on ,its really very useful for me......
rename var1 Study_ID
rename var2 sex
rename var3 residence
la var Study_ID "Study id of participants"
la var sex "Sex of Household member"
la var residence "Place of residence"
la de sex 1 "Male" 2 "Female", replace
la val sex sex
la de residence 1 "Urban" 2 "Rural" 3 "Others", replace
la val residence residence