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 |
Richard Williams <richardwilliams.ndu@gmail.com> |

To |
statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Question about average marginal effects for logit models with dummy variables |

Date |
Mon, 08 Oct 2012 07:14:37 -0500 |

At 05:45 AM 10/8/2012, Tirthankar Chakravarty wrote:

-margins- inherits whether variables are discrete or continuous from the estimation command that precedes it (in your case -logit-). In turn, the estimation command does its best to gauge whether included variables are discrete or continuous.

To change the default behaviour, or indeed to be cautious, it is advisable to use the unary operators to denote continuous and indicator variables, "c." and "i." (as documented in -help fvvarlist-) liberally.

The documentation for the -margins- command goes into great details on these matters (-help margins-). T On Mon, Oct 8, 2012 at 3:41 PM, Bob Reed <bob.reed@canterbury.ac.nz> wrote:> Hi, When Stata calculates AMEs for logit models with dummyvariables, does it "know" that the dummy variable is discrete, andcalculate its marginal effect accordingly?> > Bob Reed > > -------------------------------------------------------------------- > W. Robert Reed > Professor and Head of Department > Department of Economics and Finance > University of Canterbury > Private Bag 4800 > Christchurch > New Zealand > Phone: +64-3-3642846 > Fax: +64-3-3642635 > Email: bobreednz@yahoo.com > Homepage: http://www.econ.canterbury.ac.nz/personal_pages/bob_reed/ > > Replications Co-Editor, Public Finance Review > http://www.sagepub.com/journalsProdEditBoards.nav?prodId=Journal200768 > --------------------------------------------------------------------> The curious task of economics is to demonstrate to men how littlethey really know about what they imagine they can design. - F.A. Hayek> > > > This email may be confidential and subject to legal privilege, it may > not reflect the views of the University of Canterbury, and it is not > guaranteed to be virus free. If you are not an intended recipient, > please notify the sender immediately and erase all copies of the message > and any attachments. > > Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more > information. > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

------------------------------------------- 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/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: Question about average marginal effects for logit models with dummy variables***From:*Bob Reed <bob.reed@canterbury.ac.nz>

**Re: st: Question about average marginal effects for logit models with dummy variables***From:*Tirthankar Chakravarty <tirthankar.lists@gmail.com>

- Prev by Date:
**st: interpretation of fixed effects model with time-variant covariates and interaction term** - Next by Date:
**Re: R: st: Is there a similar command as roccomp for comparing two kaplan-meier curves?** - Previous by thread:
**Re: st: Question about average marginal effects for logit models with dummy variables** - Next by thread:
**Re: st: Question about average marginal effects for logit models with dummy variables** - Index(es):