s-news
[Top] [All Lists]

Another S+ Controlling Question

To: s-news@lists.biostat.wustl.edu
Subject: Another S+ Controlling Question
From: Cheng Peng <chpeng@math.utoledo.edu>
Date: Fri, 15 Nov 2002 23:43:12 -0600
Hi, all,
 
I am using S+ to bootstrap the p-value of a proposed test statistic without analytic distribution. For each bootstrap sample, I have to find solutions to the score equations. Here comes the problem:
 
I use Quasi-Newton algorithm, for some of the bootstrap samples, when the s+ calls Fortran function, I got following message from the system and program cracked down:
-----------------------------------------------------------------------------
 Error in .Fortran(if(!cmplx) "dqr" else "zqr",: subroutine dqr: 25 missing value(s) in argument 1
-----------------------------------------------------------------------------
When I use try() function and try to terminate the current loop to generate next bootstrap sample, the system gives another message:
--------------------------------------------------------
the object cmplx cannot be found.
--------------------------------------------------------
Is there any control statement or function can be used here in case we confront such error, we can terminate the current loop and go to next bootstrap sample without re-running the whole program.
 
 
Thank you!
 
 
Cheng Peng
<Prev in Thread] Current Thread [Next in Thread>