Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: can factor variables be used with xtdpdsys?

From   "Gandelman, Nestor" <>
Subject   st: can factor variables be used with xtdpdsys?
Date   Wed, 23 Jan 2013 20:58:10 -0200

I'm trying to estimate the marginal effects in a DPD model of a variable that appears in the model with an interaction.

I can estimate the model if I generate the interataction before and then run the regression. But if I do so Stata does not consider the interaction when estimating the marginal effects.

My variable of interest is "profit" that apperars in a regresion alone and interacted with "fsal". When I type:

.xtdpdsys i_k c.profit##c.fsal, lags(1) artest(2)

I get the following error message:

.clprofit##c:  operator invalid

Can someone help me?

Thanks, Nestor
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index