[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Amending -mlbeta- (Was RE: st: Adding -nocons- to -mlbeta-)
Richard Williams replied:
My apologies in replying slowly to this very detailed message.
>> svymarkout `touse'
> touse is not getting used in the subsequent code. Further, md cases in
> dispersion varlist aren't getting knocked out. So, this isn't coded
> but maybe it doesn't hurt you. However, I'm guessing it would be good to
> add a line like
> markout `touse' `dispersion'
>>ml model lf mlbeta_ll (`lhs'=`rhs', noconstant) (`dispersion') `if' `in',
>> `robust' `svy'
> What I think you want is
> ml model lf mlbeta_ll (`lhs'=`rhs', `nocons') (`dispersion') if `touse',
> `robust' `svy'
> When calling mlbeta, it will then be your choice whether to include the
> constant or not.
Although I'm already satisfied with the changes I've been able to make to
the -mlbeta- code (thanks to Statalist), I tried out Rich's suggestions
just to see what it would do. The end result is that it produces the same
model with exactly the same statistics.
CLIVE NICHOLAS |t: 0(044)7903 397793
Politics |e: email@example.com
Newcastle University |http://www.ncl.ac.uk/geps
* For searches and help try: