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

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

From |
Richard Williams <Richard.A.Williams.5@ND.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Adding the marginal effects at individual values of a continous regressor to the data |

Date |
Sat, 20 Feb 2010 14:06:46 -0500 |

At 12:54 PM 2/20/2010, Solomon Tesfu wrote:

Dear Members,I have a bivariate probit model where the key variable of interestis continuous. The 'margeff' program in stata gives me the averageof the marginal effects at each value of of this variable. But Iwant to look at how the marginal effects vary with changing valuesof the variable. Therefore, I would like to add the marginaleffects at each value of this continuous variable to the data and'margeff' doesn't help me to do that. I would appreciate if anyonehas a suggestion as to how to proceed with this.Solomon T.

use "http://www.indiana.edu/~jslsoc/stata/spex_data/ordwarm2.dta";, clear logit warmlt2 age ed prst margeff * Same results with margins command margins, dydx(*) * Now try different values of age margins, dydx(*) at(age=(30 40 50))

------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * 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/

**References**:**st: Adding the marginal effects at individual values of a continous regressor to the data***From:*"Solomon Tesfu" <ecosttx@langate.gsu.edu>

- Prev by Date:
**st: question about the anycount option of egen** - Next by Date:
**Re: st: Adding the marginal effects at individual values of a continous regressor to the data** - Previous by thread:
**st: Adding the marginal effects at individual values of a continous regressor to the data** - Next by thread:
**st: pseudo log-likelihood report** - Index(es):