Bookmark and Share

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]

st: RE: code fragmennt in mlogit.ado


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Klaus Pforr
Sent: Dienstag, 23. März 2010 00:01
To: statalist@hsphsun2.harvard.edu
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&#65533;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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index