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

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


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: Adding -nocons- to -mlbeta-
Date   Tue, 24 May 2005 17:20:25 -0500

At 10:19 PM 5/24/2005 +0100, Clive wrote:
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
Don't make changes to your call to mlbeta - just make minimalist changes to the program itself, specifically, the -ml model- command. Drop the -ml search- and -ml maximize- lines, and make -ml model- look like this:

ml model lf mlbeta_ll (`lhs'=`rhs', noconstant) (`dispersion', noconstant) `if' `in', `robust' `svy' collinear maximize

You may also need to then add

ml display

I'd go back to the original -mlbeta- and make the changes - in the process of making other changes you may have zapped something else!

-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

*
* 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