[R] Randomisation tests

2011-04-07 Thread Ben Ward
Hi, I want to ue a randomisation test, to compare two sample means, for a small set of data, I've looked at towt.permutation, perm.test and permtest, as well as permTS(), which is the best one to use for such a simple purpose? I know perm.test package isn't used anymore and coins recommended,

Re: [R] Libraries issue

2011-03-19 Thread Ben Ward
Hi, Got it fixed now, thanks everyone, still confused as to why it's never done that before, but at least it's fine now. Ben W. On 19/03/2011 19:38, Henrik Bengtsson wrote: Hi. On Sat, Mar 19, 2011 at 12:17 PM, peter dalgaard wrote: On Mar 19, 2011, at 17:37 , Ben Ward wrote:

[R] Libraries issue

2011-03-19 Thread Ben Ward
Hi, I've just discovered R keeps installing my packages into C:\Users\Ben instead of "C:\\Users\\Ben;/R/win-library/2.12" which is what is returned by running Sys.getenv("R_LIBS_USER"). I've tried setting environment variables in windows control panel of R_LIBS. But nothing seems to be worki

[R] Non-constancy of variances in mixed model.

2011-03-13 Thread Ben Ward
Hi, I've been doing an experiment, measuring the dead-zone-diameters of bacteria, when they've been grown with paper diffusion disks of antimicrobial. There are two groups, or treatments - one is bacteria that have been cultured in said antimicrobial for the past year, the other group is of the

Re: [R] R and Android

2011-03-02 Thread Ben Ward
Is there really one for the iphone? As far as I was aware, apple had beef about their policy agreements and the fact such software is open source/free as in freedom. I actually expected the situation would be the other way round: console for android but none for iphone? Ben W. On 02/03/2011 1

Re: [R] [R-sig-ME] Fwd: Re: ANOVA and Pseudoreplication in R

2011-02-27 Thread Ben Ward
7;s been a little experimental in places, in having to adapt the methodology if a certain issue of practicality arose. But it's nearly done now. Thanks, Ben W. At 10:44 AM 2/26/2011, Ben Ward wrote: On 25/02/2011 21:22, Ben Ward wrote: Original Message Subject:

Re: [R] [R-sig-ME] Fwd: Re: ANOVA and Pseudoreplication in R

2011-02-26 Thread Ben Ward
On 25/02/2011 21:22, Ben Ward wrote: Original Message Subject:Re: [R] ANOVA and Pseudoreplication in R Date: Fri, 25 Feb 2011 12:10:14 -0800 From: Bert Gunter To: Ben Ward CC: r-help I can hopefully save bandwidth here by suggesting that this belongs on

[R] ANOVA and Pseudoreplication in R

2011-02-25 Thread Ben Ward
Hi, As part of my dissertation, I'm going to be doing an Anova, comparing the "dead zone" diameters on plates of microbial growth with little paper disks "loaded" with antimicrobial, a clear zone appears where death occurs, the size depending on the strength and succeptibility. So it's basicall

Re: [R] Confidence Intervals on Standard Curve

2011-02-20 Thread Ben Ward
On 20/02/2011 18:52, David Winsemius wrote: On Feb 20, 2011, at 1:27 PM, Ben Ward wrote: However, the Y ~ X + Y^2 Produces the best fitting line - it is pretty much on the data points - I'm trying to make a standard curve, with which to take readings from a spectrophotometer o

Re: [R] Confidence Intervals on Standard Curve

