[R] two basic question regarding model selection in GAM

2007-06-22 Thread spime
Qusetion #1 * Model selection in GAM can be done by using: 1. step.gam {gam} : A directional stepwise search 2. gam {mgcv} : Smoothness estimation using GCV or UBRE/AIC criterion Suppose my model starts with a additive model (linear part + spline part). Using gam() {mgcv} i got

Re: [R] two basic question regarding model selection in GAM

2007-06-22 Thread Simon Wood
On Friday 22 June 2007 09:18, spime wrote: Qusetion #1 * Model selection in GAM can be done by using: 1. step.gam {gam} : A directional stepwise search 2. gam {mgcv} : Smoothness estimation using GCV or UBRE/AIC criterion Suppose my model starts with a additive model (linear part +

[R] a basic question about standardization?

2006-02-15 Thread Michael
Hi all, I have a question about standardization. Suppose I have training data which is a X matrix, of size N x p, where N is the number of samples, p is the number of variables in the data set. Y is a response vector of size N x 1, each element correspoding to each row of the X matrix. I do

[R] A basic question

2004-11-30 Thread Kenneth
Hi R users: I want to know any experience compiling R in other LINUX distributions besides FEDORA (Red Hat) or Mandrake, for example in BSD, Debian, Gentoo, Slackware, vector LINUX, Knoppix, Yopper or CERN linux? Hope this is not a basic question Thank you for your help. Kenneth

Re: [R] A basic question

2004-11-30 Thread Douglas Bates
Kenneth wrote: I want to know any experience compiling R in other LINUX distributions besides FEDORA (Red Hat) or Mandrake, for example in BSD, Debian, Gentoo, Slackware, vector LINUX, Knoppix, Yopper or CERN linux? Hope this is not a basic question Thank you for your help. There is considerable

Re: [R] A basic question

2004-11-30 Thread Peter Dalgaard
Kenneth [EMAIL PROTECTED] writes: Hi R users: I want to know any experience compiling R in other LINUX distributions besides FEDORA (Red Hat) or Mandrake, for example in BSD, Debian, Gentoo, Slackware, vector LINUX, Knoppix, Yopper or CERN linux? Hope this is not a basic question BSD is

Re: [R] A basic question

2004-11-30 Thread Jari Oksanen
On Tue, 2004-11-30 at 13:58, Kenneth wrote: Hi R users: I want to know any experience compiling R in other LINUX distributions besides FEDORA (Red Hat) or Mandrake, for example in BSD, Debian, Gentoo, Slackware, vector LINUX, Knoppix, Yopper or CERN linux? Hope this is not a basic

Re: [R] A basic question

2004-11-30 Thread asemeria
, 48023 Marina di Ravenna (RA), Italy Tel. +39 544 536811 Fax. +39 544 538663 E-mail: [EMAIL PROTECTED] Kenneth [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 30/11/2004 12.58 To: [EMAIL PROTECTED] cc: Subject:[R] A basic question Hi R users: I want

Re: [R] A basic question

2004-11-30 Thread Andrew Robinson
R has compiled with no problem in FreeBSD. It is also included in the ports, thanks to its FreeBSD maintainer. Andrew On Tue, Nov 30, 2004 at 06:58:57AM -0500, Kenneth wrote: Hi R users: I want to know any experience compiling R in other LINUX distributions besides FEDORA (Red Hat) or

Re: [R] Gridbase basic question

2004-09-28 Thread Sean Davis
Paul, Thanks for the extensive and clear explanation. The reason I started with grid is that I am hoping to use a combination of segments, rectangles, and text to describe relatively complex (genes) objects that relate to the x-axis in a plot. I do appreciate the insight from you and

Re: [R] Gridbase basic question

2004-09-28 Thread Paul Murrell
Hi Sean Davis wrote: Paul, Thanks for the extensive and clear explanation. The reason I started with grid is that I am hoping to use a combination of segments, rectangles, and text to describe relatively complex (genes) objects that relate to the x-axis in a plot. I do appreciate the

Re: [R] Gridbase basic question

2004-09-27 Thread Paul Murrell
Hi Sean Davis wrote: All, I have a simple plot(x,y) and I would like to then insert rectangles of some length (in native coordinates) and height fixed to 0.5 in native coordinates. I can't quite get the code right to do this. Can anyone give me a quick example of how to do this? I looked

[R] Gridbase basic question

2004-09-23 Thread Sean Davis
All, I have a simple plot(x,y) and I would like to then insert rectangles of some length (in native coordinates) and height fixed to 0.5 in native coordinates. I can't quite get the code right to do this. Can anyone give me a quick example of how to do this? I looked the gridBase index

[R] plot.lm basic question

2004-08-26 Thread christian_mora
Hi all, Does anyone know how can I change the color of the 'captions' and 'point labels' in the plots obtained from plot.lm? Thanks for any hint Christian __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Proportions - basic question

2004-06-24 Thread Peyuco Porras Porras .
Hi, How can I get descriptive statitics (mean, se, etc) for a variable expressed in percentage? (like summary() for a continous var) Can I tell R to do that? Thank you PP __ [EMAIL PROTECTED] mailing list

Re: [R] Proportions - basic question

2004-06-24 Thread Rolf Turner
You wrote: How can I get descriptive statitics (mean, se, etc) for a variable expressed in percentage? (like summary() for a continous var) Can I tell R to do that? Percentages (and proportions) ***are*** continuous variates. cheers,

[R] A basic question ...

2004-03-03 Thread Ted Harding
Sorry to ask a question so basic that it's almost silly ... I have data which can be expressed in contingency table form as Factor1 Factor2 Counts1 Counts2 == AU nAU1 nAU2 AV nAV1 nAV2 AW nAW1 nAW2 B

[R] hist() basic question

2003-03-08 Thread juli g. pausas
Hi, This is a very basic question, but I would like to undestand hist(). I thought that the hist( , freq=FALSE) should provide the relative frequencies (probabilities), and so they should sum 1, however: set.seed(2) ah - hist(rnorm(100), freq=F) sum(ah$intensities) [1] 2 set.seed(2) bh -

Re: [R] hist() basic question

2003-03-08 Thread ripley
A histogram has area one, not sum one. From ?truehist Details: This plots a true histogram, a density estimate of total area 1. On Sat, 8 Mar 2003, juli g. pausas wrote: Hi, This is a very basic question, but I would like to undestand hist(). I thought that the hist( , freq=FALSE)

Re: [R] hist() basic question

2003-03-08 Thread Thomas Lumley
On Sat, 8 Mar 2003, juli g. pausas wrote: Hi, This is a very basic question, but I would like to undestand hist(). I thought that the hist( , freq=FALSE) should provide the relative frequencies (probabilities), and so they should sum 1, however: No, it provides probability *densities*, which

Re: [R] hist() basic question

2003-03-08 Thread Rishabh Gupta
--- Thomas Lumley [EMAIL PROTECTED] wrote: On Sat, 8 Mar 2003, juli g. pausas wrote: Hi, This is a very basic question, but I would like to undestand hist(). I thought that the hist( , freq=FALSE) should provide the relative frequencies (probabilities), and so they should sum 1,