Hi Everyone,
I would appreciate your help on the below:
I am using Stata 17. I have a cross-sectional data of companies that made an acquisition and their corresponding target company that got acquired.
I have company financials as independent variables, most are numbers, some are dummy variables (eg. Hostile takeover or not. Majority Acquisition or not, etc.).
My dependent variable(s) is the acquisition payment method (binary 1 or 0). I am running the logistic regression 3 separate times for the 3 payment methods (Cash payment, Stock payment or Mixed payment).
I want to include industry and year fixed effects.
The command I'm using is: logistic Y X1 X2 X3 X4 i.IndustryCode i.Year, vce(cluster AcquirorCode)
For the Mixed Payment dependent variable, I have no issues in adding both fixed effects.
For the Cash Payment dependent variable, I have no issues with running the regression either with i.IndustryCode or with i.Year, but when I add both, then i am getting an error: convergence not achieved r(430).
For the Share Payment dependent variable, I have no issues with i.IndustryCode. But when i run a regression with just i.Year or with both fixed effects, I get the same error.
For the Share Payment, I tried running clogit Y X1 X2 X3 X4, group(Year) and I got the same error. Also, with clogit I don't think I can add 2 groups (Industry and Year), and cluster by AcquirerCode correct?
I am sure the variables IndustryCode and Year are integers.
Any idea why this is happening?
Regards,
Paul K.
Related Posts with Year and Industry Fixed Effects in Cross-sectional logit regression
Lorenz CurveDear all, I tried estimating Lorenz curve with the command Lorenz HHEXP follow by Lorenz graph fo…
Analyze a wrong code for drop all missing valuesif I want to drop any observation which contains at least one missing value for a variable. The code…
Creating an inflation index seriesHello, From the data below, you can see that i have the inflation for a few years. However, this ca…
PS matching and Difference-in-DifferencesDear all, I am facing some troubles in understanding which STATA command is best at estimating prop…
Inquire about "quietly histogram" Code: set rng kiss32 quietly set obs 30 set seed 10101 gen x=runiform() sum x quietly histogram x,…
Subscribe to:
Post Comments (Atom)
0 Response to Year and Industry Fixed Effects in Cross-sectional logit regression
Post a Comment