search for: dsstoffer

Displaying 5 results from an estimated 5 matches for "dsstoffer".

2009 Oct 03
1
Multiple time series and their names
Suppose I have multiple time series with names for each one, for example, x <- ts(matrix(rnorm(30,0,1),10,3), names=c("Juan", "Tuey", "Trey"), frequency=4) So now, as I start to explore these series, if I do everything at once, the names stay attached to the series. For example, plot(x) # gives a plot of the series with their names acf(x) # gives the ACFs &
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
.../mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > ------------------------------ Message: 44 Date: Sun, 10 Feb 2008 18:12:01 -0800 (PST) From: dss <dsstoffer at gmail.com> Subject: Re: [R] Re gression with time-dependent coefficients To: r-help at r-project.org Message-ID: <15404399.post at talk.nabble.com> Content-Type: text/plain; charset=UTF-8 There's an example in our text: http://www.stat.pitt.edu/stoffer/tsa2 Time Series Analysis a...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...roducible code. > -- Spencer Graves, PE, PhD President and Chief Operating Officer Structure Inspection and Monitoring, Inc. 751 Emerson Ct. San Jos?, CA 95126 ph: 408-655-4567 ------------------------------ Message: 139 Date: Mon, 22 Nov 2010 20:29:11 -0800 (PST) From: David Stoffer <dsstoffer at gmail.com> To: r-help at r-project.org Subject: Re: [R] Is it possible to make a matrix to start at row 0? Message-ID: <1290486551690-3054829.post at n4.nabble.com> Content-Type: text/plain; charset=us-ascii bogdanno-2 wrote: > > I want to make the matrix to be indexed from ro...
2008 Nov 03
1
array in version 2.8.0
What happened? TIA. In version 2.7.x: > (x <- array(1:4, c(2,2))) [,1] [,2] [1,] 1 3 [2,] 2 4 > as.array(x) [,1] [,2] [1,] 1 3 [2,] 2 4 In version 2.8.0: > (x <- array(1:4, c(2,2))) [,1] [,2] [1,] 1 3 [2,] 2 4 > as.array(x) Error: evaluation nested too deeply: infinite recursion / options(expressions=)? ----- The power
2008 Jul 11
1
Comparing complex numbers
Is there an easy way to compare complex numbers? Here is a small example: > (z1=polyroot(c(1,-.4,-.45))) [1] 1.111111-0i -2.000000+0i > (z2=polyroot(c(1,1,.25))) [1] -2+0i -2+0i > x=0 > if(any(identical(z1,z2))) x=99 > x [1] 0 # real and imaginary parts: > Re(z1); Im(z1) [1] 1.111111 -2.000000 [1] -8.4968e-21 8.4968e-21 > Re(z2); Im(z2) [1] -2