Hello.
I cant seem to work out the coding that replicates the following function, which when copied from the 'command copied from clipboard', looks like:
'time_ann_dif PriceSensitive, sort : ttest Volume, by(Pre_or_Post_Colo) unequal'. Does someone know how this can be done?
Essentially I want to run a ttest but with multiple variable, then save the output using putexcel. I know how to use putecel but cant get the code working for multiple variables.
As an FYI time_ann_dif has values that range from -30 to 30, while PriceSensitive has values that are TRUE or FALSE.
Thanks
Related Posts with ttest code multiple variables that define group
Multilevel Modeling Analysis for Rare EventsI am currently trying to run a hierarchical logistic model in Stata using federal sentencing data. I…
Dynamic panel and zero-inflatedHello All, I am running a dynamic panel with 5,000 firms and 9 year sample period. One of the contr…
Extracting slopes for each person from a dual intercept mixed modelI have run a dual intercept mixed model as such: Code: mixed relsat i.husband c.Htime i.wife c.Wt…
Matrix codesDear all, I am working with the matrix coding of stata, which is new to me, and I am struggling wit…
Newey-West HAC standard errors smalle than robust onesHi all, I am running an ARDL model in the form: Code: reg y l.y x1 l.x1 x2 l.x2 After the esti…
Subscribe to:
Post Comments (Atom)
0 Response to ttest code multiple variables that define group
Post a Comment