Hi everyone,
I'm trying to estimate this panel data model with the equation below:
Array
αi is a country fixed effect
βj is the coefficient associated with the dummy of each event (Dj)
γj refers to the interaction coefficient of the X with a Latam dummy (Lat).
Thus, the coefficients reported in column 4 (βj) represent the average change of the dependent variable at date j for a non-Latin American country, while the sum of the coefficients reported in columns 4 and 5 (βj+γj) represent the average change of the dependent variable at date j for a Latin American country.
I´ve already define the Dj and Latam dummy variables but I don't know how to use the correct commands to replicate the equation above and obtain the results in the dates that I'm interested
Array
Related Posts with Regression commands for Panel data
Matching option expiration date with a date closest to earnings announcementDear stata users, How do I match options with expiration date closest to earnings announcement date…
Keeping a list of observations using foreachCan foreach be used to keep a group of observations of a specific variable? I need to keep a group …
Low amount of clusters should I use vce(cluster) in my xtivreg?Hey, I have a panel data with instrumental variables, therefore I am using xtivreg with random effe…
About the 2-Step weighting matrixDear Statalisters, I've two questions about the weighting matrix in two-step GMM. Theoretically the…
Merge with duplicates in the using data setHi, I would like to merge two data sets. Dataset A contains the values of the variable x. Among them…
Subscribe to:
Post Comments (Atom)
0 Response to Regression commands for Panel data
Post a Comment