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]
st: RE: code fragmennt in mlogit.ado
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
st: RE: code fragmennt in mlogit.ado
Date
Tue, 23 Mar 2010 00:49:41 +0100
<>
" The options `skipline' to `baseoutcome' seem to me to be out of place."
Why do you think so? Although I cannot find the relevant option documented
in -h _rmcoll-, Stata needs to know that this particular removal operation
is for -mlogit- purposes. Just compare the results with and without it:
*******
webuse sysdsn1, clear
//create collinearity on purpose
gen doubleage=2*age
//with specification of model
_rmcoll insure age doubleage ///
male nonwhite i.site, mlogit expand
ret li
//without specification
_rmdcoll insure age doubleage ///
male nonwhite i.site, expand
ret li
*******
If -mlogit- is a useful information for Stata, then it also needs to know
about the -baseoutcome-...
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Klaus Pforr
Sent: Dienstag, 23. März 2010 00:01
To: [email protected]
Subject: st: code fragmennt in mlogit.ado
##
dear listers,
I found a fragment of code in mlogit.ado which I do not understand:
_rmcoll `varlist' `wgt' if `touse', ///
`constant' ///
`coll' ///
`skipline' ///
mlogit ///
`baseoutcome' ///
expand
Could anybody please explain what this does and why it works. The
options `skipline' to `baseoutcome' seem to me to be out of place.
kind regards
Klaus Pforr
--
__________________________________
Klaus Pforr
MZES AB - A
Universit�t Mannheim
D - 68131 Mannheim
Tel: +49-621-181 2801
fax: +49-621-181 2803
URL: http://www.mzes.uni-mannheim.de
Besucheranschrift: A5, Raum A312
__________________________________
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
*
* 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/
*
* 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/