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
overlaying histograms produce "empty" part on x-axisDear all, I am making a plot consisting of overlaying histograms. My data ranges from -9 to 14. Eve…
Reshape wide to long over various attributesI have a dataframe that looks like so: Q1_2008_East Q1_2008_West Q2_2008_East Q2_2008_West .....…
Calculating the share of respondents with certain preferences in Discrete Choice Experiments -mixed logitDear Stata users, I have been trying to replicate the following paper from Arne Risa Hole (2007) : …
Regression models with exposure, outcome, and GROUP of covariates in one loopHi All - just struggling to get some basic regression code to work how I want it in Stata. Imagine i…
GLM and SQREG heteroscedasticity analysisHi all, I'm trying to analyse the heteroscedasticity posteestimation of my two possible models regre…
Subscribe to:
Post Comments (Atom)
0 Response to Year and Industry Fixed Effects in Cross-sectional logit regression
Post a Comment