Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65550

mean command with pweight & vce() & over () options

$
0
0
Hello,

I am trying to use mean command with pweight & vce() & over() options, but I get an error message.
"factor variables and time-series operators not allowed"

Code:
mean he_bmi pweight(wgt_all_byphase) if group_phase36==1, vce(cluster psu) over(domain2_allage_m)
wgt_all_byphase -> sampling weight variable, continuous
domain2_allage_m -> 1(group1) 2(group1) 9(else)

For some reason I don't know, it works if I delete "pweight(wgt_all_byphase)".

Help!


Viewing all articles
Browse latest Browse all 65550

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>