Am 21.07.2022 um 23:01 schrieb Artur Bala:
I think there's no gretl command similar to SPSS "weight by
" in the > sense that it can not be activated by default for the active dataset
(as you can do in SPSS though the "weight observations" menu.) >
Instead you need to specifically indicate a weighting variable >
whenever needed (as for example in the case of wls) or applied (as > for
example in the 'summary' command). >
I think you're right, Artur. Thanks also for reminding us/me of the
--weight option of the 'summary' command. So I think what we have in
gretl for weighing stuff is:
- 'summary ... --weight' (but this weighs the observations, not the
variables, I think)
- the functions wmean(), wvar(), wsd()
- the 'wls' command, as mentioned before
Maybe there's more.
thanks
sven