TTESTEX: Stata module to perform t-tests and export the results to excel for multiple dependent and by multiple binary variables/across sub-samples
Annina Hittmeyer ()
Additional contact information
Annina Hittmeyer: University of Oxford
Statistical Software Components from Boston College Department of Economics
Abstract:
ttestex contains two commands, ttestex and ttestex_time. They export the means and the p-value of t-tests to excel, as well as the variable labels of the dependent variables and the value labels of the binary/categorical variables. Multiple dependent variables and binary/categorical variables can be specified, results are exported below and to the right of one another. Both commands assume variances to be equal. ttestex performs two sample t-tests on the equality of means using binary variables. ttestex_time performs paired t-tests using variables. Here, the t-tests can be performed among the total sample only but adding results for sub-samples is also possible by including binary/categorical variables (crosscuts) as an option.
Language: Stata
Requires: Stata version 14.2 and excelcol from SSC (q.v.)
Keywords: t-test; excel (search for similar items in EconPapers)
Date: 2021-12-17
Note: This module should be installed from within Stata by typing "ssc install ttestex". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/t/ttestex.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/ttestex.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/ttestex_time.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/ttestex_time.ado program code (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459026
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().