Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: update to margeff


From   "Tamas Bartus (tbartus)" <[email protected]>
To   [email protected]
Subject   st: update to margeff
Date   Sat, 01 Mar 2008 08:59:21 +0100

Dear Statalisters,

I have updated my margeff package. Due to Kit's absence (do I remember correctly?),
installation requres either the stata commands

net from http://www.uni-corvinus.hu/bartus/stata
net install margeff

or visit to the cited.

The current release hopefully fixes all problems related to the dummies option.
Based on what users reported, this option did not have the desired effects.

Similar to the old Stata Journal distribution, the dummies option works again if
useres request average margiinal effects. 

To see what the dummies option does, please try the following:

--------------- top of do file ---------------------

clear
tabi 10 30 40 \ 20 40 50 \ 60 80 90
rename pop pop1
gen pop0 = 100-pop1
reshape long pop , i(col row) j(y)
replace col = col-1
replace row = row-1

xi , prefix(d) i.col i.row
logit y d* [fw=pop]

margeff
margeff , dummies(dcol* \ drow* )
margeff , at(mean)
margeff , at(mean) dummies(dcol* \ drow* )  

----------- end of do file --------------


Tamas

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

Tamas Bartus, PhD
Associate Professor, Institute of Sociology and Social Policy
Corvinus University, Budapest 
1093 Budapest, Közraktár utca 4-6.
Phone:  +36-1-482-7301         
Fax:      +36-1-482-7348
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/



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