Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: Re: st: 2 Questions about margeff: dummies and lincom


From   "Kristin J. Kleinjans" <[email protected]>
To   <[email protected]>
Subject   Re: Re: st: 2 Questions about margeff: dummies and lincom
Date   Sun, 6 Nov 2005 16:49:49 +0100 (CET)

Thank you for your answers, Tamas! That is very helpful.
Best regards,
Kristin


Date: Fri, 04 Nov 2005 09:56:12 +0100
From: "Tamas Bartus (tbartus)" <[email protected]>
Subject: Re: st: 2 Questions about margeff: dummies and lincom

Kristin J. Kleinjans asked

> I have 2 questions regarding the margeff command (that estimates
> averagemarginal effects) by Tamas Bartus. I am using Stata 8SE.
>
>
> 1. I get an error using the command but am not sure what this
> implies. I
> checked the "help for margeff" (May 22 2005) and the Stata Journal
> submission by Bartus (22 April 2005).
>
> estimates post: matrix has missing values
> r(504);

Thank you for the note. Your experiment suggests which part of the code is
responsible for the
error message. I try to fix it as soon as possible.
I believe the results you get when you avoid the * abbreviation are correct.

> 2. Also, I was wondering if somebody knows how to determine the
> relative weights on the variables in using the lincom command to
> get the
> joint marginal effect for a variable which is included both by itself
> and as a square term?

The marginal effect of the age squared variable must be weighted by
2*mean(age), age
itself
needs no weights.

Tamas

- ------------------------------------------------

Tamas Bartus, PhD
Associate Professor, Department of Sociology and Social Policy
Corvinus University Budapest
(formerly University of Economics)
1093 Budapest, Fovam ter 8.
Phone: +36-1-4825-226         Fax:   +36-1-4825-226
Homepage: www.uni-corvinus.hu/bartus

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



Kristin J. Kleinjans
University of Aarhus
Department of Economics
Building 322
8000 Aarhus C
Denmark
Phone: +45 8942 1624. Fax: +45 8613 6334
E-mail: [email protected]



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index