I am sorry for having confused things here. Chris just told
me that there "appears to be a typo in markup of the jmp.hlp
file, somewhere after the 'Examples' title". Thus, I just took
a wild guess...
By the way, there is nothing wrong with using {com} (although I
can't find it documented; I guess it's a substitute for {inp},
is it?). The Examples section should have been:
----------------------------------
{title:Examples}
{p 4 4 2} Decomposition of the gender wage gap using the
residuals/prices
of the male model as benchmark:
{com}. regress lnwage educ exp exp2 if sex==1
. estimates store male
. regress lnwage educ exp exp2 if sex==2
. estimates store female
. jmp male female, statistics(mean median)
{txt}
{p 4 4 2} ... subdividing the quantity effect Q between education and
experience:
{com}. jmp male female, blocks(educ=educ, exp=exp*)
{txt}
{p 4 4 2} ... using a the average residual distribution and the prices
of
a pooled model as benchmark:
{com}. regress lnwage educ exp exp2 if sex==1 | sex==2
. jmp male female, ref(.)
{txt}
----------------------------------
I personaly use the White Background scheme in the viewer and results
window, thus I did not notice the mistake. The jmp help file will be
updated on SSC as soon as possible.
ben
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Steichen, Thomas J.
> Sent: Thursday, January 27, 2005 9:40 PM
> To: [email protected]
> Subject: RE: st: Corrupt display of helpfiles in the Viewer
>
>
> The problems reported about Ben Jann's jmp.hlp file
> do not appear to be a viewer problem; rather, they
> appear to result from a formatting problem within
> the help file. The "Examples" section of the file
> is formatted as follows:
>
> ----------------------------------
> {title:Examples}
>
> {p 4 4 2} Decomposition of the gender wage gap using the
> residuals/prices
> of the male model as benchmark:
>
> {com}. regress lnwage educ exp exp2 if sex==1
> . estimates store male
> . regress lnwage educ exp exp2 if sex==2
> . estimates store female
> . jmp male female, statistics(mean median)
>
> {p 4 4 2} ... subdividing the quantity effect Q between
> education and experience:
>
> {com}. jmp male female, blocks(educ=educ, exp=exp*)
>
> {p 4 4 2} ... using a the average residual distribution and
> the prices of
> a pooled model as benchmark:
>
> . regress lnwage educ exp exp2 if sex==1 | sex==2
> . jmp male female, ref(.)
> -----------------------------------
>
> I suspect the first error is in the accidental substitution
> of {com} for {cmd} to format "command" language above.
> Secondly, even if {com} had been a viable substitute for {cmd},
> it is not structured correctly. The correct general form is:
> {directive: text to be formatted}
> That is, a brace followed by the directive, followed by a colon,
> followed by the text to be formatted, followed by a closing brace.
>
> Substituting {cmd} for {com} and formatting it correctly,
> as below, results in proper display in both the Stata Results
> Window and Viewer.
>
> -----------------------------------
> {title:Examples}
>
> {p 4 4 2} Decomposition of the gender wage gap using the
> residuals/prices
> of the male model as benchmark:
>
> {cmd:. regress lnwage educ exp exp2 if sex==1}
> {cmd:. estimates store male}
> {cmd:. regress lnwage educ exp exp2 if sex==2}
> {cmd:. estimates store female}
> {cmd:. jmp male female, statistics(mean median)}
>
> {p 4 4 2} ... subdividing the quantity effect Q between
> education and experience:
>
> {cmd:. jmp male female, blocks(educ=educ, exp=exp*)}
>
> {p 4 4 2} ... using a the average residual distribution and
> the prices of
> a pooled model as benchmark:
>
> {cmd:. regress lnwage educ exp exp2 if sex==1 | sex==2}
> {cmd:. jmp male female, ref(.)}
> ------------------------------------
>
> Tom
>
> Thomas J. Steichen
> [email protected]
> --------------------------------------------------------------
> --------------
> Facts do not cease to exist because they are ignored. -
> Aldous Huxley
> --------------------------------------------------------------
> --------------
>
*
* 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/