2011-02-20 Thread Ben Ward
It is, I tried a glm with a poisson distribution, as was suggested to me previously, but the Residual Deviance was too high - the book I'm reading says it suggests overdispersion because it's way above the Residual degrees of freedom: glm(formula = Approximate.Counts ~ X..Light.Transmission, f

Re: [R] Confidence Intervals on Standard Curve

2011-02-19 Thread Ben Ward
ogy student so stats and hypothesis testing is taught, but doing this standard curve is unprecedented in my work so far, normally lm() and anova and such is enough. Thanks, Ben. On 19/02/2011 19:06, David Winsemius wrote: On Feb 19, 2011, at 1:08 PM, Ben Ward wrote: Hi Graham, Thanks, th

Re: [R] Confidence Intervals on Standard Curve

2011-02-19 Thread Ben Ward
curate, within the range I will most likely be using it. Thanks, Ben. On 19/02/2011 15:39, Graham Smith wrote: > Ben, > > Does this help. > > http://r-eco-evo.blogspot.com/2011/01/confidence-intervals-for-regression.html > > Not sure if it will work with your particular model, but

Re: [R] Confidence Intervals on Standard Curve

2011-02-19 Thread Ben Ward
I've just realised the couple of graphs I put on here have been stripped off. If anyone has to see them and can't see my problem from code, I can send them directly to anyone who thinks they can help but wants to see them. Thanks, Ben W. On 18/02/2011 23:29, Ben Ward wrote: Hi, I

[R] Confidence Intervals on Standard Curve

2011-02-18 Thread Ben Ward
e well, but not as good squaring Approximate Counts does: model <- lm(Approximate.Counts~X..Light.Transmission + I(X..Light.Transmission^2), data=Standards) Any advice is greatly appreciated, it's the first time I've really had to look at regression with data in my coursework that i

Re: [R] Assumptions for ANOVA: the right way to check the normality

2011-01-07 Thread Ben Ward
: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Ben Ward Sent: Thursday, January 06, 2011 2:00 PM To: r-help@r-project.org Subject: Re: [R] Assumptions for ANOVA: the right way to check the normality On 06/01/2011 20:29, Greg Snow wrote: Some would argue to alw

Re: [R] Assumptions for ANOVA: the right way to check the normality

2011-01-06 Thread Ben Ward
On 06/01/2011 20:29, Greg Snow wrote: > Some would argue to always use the kruskal wallis test since we never know > for sure if we have normality. Personally I am not sure that I understand > what exactly that test is really testing. Plus in your case you are doing a > two-way anova and krusk

[R] Splitting a Vector

2011-01-06 Thread Ben Ward
of task in mind? Thanks, Ben Ward. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Simulation - Natrual Selection

2011-01-05 Thread Ben Ward
On 05/01/2011 17:40, Bert Gunter wrote: My hypothesis was specified before I did my experiment. Whilst far from perfect, I've tried to do the best I can to assess rise in resistance, without going into genetics as it's not possible. (Although may be at the next institution I've applied for MSc).

[R] Fwd: Re: Simulation - Natrual Selection

2011-01-05 Thread Ben Ward
Original Message Subject:Re: [R] Simulation - Natrual Selection Date: Wed, 05 Jan 2011 17:24:05 + From: Ben Ward To: Bert Gunter CC: Mike Marchywka On 05/01/2011 17:08, Bert Gunter wrote: > Couple of brief comments inline below. -- Bert >

Re: [R] Simulation - Natrual Selection

2011-01-05 Thread Ben Ward
On 05/01/2011 16:37, Mike Marchywka wrote: Date: Wed, 5 Jan 2011 15:48:46 + From: benjamin.w...@bathspa.org To: r-help@r-project.org Subject: [R] Simulation - Natrual Selection Hi, I've been modelling some data over the past few days, of my work, repeatedly challenging microbes to a ce

[R] Simulation - Natrual Selection

2011-01-05 Thread Ben Ward
Hi, I've been modelling some data over the past few days, of my work, repeatedly challenging microbes to a certain concentration of cleaner, until the required concentration to inhibit or kill them increaces, at which point they are challenged to a slightly higher concentration each day. I'm

Re: [R] Resampling to find Confidence intervals

2011-01-04 Thread Ben Ward
aults might be suitable for what I'm doing? On 04/01/2011 17:56, Ben Ward wrote: Ok I'll check I understand: So it's using sample, to resample d once, 10 values, because the rnorm has 10 values, with replacement (I assume thats the TRUE part). Then a for loop has this to resamp

Re: [R] Resampling to find Confidence intervals

2011-01-04 Thread Ben Ward
Ok I'll check I understand: So it's using sample, to resample d once, 10 values, because the rnorm has 10 values, with replacement (I assume thats the TRUE part). Then a for loop has this to resample the data - in the loop's case its 1000 times. Then it does a lm to get the coefficients and add

Re: [R] Writing do and resample functions

2011-01-04 Thread Ben Ward
understanding, the * is the problem because it hasn't got this .repeater value attributed to it? Thanks, Ben Ward. On 04/01/2011 12:30, Erich Neuwirth wrote: It seems that the textbook workspace you are using as a method definition for * for class repeater. Load the workspace and t

[R] Writing do and resample functions

2011-01-04 Thread Ben Ward
g functions in R than I do, that might know why this is giving me the error? I don't understand why one workspace would accept the model formula, when the other give me the non-numeric argument to binary vector, the only vector that's not numerical is Replicate, but I don't

[R] Resampling to find Confidence intervals

2011-01-03 Thread Ben Ward
hough I'm not used to doing this sort of operation in R so I don't want to do the wrong thing. If anyon could tell me if that would work or what I need to do instead I'd be eternally greatful. Thanks, Ben Ward. __ R-help@r-project.org ma

Re: [R] iPhone 3G App For R?

2011-01-02 Thread Ben Ward
On 02/01/2011 23:28, Mkip wrote: Does anyone know if a free iphone 3G app for R is available now? Thanks, Matilda Gogos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-pro