Hello,
I would like to test the following model:
Dependent Variable: ordinal variable (firms' credit ratings. This ranges between 1 and 22 where 22 is AAA rating).
The main independent variable of interest:continuous variable.
But I have two questions:
First: Can I (or should I) treat my dependent variable as continuous and perform an OLS since there are 22 categories?
Second question: How do I include industry- and year-fixed effects in ologit model? I have 48 industries and 30 years, is it okay to code it as follows:
I looked up -feologit- function but it takes forever to run and then returns:
1,223 (group size) take 1,216 (# positives) combinations results in numeric overflow; computations cannot proceed
Your help is appreciated!
I would like to test the following model:
Dependent Variable: ordinal variable (firms' credit ratings. This ranges between 1 and 22 where 22 is AAA rating).
The main independent variable of interest:continuous variable.
But I have two questions:
First: Can I (or should I) treat my dependent variable as continuous and perform an OLS since there are 22 categories?
Second question: How do I include industry- and year-fixed effects in ologit model? I have 48 industries and 30 years, is it okay to code it as follows:
Code:
ologit Dependentvar independentvars i.industry i.year, vce(cluster firmid)
I looked up -feologit- function but it takes forever to run and then returns:
1,223 (group size) take 1,216 (# positives) combinations results in numeric overflow; computations cannot proceed
Your help is appreciated!
Comment