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
Conditioning on a string variableHi, I'm new to Stata and would like to know how to condition on a string variable. I have a variable…
Xtabond2 command for system GMM. Please help me with the coding!Dear all, I am studying the relationship between Economic growth and FDI inflow. Due to the endogen…
Separate GMT date into date and military timeI have a data set with the date as shown in the sample data. I wish to separate the variable "date_G…
How to weight the analysis by the actual population?Dear Statalist, I hope you are well. In fact, I have used the method of random sampling to collect…
xtivreg2 interpretationDear all, Can I interpret the following output as the instruments are not valid by looking at the S…
Subscribe to:
Post Comments (Atom)
0 Response to how to use an asterisk(*) for multiple variables with an "if" condition
Post a Comment