------------------------------------------------------------------------------- help forsvresttest-------------------------------------------------------------------------------{title:Testing combinations of statistics after

svrest

svresttesttest_specification_involving_stats

Description

svresttestis a kludge to make svytest (and the underlying test work after svrest.svrestnames the estimates "stat1" "stat2", etc.svytestrequires that variables of those names exist for expressions, such assvyteststat1=stat2.This program creates empty variables with those names, as necessary, so that

svytestwill run.Specify the test (ie, the

test_specification_involving_stats) exactly as you would forsvytest.

Examples. svrest "regress mpg price weight" "_b[price]/_b[weight] _b[price]-_b[weight]" . svresttest stat1=stat2

The first command runs

svrest, and creates two estimated statistics, which are named "stat1" and "stat2". Then the equality of these two (rather silly) statistics is tested.

AuthorNick Winter Cornell University nw53@cornell.edu