Hi,
I am estimating a non-linear model by using clogit. My group variable is "industry by year". I also have 2 categorical variables (d1 and d2) that take values of 0, 1, or 2. I want to see the interaction between a continuous variable c1 and d1 and d2. You can see my code below:
clogit y c1##i.d1##i.d2, group(ind_year)
When I have fixed effects in logit models, I look at the number of observations per dummy variable to minimize the bias. However, in a clogit model, I am not sure if I should look at # of observations within each group (industry by year) or total? For example, I have 100 observations where d1=1 and d2=2, and 150 observations where d1=0 and d2=1 but for each industry-year pair, the maximum # of observations is 15. So, I was wondering if I should be concerned about any potential bias? Thanks in advance.
Ulas
Related Posts with Clogit with Additional Dummy Variables
Reshaping data from wide to longWhen I try to reshape I keep getting this error r(111) no xij variables found You typed something li…
cluster/village fix effectsDear Stata users, I am trying to estimate the impact of water quality on child health in 3 Asian co…
Draw a stratified random sampleHi, I am working with a survey where I have information at the individual and household levels. I s…
Ordering legend only in graphI am trying to order the legend with the better outcome group up top in the legend and the worse out…
eclass store resultsDear stata users, I would like to store a matrix and the number of observations after my eclass pro…
Subscribe to:
Post Comments (Atom)
0 Response to Clogit with Additional Dummy Variables
Post a Comment