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 15:11:18 -0500

At 08:48 PM 5/24/2005 +0100, Clive Nicholas wrote:

I haven't tested it, but I think you have the noconstant in the wrong place. Instead of

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

ml model lf mlbeta_ll (`lhs'=`rhs', noconstant) (`dispersion') `if' `in', `robust'
If it works, then you can change it to `nocons'; but I'd suggest getting it to work first before you worry too much about making it more generalizable and flexible. I'm not sure what the routine is doing, so I don't know if you would also want or need to add noconstant to the dispersion equation.

* For searches and help try:

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