Re: [R] exponent confusion

2006-02-22 Thread Phineas Campbell
-0.7^1.22 [1] -0.6471718 (-0.7)^1.22 NaN Arithmetically this makes perfect sense, syntactically I'm not sure it does. z-c(-0.7) z == -0.7 [1] TRUE z^1.22 [1] NaN I remember a programming homily: if you are unsure of the operator precedence then you shouldn't assume the person who has to

Re: [R] Unable to configure R 2.2.1 on Solaris 5.10 x86_64

2006-02-21 Thread Phineas Campbell
are unable to do this I would suggest that you build GCC from sources, and rather than use the Sun Software companion disk download the most recent versions of the various libraries and utilities from www.sunfreeware.com. HTH Phineas Campbell Birkbeck College University of London

Re: [R] Generating random walks

2006-02-15 Thread Phineas Campbell
cumsum(rnorm(100)+c) HTH phineas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of oliver wee Sent: Wednesday, February 15, 2006 12:41 PM To: r-help@stat.math.ethz.ch Subject: [R] Generating random walks Hello, here is another question, how do I generate

Re: [R] Generating random walks

2006-02-15 Thread Phineas Campbell
In retrospect x-cumsum(rnorm(n=100, mean=c)) will probably work quicker Phineas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Phineas Campbell Sent: Wednesday, February 15, 2006 1:01 PM To: 'R-Help Subject: Re: [R] Generating random walks

Re: [R] Learning - Example programs

2006-01-28 Thread Phineas Campbell
Typing the function name at the prompt prints that body of the function. By working thrugh the steps in the boot function, helped me both understand the way the bootstrap works and write better R code. Phineas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf

[R] Stochastic Volatility

2005-11-05 Thread Phineas Campbell
the literature has drifted back toward less satisfactory GARCH and EGARCH models? This question is somewhat moot as if I choose to pursue this I will implement a model myself. Phineas Campbell __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] class 'named'

2005-08-26 Thread Phineas Campbell
I'm working through the examples in Venables and Ripley in the 'New-style Classes' chapter. On a call to representation, in the lda example, it is unable to find the class named. Is the class named defined anywhere? I've loaded the library methods but this hasn't helped. Phineas Campbell

Re: [R] STAR models estimation with R

2005-06-28 Thread Phineas Campbell
or paper. Hamilton, see Time Series Analysis, uses the EM algorithm to estimate such models so it should be possible to do in R. HTH Phineas Campbell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of noomen ajmi Sent: Tuesday, June 28, 2005 8:44 AM To: r-help

[R] Syntax error with .First.lib

2005-06-21 Thread Phineas Campbell
solaris2.9 system sparc, solaris2.9 status major2 minor0.1 year 2004 month11 day 15 language R Phineas Campbell [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

RE: [R] Solaris 10 on amd and R-2.1.0

2005-05-12 Thread Phineas Campbell
This might solve your problem without helping. Having spent I bit of time trying to build R with the pkgadd version of GCC from Sunfreeware and not getting anywhere I downloaded the source for GCC 3.4.2 and built this, then used this to build R. Everything worked fine. HTH Phineas

RE: [R] Re: A somewhat off the line question to a log normal distribution

2004-12-02 Thread Phineas Campbell
to loose by logging the data. Phineas Campbell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vito Ricci Sent: Thursday, December 02, 2004 10:08 AM To: [EMAIL PROTECTED] Subject: [R] Re: A somewhat off the line question to a log normal distribution Dear

[R] Empirical P Value

2004-10-26 Thread Phineas Campbell
month06 day 21 language R Phineas Campbell __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

RE: [R] off topic publication question

2004-06-08 Thread Phineas Campbell
that the use of we for single author papers is not universal. HTH Phineas Campbell http://www.phineas.pwp.blueyonder.co.uk/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Erin Hodgess Sent: Tuesday, June 08, 2004 6:11 PM To: [EMAIL PROTECTED] Subject: [R] off

RE: [R] applying data generating function

2004-03-07 Thread Phineas Campbell
It may be possible to do this without a loop but I haven't found a way ###Generate an array of 100 N(0,1) RVs z-rnorm(100) ###Build the array to store output x-vector(length=100) ###Create initial value x[1]-z[1] ###Loop though building series for(i in 2:100){