Dear All,

I want to create a loop within a function r. The example follows:

Box.test (lfut, lag = 1, type="Ljung")

if i want to compute the Box.test for lag 1 to 10, I have to write manually
 change each time for different lag. So i wan to write a loop for the lag 1
to 10 and return the statistics for each lag. Is there any method to do this
?

With regards,
Upananda

-- 


You may delay, but time will not.


Research Scholar
alternative mail id: upani@iitkgp.ac.in
Department of HSS, IIT KGP
KGP

	[[alternative HTML version deleted]]

