s-news
[Top] [All Lists]

[S] Loop in simulation

To: s-news@wubios.wustl.edu
Subject: [S] Loop in simulation
From: Jesús Asín <jasin@posta.unizar.es>
Date: Mon, 01 Mar 1999 20:07:26 +0100
Sender: owner-s-news@wubios.wustl.edu


        Hi! I'm working with S-Plus 4.5 and I try to simulate Markov chain 
paths of
lenght around 10000, using non-homogeneous transition probabilities. 

So far, I have use the the loop 'for', but this
results to be too slow.
        
I would like to know if there is a more efficient method in time.
I am thinking about something similar to a C routin,
like 'S_arimasim' used to simulate ARIMA models, where can I find the code
for this routine?

        Thanks in advance for your help.



-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Loop in simulation, Jesús Asín <=