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 |
Janice Compton <comptonj@cc.umanitoba.ca> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: marginal effects in biprobit |

Date |
Mon, 13 Jun 2011 15:22:25 -0500 |

I am using BIPROBIT (Stata9) to estimate an IV model of the type BIPROB (Y X1 X2 X3) (X1 X2 X3 Z) where Y, X1 and Z are all binary variables.

http://www.stata.com/statalist/archive/2010-02/msg00078.html

gen wasx1=x1; replace x1=1; predict p1, pmarg1; replace x1=0; predict p2, pmarg1; replace x1=wasx1; gen ATE1=p1-p2; sum ATE1; OR predict xb1, xb1; scalar b_x1=x[x1] gen ate2=0; replace ate2=norm(xb1+ b_x1) ? norm(xb1) if X1==0; replace ate2=norm(xb1) ? norm(xb1 ? b_x1) if X1==1; sum ATE2;

My question relates to the pmarg1 estimate. If I run the following: gen wasZ=Z; replace Z=1; predict check1, pmarg1; replace Z=0; predict check2, pmarg1; sum check1 check2;

Thanks very much for your consideration. Sincerely, Janice Compton * * 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:
**st: How to generate a random variable with PDF gamma(a,b,g,x)** - Next by Date:
**st: marginal effects in biprobit** - Previous by thread:
**st: How to generate a random variable with PDF gamma(a,b,g,x)** - Next by thread:
**st: marginal effects in biprobit** - Index(es):