Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: marginal effects of interaction variables after clogit


From   Ori Katz <ori.k66@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: marginal effects of interaction variables after clogit
Date   Mon, 26 Mar 2012 16:51:05 +0200

Hello,
I am involved in a research project regarding major choice by
university applicants. my data includes ethnic origin of the
applicants, majors, and income per major (not per person). I run a
clogit model for the majors chosen, where the explanatory variables
are: majors income (the variable name is "m_inc12_jman"), and
interaction between major income and ethnic origin (the variable name
for ethnic origin is "ethnic_origin_ussr"). this is the command
:
clogit choice1 c.m_inc12_jman i(1
3/8)bn.ethnic_origin_ussr#c.m_inc12_jman, or group(id)

you can see that I omit ethnic origin 2 (there are 8 categories).
after the regression I try to run marginal effects, by using the
command:
margins, dydx(*) predict(xb)

I run into two problems in the results from the margins command:

1. the results table include m_inc12_jman and ethnic_origin_ussr, but
not the interaction between them. maybe when it writes
"ethnic_origin_ussr" it is actually the interaction, but I don't know
for sure. it is a bit similar to the problem described here:
http://www.stata.com/statalist/archive/2010-03/msg01226.html

2. Stata omits ethnic origin 1 and 2 from the results, but I want to
omit only 2.

Many thanks,
Ori Katz
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index