[R] R question

2007-05-04 Thread Bill Vorias
I had a question about Random Forests. I have a text file with 10 dichotomous variables and a bivariate response vector. I read this file into R as a data frame, and then used the command randomForest(Response ~., dataset, etc.. where Response is the column header of the response variable and

Re: [R] R question

2007-05-04 Thread Marc Schwartz
On Fri, 2007-05-04 at 12:05 -0500, Bill Vorias wrote: I had a question about Random Forests. I have a text file with 10 dichotomous variables and a bivariate response vector. I read this file into R as a data frame, and then used the command randomForest(Response ~., dataset, etc.. where

Re: [R] R question [Broadcast]

2007-05-04 Thread Liaw, Andy
Bill, A couple more points: 1. Please use an informative subject line. I'd deleted the original post w/o reading if I didn't catch Marc's reply. 2. Are you sure you have bivariate response? To me bivariate means two variables, and randomForest surely does not handle that (at least

[R] R-question

2006-09-13 Thread Thorsten Muehge
Hello Colleagues, I programmed in SAS for 3 years and would like to switch to a not so costly software product. Hence I started to evaluate R, and my first test look promising. However I have some question: 1. Is it possible to query R files by SQL internally on data frames (not on a

Re: [R] R-question

2006-09-13 Thread Jim Lemon
Thorsten Muehge wrote: Hello Colleagues, I programmed in SAS for 3 years and would like to switch to a not so costly software product. Hence I started to evaluate R, and my first test look promising. However I have some question: 1. Is it possible to query R files by SQL internally

Re: [R] R-question

2006-09-13 Thread Anupam Tyagi
Thorsten Muehge MUEHGE at de.ibm.com writes: 1. Is it possible to query R files by SQL internally on data frames (not on a database) and how is the syntax (I have the RODBC package installed). It is possible to do similar things conceptually in R as in SQL---at least the basic SQL queries (I

Re: [R] R-question

2006-09-13 Thread Wensui Liu
For your 1st question, you can write query against the tables in DB using RODBC. Being a SAS programmer, I have to say that reporting function of R is not as good as that of SAS. On 9/13/06, Thorsten Muehge [EMAIL PROTECTED] wrote: Hello Colleagues, I programmed in SAS for 3 years and

Re: [R] R-question

2006-09-13 Thread Frank E Harrell Jr
Wensui Liu wrote: For your 1st question, you can write query against the tables in DB using RODBC. Being a SAS programmer, I have to say that reporting function of R is not as good as that of SAS. I beg to differ. See for example http://biostat.mc.vanderbilt.edu/StatReport Frank Harrell

Re: [R] R-question

2006-09-13 Thread Wensui Liu
well, Harrell, I understand sweave or R2html could be a solution. but please show me their applications in a large business setting. On the contrary, I can give you many such cases using SAS. On 9/13/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: Wensui Liu wrote: For your 1st question,

Re: [R] R-question

2006-09-13 Thread Frank E Harrell Jr
Wensui Liu wrote: well, Harrell, I understand sweave or R2html could be a solution. but please show me their applications in a large business setting. On the contrary, I can give you many such cases using SAS. SAS requires much more coding than R/S-Plus to produce reports that are not

Re: [R] R-question

2006-09-13 Thread Greg Snow
[EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thorsten Muehge Sent: Wednesday, September 13, 2006 4:18 AM To: r-help@stat.math.ethz.ch Subject: [R] R-question Hello Colleagues, I programmed in SAS for 3 years

Re: [R] r question

2005-11-27 Thread Uwe Ligges
Please, 1. read the posting guide 2. use a sensible subject line 3. this is NOT an r question 4. ask your teacher to explain your homeworks, but not this list Uwe Ligges yuying shi wrote: If there are two random variable X1 and X2 which have a bivariate normal distribution with mean vector

Re: [R] r question

2005-11-27 Thread Peter Dalgaard
Uwe Ligges [EMAIL PROTECTED] writes: Please, 1. read the posting guide 2. use a sensible subject line 3. this is NOT an r question 4. ask your teacher to explain your homeworks, but not this list Uwe Ligges And, btw, neither the mean nor the variance exists, so the question is

[R] r question

2005-11-26 Thread yuying shi
If there are two random variable X1 and X2 which have a bivariate normal distribution with mean vector (10, 10)and variance covariance matrix [21.95 1.953] How to calculate the mean and variance of the function Y=X1/X2? Thanks a lot! xingyu

[R] R question

2004-09-05 Thread house-ball
Hi, Would you help me solve the following question? Thanks. my program is as follows: library(mvtnorm) value-pmvnorm(lower=-Inf, upper=-2.178, mean=0, sigma=1)+ pmvnorm(lower=2.178, upper=Inf, mean=0, sigma=1)+

Re: [R] R question

2004-09-05 Thread Kjetil Brinchmann Halvorsen
house-ball wrote: Why do you repeat an unclear question fou times? Please read the posting guide. It is not clear what is your problem. Kjetil halvorsen Hi, Would you help me solve the following question? Thanks. my program is as follows: library(mvtnorm) value-pmvnorm(lower=-Inf,

[R] R question

2004-09-04 Thread house-ball
Hi, Would you help me solve the following question? Thanks. Question: If I try to set the probability=0.05 and find the approximate x. (The answer should be somewhere between 2.1782 and 2.1783.) I write about this R program as follows but I don¡¦t know how to get the value of x which is

Re: [R] R question

2004-09-04 Thread Kjetil Brinchmann Halvorsen
house-ball wrote: Hi, Would you help me solve the following question? Thanks. Question: If I try to set the probability=0.05 and find the approximate x. (The answer should be somewhere between 2.1782 and 2.1783.) I write about this R program as follows but I don¡¦t know how to get the value of x

[R] R question

2004-09-03 Thread house-ball
Hi, Would you help me solve the following question? Thanks. Question: If I try to set the probability=0.05 and find the approximate x. (The answer should be somewhere between 2.1782 and 2.1783.) I write about this R program as follows but I don¡¦t know how to get the value of x which is

[R] R question......

2004-07-30 Thread rebhi bsharat
Hi; Is there a faster way to run this code? Ab- matrix(numeric(1),nrow=2,ncol=1000) Bb- matrix(numeric(1),nrow=2,ncol=1000) for(j in 1:1000) { for(i in 1:1000) { eq- sample(stud,replace=T) ystar- beta.r*x+eq+b0 Ab[,i]- wwfit(x,ystar)$coef

[R] R question about spectrum metric

2004-07-17 Thread Niels Waller
Dear R community, I would like to conduct a simulation study that involves the generation and recovery of times series spectra. Spectrum analysis is a new area for me so I am very much in the crawling stage at this point. I am having difficulty understanding the output of the spec.pgram (or

Re: Data Frame (was: Re: [R] r-question

2003-07-13 Thread Spencer Graves
to read in a data set as a data frame from an external package? On Sat, 12 Jul 2003, dg gdf wrote: Date: Sat, 12 Jul 2003 22:09:59 -0700 (PDT) From: dg gdf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [R] r-question I am student in Iran(IUT) that work on R software as my project. I need

[R] r-question

2003-07-12 Thread dg gdf
I am student in Iran(IUT) that work on R software as my project. I need to some data frames in version 1.7.0, but these are not available. please help me. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] r-question

2003-07-12 Thread Marc R. Feldesman
At 10:09 PM 7/12/2003, dg gdf wrote: I am student in Iran(IUT) that work on R software as my project. I need to some data frames in version 1.7.0, but these are not available. please help me. __ It isn't clear exactly what help you need. We are most