Home » Countries » Bangladesh » How to create media exposure?
How to create media exposure? [message #14193] |
Sat, 03 March 2018 02:35 |
anikhpg42@gmail.com
Messages: 38 Registered: December 2017 Location: Bangladesh
|
Member |
|
|
Hi,
I am trying to generate a variable combining 3-4 variables.
Example: At first from v157 v158 v159,I created
1)frequency of reading newspaper (yes no, 1 0) = frn
2)frequency of watching tv (yes no, 1 0) = fwt
3)frequency of listening radio (yes no, 1 0) = flr.
Now combining these 3 variables, I want to make a new variable, named "media exposure" with just (yes no, 1 0).
What should be the command in stata?
I used like this in BDHS14 KR dataset,
gen media= int ((frn+fwt+flr)/3)
ta media
But, I don't think this is right. How can I solve my problem?
ASIBUL ISLAM ANIK
|
|
|
Goto Forum:
Current Time: Wed Dec 11 21:43:53 Coordinated Universal Time 2024
|