Displaying 4 results from an estimated 4 matches for "nosim".
Did you mean:
nosimd
2005 Oct 10
5
Show Progress in loop
...ve some feedback on where it is in it's
calculations. I tried to simply show the counter variable in the loop,
but id doesn't work as all display seems to be delayed until the loop is
completed. Is there any way of displaying the progress of a loop?
Rainer
The loop:
for (i in 2:Result$NoSims)
{
ppp <- runifpoint(Result$NoPlants)
K <- Kest(ppp)
Result$LSim[i,] <- sqrt(K$iso / pi) - K$r
CM <- (Result$LSim[i,] * Result$LSim[i,]) / abs(K$r[2] - K$r[1])
Result$SigCM[i] <- sum(CM, na.rm=TRUE)
i #<========================Doesn't display in the loop
}
--
Rainer...
2005 Oct 10
3
Vectorizing loop
Hi
I have the following loop and would like to vectorize it. Any ideas if
it is possible?
Thanks,
Rainer
Tha Loop:
for (i in 2:Result$NoSims)
{
ppp <- runifpoint(Result$NoPlants)
K <- Kest(ppp)
Result$LSim[i,] <- sqrt(K$iso / pi) - K$r
CM <- (Result$LSim[i,] * Result$LSim[i,]) / abs(K$r[2] - K$r[1])
Result$SigCM[i] <- sum(CM, na.rm=TRUE)
print(i)
flush.console()
}
--
NEW TELEPHONE NUMBER
Tel: +27 - (0)72...
2009 Feb 24
0
Wavelet Bootstrap Size Simulation
...<- y.dwt
for (i in 1:(length(y.dwt)-1)) {
resample.dwt[[i]] <- sample(y.dwt[[i]]*infl, replace = TRUE)
}
idwt(resample.dwt)
}
#The simulation:
arcoeff<-.9 #AR(1) Coefficient
T<-128 #Realization Length
bsreps<-300 #Number of Bootstrap Replicates used for test
nosims<-20 #Number of Simulations
wspval<-rep(0,nosims) #initialize vector of p-values
#outer loop for recording calculated p-values
for (j in 1:nosims){
series<-arima.sim(T, model=list(ar=arcoeff)) #series would be the observed
AR(1) series
test<-mos(series,1:length(series)) #observed val...
2005 Mar 04
0
OW #10.08 - Offers too good to be true
...oksellers http://www.woodyswatch.com/l.asp?0764567616 or try our new online store http://shop.woodyswatch.com
_______
4. PUBLISHER 2003 FOR $50
Much as I hate mail-in rebates, the bottom line on this offer from Amazon is pretty good.
http://www.amazon.com/exec/obidos/tg/detail/-/B0000BZM38/ref=nosim/woodsoffiwatcwoo
Publisher normally sells for US$169 and Amazon offers it for US$130 but then there's mail-in rebates amounting to $80 making the final price only $50.
If you're willing to wait and live in hope of receiving the pesky rebates then it's a good deal, but rebates are so u...