Hi all please i need help,
i have 2 variables,
1: alcscore”: a continuous score containing the respondent’s alcohol consumption
2:female”: 0 being male and 1 being female
My boss has asked me to do this and i have been on this for so long but cannot get it right:
create the outcome variable indicating whether the respondent had any alcohol abuse issue. The variable “alcscore” contains a score that contains the information about the person’s alcohol consumption. The standard for detecting any alcohol abuse issue is that female with a score equal or greater than 3 would be considered having abuse problem while male with a score equal or greater than 4 would be considered having abuse problem. Please create a dummy variable with 1 indicating that the respondent had alcohol abuse problem and 0 indicating that the respondent did not have alcohol abuse problem.
Please help
Related Posts with i do not know what to do
Stata automatically reversed my dataHi all, Can anybody help me out how I can prevent STATA from reversing the data of aut3? Students f…
dividing the dataset in 2 grouphello, I want to divide my data set into an intervention and control group but i don't know how …
Generate new variableHey, in the panel study I am working with, there are two times the same variable (t34005a & t34…
Create peer groups by matching industry code with size quartile, per year.Hello all, I have panel data for years 1998-2020 about firm performance (stock returns). For my fut…
Help with intuition of interaction-time effects in panel dataI am working on a panel dataset for a project which comprises 5 survey rounds. I have test score dat…
Subscribe to:
Post Comments (Atom)
0 Response to i do not know what to do
Post a Comment