Hi all!!
Firstly, thank you for reading/helping! I'm attempting a project on looking at CEO personal campaign contributions before the 2002 election, and seeing if that changed their stock price (pre/post 6 month average). I have an output of my dataex for the format of the data, and after some dataset transformation/manipulation, this is the final result I have. I'm curious as to what the best regression would be to use? Regular reg, or should I use areg? I was originally going to use, "reg changestockprice totalrep if post == 1 i.companyid, robust" but I also want to loop through other variables, like totaldem and towinners, for example. How would I go about writing a loop for that, and then making a table to append all of those regressions together? Apologies for the longer post, kind of stumped as to where to go from here, and also fix the collinearity problem I ran into when I ran the first regression previously mentioned. Any and all help would be so so appreciated!! Thank you!
Array
Related Posts with Panel Regression Help!!
How to create a dummy variable from two variablesHi! I have a dataset with two variables for test scores: scores in 2002 and scores in 2013. I want n…
count group var if a condition is metHello, I am using Stata 15.1 to analyse household survey data. I want to simply count the number of…
Timeseries - cumulative impactI have been using Regression with Newey-West standard errors Code: newey for time-series regressi…
Help to import from ExcelHi. I am trying to import an excel file into Stata. However, when I use the option firstrow, Stata …
IVQREG2: module to estimare structural quantile functions now available in SSCDear All: Thanks to Kit Baum, ivqreg2 is now available in SSC. This module estimates the structura…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Regression Help!!
Post a Comment