Hi All,
I am quite new to Stata. I have five variables which each ask whether cannabis has been consumed in a certain way in the past 12 months. They are: vaped, dabbed, smoked, eaten, and drank. Obviously these are not mutually exclusive (i.e. if someone has vaped that does not mean they haven't used cannabis by any other method in the past 12 months). I am wondering if there is a way to create a meaningful composite variable? I would like to know which of these methods a person has used in the past 12 months. Is there a way to create a composite variable to measure this? I imagine it would have to be a variable with a bunch of different categories to account for different drug combinations. In such a variable, my guess is that the cell count would be super low for certain sections (like dabbed, vaped, and smoked, for example). Is there anything I can do here?
Best,
Nick
Related Posts with Creating Composite Variable (from non-mutually exclusive categorial variables)
Suppressing dummy variables in regression output tableHello! I have run a regression which contains several dummy variables which I would like to exclude…
checking string similarity within the same variableDear all, This message was initially posted in the discussion thread HTML Code: https://www.stata…
Person-Specific IndicatorI have firm-year level data. I want to create person-specific indicators (not firm-specific). Howeve…
ICD 10 Codes dataset: Please helpHi there, Please I urgently need help with generate new variable consisting ICD 10 codes related to…
Automating the Creation of a Table to Report Summary Statistics Net Panel and Time Fixed EffectsHello Statalist, I am attempting to automate the creation of a summary statistics table to report t…
Subscribe to:
Post Comments (Atom)
0 Response to Creating Composite Variable (from non-mutually exclusive categorial variables)
Post a Comment