Hi,
I performed t-tests for many variables in my dataset. I have written code as following:
foreach var of varlist var1 var2 var3 var4 {
di "`var'"
ttest `var', by(event_indicator)
}
How can I only save t-statistic and p-value from these results?
Many thanks!
Related Posts with Output t-test results
graph hbar - labstyle-Option shifts label into axisI want to print a hbar-graph and manipulate the labelsize by referring to a labelstyle. Why? I do th…
multilevel mediation analysis with dichotomous dependent variableI am trying to estimate the mediation effect of a continuous mediator m on a dichotomous variable y.…
The command "vce(cluster panel_id)"Hello I am reading a paper and have started to study the corresponding Stata codes. However, I don'…
Testing for serial correlation --> Panel DataHello I do a panel data analysis where I try to make fixed effect regression as well as a first diff…
System GMM Hansen Test ProblemI am running the following command for my research and I just cannot pass the Hansen Test for Overid…
Subscribe to:
Post Comments (Atom)
0 Response to Output t-test results
Post a Comment