use check varset svymean x svytotal x svyratio y/x svyreg y x varset fpc, clear svymean y x svylc y - x svylogit z x y svyprobt z x y svytest x = y