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]
Re: st: margins
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: margins
Date
Tue, 21 Jan 2014 09:18:37 +0100
--- On Mon, Jan 20, 2014 at 8:29 PM, Ozturk, Orgul wrote:
> How can I produce average marginal effects after an OLS regression with no constant term.
> It gives "non-estimable"
I cannot reproduce your problem, the following runs without problem on Stata 12:
*--------- begin example --------------
sysuse auto
reg price ibn.rep78 mpg, hascons
margins i.rep78
*---------- end example ---------------
Can you tell us exactly what you typed?
> Moreover, how can one produce AMEs using margins command after a fixed effects logistic regression (after xtlogit, fe)
You'll probably need to specify the -predict()- option of margins, how
will depend on what _exactly_ you want.
-- Maarten
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* 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/