Re: [R] how to control the sampling to make each sample unique

2007-05-10 Thread HelponR
4000 integers. > And if it did happen, it wouldn't make the slightest > difference to your results. > > Rory > > > > - Original Message - > *From:* HelponR <[EMAIL PROTECTED]> > *To:* Rory Martin <[EMAIL PROTECTED]> > *Cc:* r-help@stat.math.

Re: [R] how to control the sampling to make each sample unique

2007-05-10 Thread HelponR
gt; make the different training samples disjoint, if that's what you meant by > them being "unique". Or were you using it to mean "identical"? > > Regards > Rory Martin > > > > From: HelponR Date: Wed, 09 May 2007 17:28:19 > > > > I hav

[R] how to control the sampling to make each sample unique

2007-05-09 Thread HelponR
I have a dataset of 1 records which I want to use to compare two prediction models. I split the records into test dataset (size = ntest) and training dataset (size = ntrain). Then I run the two models. Now I want to shuffle the data and rerun the models. I want many shuffles. I know that the

[R] treenet

2007-04-03 Thread HelponR
Hi, Anybody used treenet here? I downloaded a demo but don't know how to start with. Does R has something like treenet? Thanks, [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] nonparametric significance test for one sample

2006-12-22 Thread HelponR
Seems there is an exact non-parametric Bayes test for mean of non-negative numbers as said on http://www.toad.net/~jkaplan2/martMean.htm<http://www.toad.net/~jkaplan2/martMean.htm#From%20bins> I will check if R may have such package. On 12/22/06, Ben Bolker <[EMAIL PROTECTED]> wrote:

Re: [R] nonparametric significance test for one sample

2006-12-22 Thread HelponR
be verified. Many thanks, S On 12/20/06, HelponR <[EMAIL PROTECTED]> wrote: > > Many thanks. Thanks again for the idea of testing the mean zero for > nonnegative numbers. It is super. > > On 12/20/06, Greg Snow <[EMAIL PROTECTED]> wrote: > > > > > >

[R] Fwd: nonparametric significance test for one sample

2006-12-19 Thread HelponR
-- Forwarded message -- From: HelponR <[EMAIL PROTECTED]> Date: Dec 19, 2006 9:28 AM Subject: nonparametric significance test for one sample To: r-help Hello, Gurus: I tried to test if the sample mean of a dataset is zero. The data has 1500 numbers with a lot of zeros an

[R] nonparametric significance test for one sample

2006-12-19 Thread HelponR
Hello, Gurus: I tried to test if the sample mean of a dataset is zero. The data has 1500 numbers with a lot of zeros and some small positive numbers. The data range on [0,1] but the distribution is unknown. It is zero inflated anyway. I tried to use the Wilcoxon Signed Ranks test. But I read fr

Re: [R] can lm() automatically take in the independent variables without knowing the names in advance

2006-10-07 Thread HelponR
;fo[[2]] <- as.name(response) >eval(substitute(lm(fo, DF))) > } > > # test > run.lm(iris) > run.lm(iris, "Sepal.Width") > > > Another possibility is to rename the first column: > > On 10/7/06, HelponR <[EMAIL PROTECTED]> wrote: >

[R] can lm() automatically take in the independent variables without knowing the names in advance

2006-10-07 Thread HelponR
Hello! I am trying to use lm to do a simple regression but on a batch of different files. Each file has different column names. I know the first column is the dependent variable and all the rest are explanatory variables. The column names are in the first line of the file. But it seems lm() re

[R] Does logistic regression require the independence of samples?

2006-04-03 Thread HelponR
Dear list: Thanks a lot for help. I have a question and I could not find clear answers easily. When we do logistic regression for one type of events of interest as a proportion of a broader types of events, does the logistic regression assume that the number of whole types of events should be ind