Dear Statalist,
I am attempting to run a gllamm model in StataMP 14 and, although I've svyset the data to ensure it accepts my scaled pweight, it keeps rejecting it. Please see below for my commands and Stata's response
. svyset psu2 [pweight=gcmwgt], strata(region)
pweight: gcmwgt
VCE: linearized
Single unit: missing
Strata 1: region
SU 1: psu2
FPC 1: <zero>
. generate cons = 1
. eq inter = cons
. eq inter = slope
. gllamm viol wvage, i(aid2 psu2) nrf(2) eqs(inter slope) ip(m) nip(12) pweight(gcmwgt) family(binomial) link(logit) adapt trace
probability weight variables not found
r(111);
HELP!!
I am attempting to run a gllamm model in StataMP 14 and, although I've svyset the data to ensure it accepts my scaled pweight, it keeps rejecting it. Please see below for my commands and Stata's response
. svyset psu2 [pweight=gcmwgt], strata(region)
pweight: gcmwgt
VCE: linearized
Single unit: missing
Strata 1: region
SU 1: psu2
FPC 1: <zero>
. generate cons = 1
. eq inter = cons
. eq inter = slope
. gllamm viol wvage, i(aid2 psu2) nrf(2) eqs(inter slope) ip(m) nip(12) pweight(gcmwgt) family(binomial) link(logit) adapt trace
probability weight variables not found
r(111);
HELP!!