On Mon, Aug 15, 2022 at 5:25 AM Marcin Błażejowski <marcin(a)wrzosy.nsb.pl> wrote:
On 14.08.2022 15:44, Cottrell, Allin wrote:
> On Sun, Aug 14, 2022 at 6:07 AM Marcin Błażejowski <marcin(a)wrzosy.nsb.pl>
wrote:
>> Hi,
>>
>> simple script:
>> <hansl>
>> 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
>> </hansl>
[W]hen I call 'xtab --zeros depvar yhat' the printed table
doesn't have a column for [ 2] (though a row for [ 2] exists). Is that correct?
Yes it's correct. The columns represent yhat, and "freq" reveals that
yhat has values 1, 3 and 4 only.
Allin