Dear all, i have an issues which iam trying to figure out but i am not getting anywhere and i need ur help. For example i have several individuals in a household with different sex and i need to use for example "count sex* if age*<13 & age*>6 & sex*=="male" " this seems not to work. any advice on how to run this and it picks all the numbers required?
Related Posts with how to use an asterisk(*) for multiple variables with an "if" condition
Saving tabulated dummy variable scalars (i.variable)Hello, I'm trying to run an estimation for my honours thesis detailed in this paper (open-source ve…
Flagging just one corresponding positive value for every negative valueHi. My dataset has an id variable, a total amount variable and the corresponding date variable. Ther…
Year Fixed effect xtlogitDear All Please, I have seen some posts related to many fixed effect, but I don’t find my case solut…
Count Number of Each Age Observation Across Years and Not Include Certain Data ObservationsDear all, I am using Stata 16, on mac. I have taken a snapshot of dataset I am working with. Array …
Mixed-Effects Linear Model Set-upHi, I would like to run a mixed-effects linear regression model with cesd as my outcome variable an…
Subscribe to:
Post Comments (Atom)
0 Response to how to use an asterisk(*) for multiple variables with an "if" condition
Post a Comment