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

Re: st: Adding -nocons- to -mlbeta-


From   "Clive Nicholas" <Clive.Nicholas@newcastle.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Adding -nocons- to -mlbeta-
Date   Tue, 24 May 2005 22:19:26 +0100 (BST)

Richard Williams replied:

>>If you are losing variables to collinearity, that is another issue.  Add
>>the parameter collinearity to the ml model command, e.g.
>>
>>. ml model lf mlbeta_ll (`lhs'=`rhs', noconstant) (`dispersion',
>>   noconstant) `if' `in', `robust' `svy' collinearity
>
> Whoops - the option is -collinear- , not -collinearity-.

Is this to be added on _both_ relevant lines of code, as an option? If so,
it broke the code:

. mlbeta sqgovote conadmin labadmin sqgpchg sqbeldm weakgovt, robust
nocons collinear
option collinear not allowed
r(198);

I added -collinear- with and without the quotes to the -ml model- line,
but that had no effect on running -mlbeta-.

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: clive.nicholas@ncl.ac.uk
Newcastle University  |http://www.ncl.ac.uk/geps

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index