Hello everyone,
I'm trying to answer the question if election poll standings influenced the stock price of international companies more than domestic ones. For this reason I'm trying to perform the follwing Diff-in-Diff analysis:
Rit = ß0 + ß1 Pollt + ß2 Inti + ß3 Pollt * Inti
I have the returns of about 300 Stocks for about 200 days each with the Poll data available for every day (so 200 values) and a measure of internationality available for every company (300 values), all available in separate Excel Spreadsheets. I'm now having trouble getting all the data in a format which can be used by STATA to perform the regression. I tried putting all the data in one Excel Sheet, but that turned out to be really messy. Also I haven't been able to perform the (Matrix-) multiplication of Pollt and Inti yet. I'm really unsure how to proceed now and appreciate any help.
Related Posts with Combine Time-series and Cross-sectional data for Diff-in-Diff
Remove leading "0"Dear all, I have observations entries that look like this: Array I'd like to remove the leading "…
country pair fixed effects in gravity modelCan country pair fixed effects be used to address endogeneity in the case where the endogenous covar…
Create Output table with multiple variablesHi Everyone! New here and to STATA. Am done with the data cleaning and analysis (yay!), however woul…
Interaction Terms/Effects in Stata RegressionsGood evening, I have to calculate the interaction effect of my dummy variables P1-P3 on the market …
Multiple line plot of long dataHello all, I’m working with a dataset in the long format. My observations are grouped within ids (i…
Subscribe to:
Post Comments (Atom)
0 Response to Combine Time-series and Cross-sectional data for Diff-in-Diff
Post a Comment