Hello,
I am using Stata 15.1 to analyse household survey data. I want to simply count the number of HHs with people between 15 and 60 years of age. I can get the total number of people meeting this condition by using: count if dage>15 & dage<60. Thanks much.
Robert
Related Posts with count group var if a condition is met
Display fixed effects without using 'fe'Hello. I am trying to run a fixed effects model, but as I am using country dummy variables. I have s…
Best variables for a regressionHello everyone! I am new here, I hope to write the question in the right session. I have to do a log…
Inverse hyperbolic sine (IHS) transformation allowing for non-normalityDear user, I want to run a basic Tobit regression, I have a continuous outcome variable of medical …
Problem with ‘marginsplot’ when using margins command with multiple at() predictionsI want to create a "marginsplot" using a continuous independent variable on the x-axis, with predict…
Specifying second order derivatives in 'gmm'Hello, I am running a 'gmm' estimation and need to specify constraints on the coefficients. Because…
Subscribe to:
Post Comments (Atom)
0 Response to count group var if a condition is met
Post a Comment