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
Help with pcspike to display a paired plot with namesI am using Nick Cox's example code to produce a 'paired plot with names' as in Dr. Cox's "Speaking S…
Interactions with geographic variables to avoid loosing observations in a comparative analysisHi! I'm analyzing the association of different economic variables with the subjective well-being of…
Coding variables with options "Yes" "No" and "Other"Hello all, I have what I believe should be a pretty simple problem but I'm getting tripped up, most…
coefplot displacing CI barsHello, I'm using the coefplot command to plot the association between a given covariate and a numbe…
How can I test the meditation effect for count models (i.e. poisson, negative binomial)Dear statisticians, I want to test whether a variable M plays a mediating role in the effect of X o…
Subscribe to:
Post Comments (Atom)
0 Response to Clogit with Additional Dummy Variables
Post a Comment