.- help for ^destest^ (STB-52: dm73; STB-54: dm73.1; STB-59: dm73.2) .- Perform Wald test after desmat ------------------------------ ^destest^ is a companion program for @desmat@. It is used after estimating a model to perform a Wald test on model terms. The syntax is: Syntax ------ ^destest^ [termlist] [^using^ filename] [^,^ ^j^oint ^e^qual ^outraw^ ^replace^ ^ndec(^#^)^ ^sigcut(^numlist^)^ ^sigsym(^list^)^ ^sigsep(^#^)^ The termlist consists of one or more terms as specified in @desmat@. A term can consist of a single variable or two or more variables separated by either asterisks or periods. If asterisks are used, they will be changed into periods by ^destest^, i.e., only the highest order interaction will be tested. If no arguments are specified, all terms from the last @desmat@ model will be tested. The default is to test whether the effects of each separate term are equal to zero. If the option ^joint^ is specified, ^destest^ will test instead whether all the effects in all the terms are jointly equal to zero. If the option ^equal^ is specified, ^destest^ will test whether the effects of each separate term are equal. The ^joint^ and ^equal^ options may be combined to test whether all effects are jointly equal, although this would be a somewhat peculiar hypothesis. Only the first letter of the ^joint^ and ^equal^ option is significant. If ^using^ filename is specified, then, the results are written to a tab- delimited ASCII file. The default extension for filename is ^.out^ (cf. @outsheet@). If filename already exists, ^desrep^ will attempt to find a valid filename by appending a number (see @outshee2@). The ^replace^ option can be used to overwrite an existing file. Options ------- The options ^ndec()^, ^sigcut()^, ^sigsym()^, ^sigsep()^ have the same usage as in @desrep@. ^joint^ specifies that ^destest^ will test whether all the effects in all the terms are jointly equal to zero. ^equal^ specifies that ^destest^ will test whether the effects of each separate terms are equal. The ^joint^ and ^equal^ options may be combined to test whether all effects are jointly equal, although this would be a somewhat peculiar hypothesis. Macro variables to control layout --------------------------------- Global macro variables can be used to specify different defaults for these options, either for the session or for all Stata sessions, by placing the global variables in the user's ^profile.do^. ^$D_NDEC^ ^$D_SIGCUT^ ^$D_SIGSYM^ ^$D_SIGSEP^ ^$D_RAW^ ^$D_REPL^ Options specified in the ^destest^ command string will override these global variables. @desmat@ creates global macro variables "$term1", "$term2", etc. containing a varlist for each term in the model. ^destest^ runs through these terms, finds the terms corresponding with the termlist, and runs @termpar@ with the varlist. If these global variables have not been defined, ^destest^ will only print header information. These global variables can, of course, also be used separately in @testparm@, @sw@, or related programs. Author ------ John Hendrickx Nijmegen Business School University of Nijmegen P.O. Box 9108 6500 HK Nijmegen The Netherlands