Top "Stata" questions

Stata is a commercial, general-purpose statistical software.

Using Stata Variable Labels in R

I have a bunch of Stata .dta files that I would like to use in R. My problem is that …

r variables stata labels
How can I get more digits for a p-value?

Does someone know an easy way to get Stata to display more than just three digits for the p-value when …

regression stata
first-difference linear panel model variance in R and Stata

I would like for a colleague to replicate a first-difference linear panel data model that I am estimating with Stata …

r stata standard-error plm
Pandas read_stata() with large .dta files

I am working with a Stata .dta file that is around 3.3 gigabytes, so it is large but not excessively large. …

python pandas stata
Paths to do-file in Stata

Would it be possible, when I launch a do-file to recover the path of the do-file as a variable? I'm …

stata
Saving in a file an array or DataFrame together with other information

The statistical software Stata allows short text snippets to be saved within a dataset. This is accomplished either using notes …

python pandas numpy stata hdf5
How to export multiple set of regressions into one Excel workbook using either outreg2 or esttab?

I have multiple sets of regressions that need to be presented in different tables. I wonder if there is a …

excel stata
Exporting Tabstat in Stata

I am trying to export tabstat result from stata. I am using following commands. estpost tabstat x1 x2 x3 x4, …

statistics stata summary
Creating and using temporary/volatile database tables In Stata

Addendum: As of Stata 14, volatile tables work without any hacks. Is there a way to tweak Stata to work with …

sql odbc stata teradata
Drop variables with all missing values

I have 5000 variables and 91,534 observations in my dataset. I want to drop all variables that have all their values missing: …

stata stata-macros