Displaying 3 results from an estimated 3 matches for "ommmmmmmmmmmmmmmmmm".
Did you mean:
ommmmmmmmmmmmmmmmm
2009 May 28
2
Replace is leaking?
Okay, someone explain this behaviour to me:
Browse[1]> replace(rep(0, 4000), temp1[12] , temp2[12])[3925]
[1] 0.4462404
Browse[1]> temp1[12]
[1] 3926
Browse[1]> temp2[12]
[1] 0.4462404
Browse[1]> replace(rep(0, 4000), 3926 , temp2[12])[3925]
[1] 0
For some reason, R seems to shift indices along when doing this replacement.
Has anyone encountered this bug before? It seems to crop up
2011 Nov 22
1
arima.sim: innov querry
Apologies for thickness - I'm sure that this operates as documented and with good reason. However...
My understanding of arima.sim() is obviously imperfect. In the example below I assume that x1 and x2 are similar white noise processes with a mean of 5 and a standard deviation of 1. I thought x3 should be an AR1 process but still have a mean of 5 and a sd of 1. Why does x3 have a mean of ~7?
2009 Jun 01
1
installing sn package
...gt; temp1 <- sample(1:10000,20)
> temp2 <- runif(20)
> temp1[12] <- 3926
> temp2[12] <- 0.4462404
> temp1[12]
[1] 3926
> temp2[12]
[1] 0.4462404
> xxx <- replace(rep(0, 4000), temp1[12] , temp2[12])
> xxx[3925]
[1] 0
> xxx[3926]
[1] 0.4462404
OMMMMMMMMMMMMMMMMMM!
cheers,
Rolf Turner
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
------------------------------
Message: 122
Date: Wed, 27 May 2009 21:38:41 -0400
From: jim holtman <jholtman@gm...