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
fit a quadratic time trend using rangestatHi all, I have a 30-year unbalanced panel data, with firm and year. I wish to do a 10-year rolling …
Calculating joint significanceDear all, I run a regression of financial reporting quality (FRQ) on investment where I have a vari…
Graph bar colors by groupHi everybody, I have a simple question about bar graphs in Stata but I don't seem to find a solutio…
Drop rows that are empty in all variablesHi Statalist I have a question about trying to drop those rows that are empty in all the variables …
mcp error "There was a problem executing -margins-."Dear colleagues, my first post here so apologies if I'm doing it wrong. I always use Royston's mcp …
Subscribe to:
Post Comments (Atom)
0 Response to ttest code multiple variables that define group
Post a Comment