On 14.08.2022 15:44, Cottrell, Allin wrote:
On Sun, Aug 14, 2022 at 6:07 AM Marcin Błażejowski
> simple script:
> open wtp.gdt
> list X = 1 2 9 10 11
> logit depvar 0 X --multinomial --quiet
> series yhat = $yhat
> xtab --zeros depvar yhat --quiet
> eval $result
> It looks like '--zeros' flag has zero effect on xtab command.
Not so. The --zeros option affects the printed table, which you have
suppressed via the --quiet flag. The $result is a matrix, and zeros
are always going to get printed in that context.
I see. But when I call 'xtab
--zeros depvar yhat' the printed table
doesn't have column for [ 2] (thouhgt raw for [ 2] exists). Is that correct?
> What is more, line 'xtab depvar $yhat' generates an
error: "Data types not conformable for operation" which - I believe - is
It's clear, thnks Allin.