Hi all, I am having trouble adding sampling weight to my multilevel mixed model. Please see my syntax below:
No problem with the above command, however when I keep tying the following syntax:
I got an error message:
Any clue of why this is happening and how to fix this please? Thanks!
Code:
svyset [pweight = wt_sa3], brrweight(wt_sa3_repl_01 - wt_sa3_repl_32) vce(brr)
Code:
svy: meglm sa3lw_w age retain_k if _treated!=. || StudentID:, cov(un)
Code:
svy: meglm sa3lw_w age retain_k if _treated!=. || StudentID:, cov(un) invalid interaction specification; '|' may not be used with continuous variables
Comment