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
Generate adjacency matrix in Mata and using it as input in StataDear all, I am using Stata 16 on Mac 10.14. I am currently working with two geocoded datasets. Data…
Please help: comparing three average treatment effects (ATE) coefficients to determine if they differ significantlyDear colleagues, I am running an average treatment effects analysis (teffects) for the binary outco…
one less class in latent class analysis with -gsem-Is there anybody who can explain why this 3-classes LCA model with -gsem- command gives me only two …
Estimating the effects of a shockHi all. I am working on a research project to estimate the respective effects of divorce, jobloss a…
Time Fixed EffectsDear Stata users, For my analysis, I need to use time fixed effects on my panel data (Country-Year)…
Subscribe to:
Post Comments (Atom)
0 Response to i do not know what to do
Post a Comment