Hi!
I have two dummy variables and one continuous (age). I want to check mean, median, sd, max and min for age when my other two variables is eg. 1 or 0
So this code mess it up: tabstat Age Sex, statistics( mean range median sd max min ) by(DrugRelated)
Is there another way?
Related Posts with Tabstar for three variables?
How to count number of IDs with more than one conditionAn extract of my data is displayed below. In the data, 0=Condition is absent, and 1=Condition is pre…
How to count number of countries when you have individual-level data of many countriesHi, I need to fill in my descriptive statistic analysis sample, and thus I need to count the number…
Estimating an hourly ATE in the DID frameworkDear Statalist, I am trying to estimate the average treatment effect for each hour of the day(0-23…
Marginal effects command doesn't work. Don't understand error: factor variables may not contain noninteger valuesHi! I'm doing a binary logistic regression in Stata 15.0, but my supervisor told me you cannot inte…
Average of Previous (x) ObservationsGood morning, At the moment I need to calculate the average of the 3 previous nmfp for each horse. …
Subscribe to:
Post Comments (Atom)
0 Response to Tabstar for three variables?
Post a Comment