Hi everyone,
I started learning STATA recently after learning some object-oriented programming languages first, so the syntax has been confusing me.
Basically, I have a file with multiple variables that I am trying to perform a regression on. The goal is to run a regression for each state (which is a variable, and states show up multiple times), using certain variables. My desired results show on the command window just as I want them, and I got them by doing so:
bysort state: reg y x1
bysort state: reg y x2
etc.
However, I am having trouble exporting these files and saving them when I use the command esttab. I get a table without the states, and virtually no results. Also, the idea is to perform regressions individually, without the use of multiple independent variables at a time (I need to make separate files for the variables that i am performing regressions on).
It's my first time posting on here, so my apologies if I made a mistake!
Related Posts with How to export file after regression?
Deleting ID that is not present in both datasets for Panel DataHi, I am interested in doing regression analysis with panel data.The data I've chosen is in 2 waves…
questions about the command "tab" and "putexcel" for panel dataHello everyone, I am Quan. My dataset is the export value of a country (divided into 6 digit code HS…
Announcement of the Stata Journal Editors’ Prize 2023Stata Journal 23(1) released last week carries an invitation to nominate for the Editors' Prize in 2…
Stacked bar graph for a binary and a categorical variableHi. I have a binary variable, OC, and a categorical variable Department. Department has 16 categorie…
Box Cox regression (Lambda model) result shows 0.000 standard errors for estimated coefficients and Sigma constantHello all, I am Florence Ijagbone. I am working on the social welfare function as part of my PhD pr…
Subscribe to:
Post Comments (Atom)
0 Response to How to export file after regression?
Post a Comment