I've installed mcompp and mcompr but can't seem to get mcompp to work.
What is the proper syntax?
Here is an extract from the help file:
P-values for multiple comparisons [sg28:
STB-22]
----------------------------------
mcompp varlist , [ nocons bonferonni(varname)
scheffe(varname) sidak(varname)
calculates P-values for all possible contrasts defined by the varlist. This
list must appear in the most recent estimation command.
Here are the errors I get when I try different syntax. It seems odd
that the syntax diagram contains just an opening square bracket, no
closing one.
. mcompp _Ifamily_2, [sidak(sidak)
option [ not allowed
r(198);
. mcompp _Ifamily_2, sidak(sidak)
program error: matching close brace not found
r(198);
. mcompp _Ifamily_2, sidak(sidak)]
option ] not allowed
r(198);
. mcompp _Ifamily_2, (sidak(sidak))
option ( not allowed
r(198);
. mcompp _Ifamily_2, [sidak(sidak)]
option [ not allowed
r(198);
. mcompp _Ifamily_2
program error: matching close brace not found
r(198);
Thanks.
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
and Wilson Family Practice Residency, Johnson City, NY
cryanatbinghamtondotedu
GnuPG and PGP public keys available at http://pgp.mit.edu
"If you want to build a ship, don't drum up the men to gather wood,
divide the work and give orders. Instead, teach them to yearn for the
vast and endless sea." [Antoine de St. Exupery]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/