Re: [R] Rollapply

2010-01-14 Thread Brecknock, Peter
pred2) Thanks Gabor. -Original Message- From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] Sent: Wednesday, January 13, 2010 4:02 PM To: Brecknock, Peter Cc: r-help@r-project.org Subject: Re: [R] Rollapply See: http://tolstoy.newcastle.edu.au/R/help/04/03/1446.html On Wed, Jan 13,

[R] ARIMA, xreg and intercepts

2009-11-09 Thread Brecknock, Peter
David Stoffer describes some challenges with R's output when fitting ARIMA models for different orders (see Issue 2 at http://www.stat.pitt.edu/stoffer/tsa2/Rissues.htm). R doesn't fit an intercept in the model if there is any differencing. David describes a workaround using the xreg parameter to f

Re: [R] lm output

2009-10-09 Thread Brecknock, Peter
Fair point. Thanks. -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Friday, October 09, 2009 5:02 PM To: Brecknock, Peter Cc: Daniel Malter; r-help@r-project.org Subject: Re: [R] lm output On Oct 9, 2009, at 5:45 PM, Brecknock, Peter wrote: > Dan

Re: [R] lm output

2009-10-09 Thread Brecknock, Peter
sense to me ... the best estimate of y would be its mean for any value of x. Kind regards Pete -Original Message- From: Daniel Malter [mailto:dan...@umd.edu] Sent: Friday, October 09, 2009 4:24 PM To: Brecknock, Peter; r-help@r-project.org Subject: AW: [R] lm output That comes out as

[R] lm output

2009-10-09 Thread Brecknock, Peter
Hi All I am running a linear regression using the lm object. In the event that my independent variable is the same across all observations the regression slope is returned as an NA. For example, if I have the following y=c(10,12,17) x=c(5,5,5) lm = lm(y~x) produces the following Coefficient

[R] RExcel/ RCom

2009-07-09 Thread Brecknock, Peter
Hi All Apologies if this is not the correct mailing list for this question. I have installed RExcel and RCom from CRAN. R is indicating that I need an additional file/package "statconnDCOM" from rcom.univie.ac.at I have been trying to access this website over the last 2 days be it appears to

[R] Optimization Question

2009-06-11 Thread Brecknock, Peter
Hi All Apologies if this is not the correct list for this question. The Rglpk package offers the following example in its documentation library(Rglpk) ## Simple mixed integer linear program. ## maximize: 3 x_1 + 1 x_2 + 3 x_3 ## subject to: -1 x_1 + 2 x_2 + x_3 <= 4 ## 4 x_2 - 3 x_3 <= 2 ## x