Hipolito has a problem with -jmp-. Inspection of the trace
revealed that the error is produced by the -predict- routine,
which is internally called by -jmp-. The relevant part of the
trace is:
---begin predict ---
- version 7.0
- if _caller()<=5 | "`e(predict)'"=="" {
= if _caller()<=5 | "regres_p"=="" {
_predict `0'
}
- else {
- local v=_caller()
- version `v'
= version 8.199999999999999
invalid syntax
For some reason _caller() expands to 8.199... instead of 8.2
on Hipolito's system. My guess is, that the problem will
disappear once Stata is updated. Thus, my advice for Hipolito
is to -update all-. Please contact Stata technical support if
the problem persists.
ben
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Jann, Ben
> Sent: Wednesday, March 09, 2005 9:37 AM
> To: [email protected]
> Subject: st: RE: juhn-murphy-pierce decomposition
>
>
> Hipolito wrote:
> > When I use the jmp ado-file to carry out the juhn-murphy-pierce
> > decomposition, I always get an 'invalid syntax' error. Below
> > there is an
> > example:
> > reg lnsalhora ant* if dhombre==1
> > estimates store dhombre
> > reg lnsalhora ant* if dmujer==1
> > estimates store dmujer
> > jmp dhombre dmujer, statistics(mean)
> > (invalid syntax)
>
> This is puzzeling. Hipolito, can you please execute the
> following commands
>
> reg lnsalhora ant* if dhombre==1
> estimates store dhombre
> reg lnsalhora ant* if dmujer==1
> estimates store dmujer
> set trace on
> jmp dhombre dmujer, statistics(mean)
>
> and then send me the log file (or the contents of the results
> window) off-list ([email protected])?
>
> ben
>
>
> *
> * 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/
>
*
* 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/