This command was published in the STB in 1994. The help
file contains a typo: the closing "]" was omitted by
accident. The "[ ]" indicate genuinely optional options and
are not to be typed literally.
This contribution only appears if you type -search, historical-
but then without comment. That usually means that the contribution
may be rendered awkward or impossible to use given subsequent
changes in Stata, so deeper problems may yet lurk. In fact one
of your error messages below indicates one such.
On looking at the file I see no -version- statement. Inserting
a line
version 2.1
below the "program define" is one possible remedy, but I've not
tried it and make no promises.
Nick
[email protected]
Christopher W. Ryan
> 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);
*
* 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/