STATA

Problems with Regressions Involving Categorical Variables

When doing regressions of an outcome variable on covariates that involve categorical variables, there are some issues that one needs to be mindful of with such analysis. Some common problems associated with regressions involving categorical variables are: Dummy Variable Trap Usually, when using categorical variables in a regression model, we tend to use dummy variables …

Problems with Regressions Involving Categorical Variables Read More »

How to count the number of observations in STATA

In STATA, the count command not only calculates the total number of observations in a dataset but also allows for the application of specific conditions, enabling users to count observations that meet particular criteria or satisfy certain conditions within the dataset. This flexibility makes it a powerful tool for data exploration and analysis. This article …

How to count the number of observations in STATA Read More »

Export Summary Statistics, T-Tests, and Tabulations from Stata Using Estout

In our previous article, we discussed how to export the results of regression analysis from Stata to MS Word or Excel. In this article we will explore how to export results from Stata to Excel or Word formats. We’ll cover exporting summary statistics, performing mean comparison tests (t-tests), and generating one way and two way …

Export Summary Statistics, T-Tests, and Tabulations from Stata Using Estout Read More »