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]

From |
carinaxl@uvic.ca |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: How can I get conditional marginal effects? |

Date |
Fri, 21 Sep 2012 19:45:49 -0700 |

Hi! My model structure is as follows. Two binary dependents variables y1 and y2 are affected by a vector of independent variables x, but y1 and y2 are correlated. The command I use to estimate the model is: biprobit y1 y2 x,vce(robust). Then I want to calculate the marginal effects as follows: marginal effects of x on y1=1 when y2=1 marginal effects of x on y1=1 when y2=0 marginal effects of x on y2=1 when y1=1 marginal effects of x on y2=1 when y1=0 I know how to get marginal effects for y1=1,y2=1, y1=1,y2=0, y2=0,y1=1, y2=0,y1=0, But what I want to get is marginal effects for y2=1|y1=1 y2=0|y1=1 y1=1|y2=1 y1=0|y2=1 Would you plase help me that how I can get this kind of marginal effects in Stata? What code should I use? Thanks a lot! Sincerely, Carina * * 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/

- Prev by Date:
**Re: st: Quantile regression** - Next by Date:
**st: box plots of main effect relative risks** - Previous by thread:
**st: creating cross tables/ matrices with expected/ observed frequencies from long data set** - Next by thread:
**st: box plots of main effect relative risks** - Index(es):