Top "Stata" questions

Stata is a commercial, general-purpose statistical software.

Stata: Generate sum / total by specific date ranges and save them as a new variable

I work with panel data which contain several companies (id) and cover the period from 1.1.2008 to 1.1.2013 (date, year). I want …

sum range time-series stata subtotal
Run Stata do file from Python

I have a Python script that cleans up and performs basic statistical calculations on a large panel dataset (2,000,000+ observations). I …

python stata
Reshape data frame from wide to panel with multiple variables and some time invariant

This is a basic problem in data analysis which Stata deals with in one step. Create a wide data frame …

r panel stata reshape data-manipulation
Heteroscedasticity robust standard errors with the PLM package

I am trying to learn R after using Stata and I must say that I love it. But now I …

r stata robustness standard-error plm
Mimic tabulate command from Stata in R

I'm trying to get a 2 way table in R similar to this one from Stata. I was trying to use …

r stata
How do I force Stata to place a horizontal line above all other plots in a graph?

I'm graphing a time series and shading certain time periods based on a Boolean indicator variable in Stata 13.1 on Windows 7. …

stata graphing
Predicting standard errors of forecast

I'm a newbie to R, coming from the Stata world. I've just run a linear model (with approx 100 variables, each …

r stata linear-regression forecasting standard-error
Frequency weighting in R, comparing results with Stata

I'm trying to analyze data from the University of Minnesota IPUMS dataset for the 1990 US census in R. I'm using …

r stata
Convenient way to access variables label after importing Stata data with haven

In R, some packages (e.g. haven) insert a label attributes to variables (e.g. haven), which explains the substantive …

r label stata r-haven
In Stata, how can I append to a local varlist during a loop?

I am trying to run multiple regressions where, on each iteration, another independent variable is added to the regression on …

list stata