[R] how to test difference in my case?

2006-12-27 Thread Xu Yuan
hello all, I wonder if anyone could give me a hint on which statistical technique I should use and how to carry it out in R in my case. Thanks in advance. My data is composed of two columns, the same numerical variable (continuous) from actual measurement and model prediction. My objective is to

Re: [R] How to test for significance of random effects?

2006-05-15 Thread Spencer Graves
statisticians may disagree with this, however. Dan Bebber Department of Plant Sciences University of Oxford Message: 12 Date: Sun, 07 May 2006 14:25:44 -0700 From: Spencer Graves [EMAIL PROTECTED] Subject: Re: [R] How to test for significance of random effects? To: Jon Olav Vik [EMAIL

Re: [R] How to test for significance of random effects?

2006-05-15 Thread Andrew Robinson
errors is broken. Real statisticians may disagree with this, however. Dan Bebber Department of Plant Sciences University of Oxford Message: 12 Date: Sun, 07 May 2006 14:25:44 -0700 From: Spencer Graves [EMAIL PROTECTED] Subject: Re: [R] How to test for significance of random

Re: [R] How to test for significance of random effects?

2006-05-08 Thread Dan Bebber
. Dan Bebber Department of Plant Sciences University of Oxford Message: 12 Date: Sun, 07 May 2006 14:25:44 -0700 From: Spencer Graves [EMAIL PROTECTED] Subject: Re: [R] How to test for significance of random effects? To: Jon Olav Vik [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Message-ID

Re: [R] How to test for significance of random effects?

2006-05-07 Thread Spencer Graves
1. Ignoring the complication of logistic regression, the anova(lme1,lm1) provides the answer you seek. See sect. 2.4 in Pinheiro and Bates for more detail on the approximations involved and how that answer can be refined using monte carlo. 2. With logistic regression,

[R] How to test for significance of random effects?

2006-05-06 Thread Jon Olav Vik
Dear list members, I'm interested in showing that within-group statistical dependence is negligible, so I can use ordinary linear models without including random effects. However, I can find no mention of testing a model with vs. without random effects in either Venable Ripley (2002) or

Re: [R] how to test robustness of correlation

2006-01-26 Thread yang . x . qiu
Subject RE: [R] how to test robustness of correlation check out cov.rob() in MASS (among others, I'm sure). The procedure is far more sophisticated than outlier removal or resampling (??). References are given in the docs. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco

Re: [R] how to test robustness of correlation

2006-01-26 Thread Berton Gunter
Below Hi, Berton: thanks for getting back to me. I played around cor.rob(). Yes, I can get a robust correlation coefficient matrix based on mcd or mve outlier detection methods. I have two further questions: 1) How do I get a p value of the robust r? A p-value for

Re: [R] how to test robustness of correlation

2006-01-26 Thread Berton Gunter
One more thing ... I played around cor.rob(). Yes, I can get a robust correlation coefficient matrix based on mcd or mve outlier detection methods. I have two further questions: You might call it semantics, but I prefer resistant estimation to outlier detection methods. I recognize

Re: [R] how to test robustness of correlation

2006-01-26 Thread Gabor Grothendieck
The cor function can do spearman correlation using method = spearman . On 1/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, there: As you all know, correlation is not a very robust procedure. Sometimes correlation could be driven by a few outliers. There are a few ways to improve the

Re: [R] how to test robustness of correlation

2006-01-26 Thread Berton Gunter
learning process. - George E. P. Box -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabor Grothendieck Sent: Thursday, January 26, 2006 9:05 AM To: [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Subject: Re: [R] how to test robustness

[R] how to test robustness of correlation

2006-01-25 Thread yang . x . qiu
Hi, there: As you all know, correlation is not a very robust procedure. Sometimes correlation could be driven by a few outliers. There are a few ways to improve the robustness of correlation (pearson correlation), either by outlier removal procedure, or resampling technique. I am wondering

Re: [R] how to test robustness of correlation

2006-01-25 Thread Berton Gunter
the scientific learning process. - George E. P. Box -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 12:37 PM To: r-help@stat.math.ethz.ch Subject: [R] how to test robustness of correlation Hi

Re: [R] How to test a time series fit the Poisson or other process?

2005-11-29 Thread Spencer Graves
I just did RSiteSearch(poisson time series). The second and third of 75 hits seemed relevant to your question. (e.g., http://finzi.psych.upenn.edu/R/Rhelp02a/archive/58054.html) Some of the other responses did not seem relevant, but I didn't look at all of them. This response

[R] How to test a time series fit the Poisson or other process?

2005-11-24 Thread 广星
Hi, R-Help, I am a newbie. what I concern most recently is the analysis of the time series, But there are a lot of package in my eyes. All I want to try is as follow: How to test whether a time series fit the Poisson or other process in R? Thank you very much in advance. [EMAIL PROTECTED]   

Re: [R] how to test poisson distribution

2005-10-20 Thread Thomas Schönhoff
Hello Gunter, 2005/10/19, Berton Gunter [EMAIL PROTECTED]: To be pedantic (I'm feeling cranky today): One can never test whether the data follow [data is plural] a Poisson distribution -- only whether there is sufficient evidence to cast that assumption into doubt. Perhaps a better shorthand

[R] how to test poisson distribution

2005-10-19 Thread Wensui Liu
Dear All, I am wonderng how to test whether the data follows poisson distribution. Thank you so much! [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] how to test poisson distribution

2005-10-19 Thread Thomas Schönhoff
Hi, 2005/10/19, Wensui Liu [EMAIL PROTECTED]: Dear All, I am wonderng how to test whether the data follows poisson distribution. Thank you so much! Did you notice the PDF on distribution tests using R by Vito Ricci, its found at CRAN in the docs contrib section, called FITTING

Re: [R] how to test poisson distribution

2005-10-19 Thread Berton Gunter
, October 19, 2005 10:00 AM To: r-help@stat.math.ethz.ch Subject: Re: [R] how to test poisson distribution Hi, 2005/10/19, Wensui Liu [EMAIL PROTECTED]: Dear All, I am wonderng how to test whether the data follows poisson distribution. Thank you so much! Did you notice the PDF

Re: [R] how to test poisson distribution

2005-10-19 Thread Achim Zeileis
19, 2005 10:00 AM To: r-help@stat.math.ethz.ch Subject: Re: [R] how to test poisson distribution Hi, 2005/10/19, Wensui Liu [EMAIL PROTECTED]: Dear All, I am wonderng how to test whether the data follows poisson distribution. Thank you so much! Did you notice

[R] How to test homogeneity of two covariance matrices?

2005-09-18 Thread Franck Bameul
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] How to test homogeneity of covariance matrices?

2005-09-18 Thread Franck Bameul
Dear Group Members, Forgive me if I am a little bit out of subject. I am looking for a good way to test the homogeneity of two variance-covariance matrices using R, prior to a Hotelling T² test. You’ll probably tell me that it is better to use a robust version of T², but I have no precise

Re: [R] how to test this

2005-08-04 Thread Jin.Li
Thank you all for the reply. Regards, Jin -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 August 2005 5:20 P To: Simon Blomberg Cc: Li, Jin (CSE, Atherton); r-help@stat.math.ethz.ch Subject: Re: [R] how to test this On Wed, 3 Aug 2005, Simon

Re: [R] how to test this

2005-08-03 Thread Simon Blomberg
This is two tests: Whether the slope != 1 and whether the intercept != 0. To do this, include an offset in your model: fit - lm(y ~ x + offset(x), data=dat) HTH, Simon. At 03:44 PM 3/08/2005, [EMAIL PROTECTED] wrote: Dear there, I am wondering how to test whether a simple linear regression

Re: [R] how to test this

2005-08-03 Thread Prof Brian Ripley
On Wed, 3 Aug 2005, Simon Blomberg wrote: This is two tests: Whether the slope != 1 and whether the intercept != 0. Neither model given has an intercept To do this, include an offset in your model: fit - lm(y ~ x + offset(x), data=dat) but no intercept, so use summary(lm(y ~ 0 + x +

[R] how to test this

2005-08-02 Thread Jin.Li
Dear there, I am wondering how to test whether a simple linear regression model (e.g. y=1.05x) is significantly different from a 1 to 1 line (i.e. y=x). Thanks. Regards, Jin [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch

[R] how to test the equalness of several coefficients in a gamma frailty model using R

2005-07-22 Thread ghwei
Hi, I want to test the equalness of several coefficients of a gamma frailty model using R. In SAS, a TEST statement can be used for a cox model.How to do it in R? Thanks a lot! Guanghui __ R-help@stat.math.ethz.ch mailing list

[R] how to test for equality of covariance Matrices in lda

2005-03-23 Thread ronggui
when using the two-group discriminant analysis,we need to test for equality of covariance Matrices in lda.as whenm we formed our estimate of the within-group covariance matrix by pooling across groups,we implicitly assumed that the covariance structure was the same across groups.so it seems

[R] How to test the significance of a value estimated with lme?

2004-12-09 Thread François Cochard
Hi, After running an experiment in economics involving 3 treatment variables (Complete, High and Ksup), 32 Groups of subject (4 groups for each of the 8 treatment combinations) and 12 Periods, I've estimated the following model in which all coefficients are significant: y -

[R] how to test the existence of a name in a dataframe

2004-12-07 Thread Wolfram Fischer
I wanted to test if there exists already a name (which is incidentally a substring of another name) in a dataframe. I did e.g.: data(swiss) names(swiss) [1] FertilityAgriculture Examination Education [5] Catholic Infant.Mortality ! is.null(swiss$EduX) [1]

Re: [R] how to test the existence of a name in a dataframe

2004-12-07 Thread Dimitris Rizopoulos
Fischer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 9:47 AM Subject: [R] how to test the existence of a name in a dataframe I wanted to test if there exists already a name (which is incidentally a substring of another name) in a dataframe. I did e.g.: data(swiss) names

[R] How to test a model with two unkown constants

2003-08-27 Thread Sven Garbade
Hi all, suppose I've got a vector y with some data (from a repeated measure design) observed given the conditions in f1 and f2. I've got a model with two unknown fix constants a and b which tries to predict y with respect to the values in f1 and f2. Here is an exsample # data y - c(runif(10,

Re: [R] How to test a model with two unkown constants

2003-08-27 Thread Prof Brian Ripley
That's the linear model lm(y ~ I(1/f1) + f2), so yes, yes and fuller answers can be found in most of the books and guides mentioned in R's FAQ. Note that how `good' the fit is will have to be relative, unless you really can assume a uniform error with range 1, when you could do a

Re: [R] How to test a model with two unkown constants

2003-08-27 Thread Peter Dalgaard BSA
Sven Garbade [EMAIL PROTECTED] writes: Hi all, suppose I've got a vector y with some data (from a repeated measure design) observed given the conditions in f1 and f2. I've got a model with two unknown fix constants a and b which tries to predict y with respect to the values in f1 and f2.

RE: [R] how to test whether two slopes are sign. different?

2003-07-21 Thread Herzog, Mark
PM To: Gijsbert Stoet; [EMAIL PROTECTED] Cc: Subject: Re: [R] how to test whether two slopes are sign. different? Not really r-specific: Z = (b1 - b2) / SQRT ( SEb1^2 + SEb2^2) ---Original Message

RE: [R] how to test whether two slopes are sign. different?

2003-07-21 Thread Prof Brian Ripley
-Original Message- From: Brett Magill [mailto:[EMAIL PROTECTED] Sent: Sun 7/20/2003 7:12 PM To: Gijsbert Stoet; [EMAIL PROTECTED] Cc: Subject: Re: [R] how to test whether two slopes are sign. different? Not really r-specific

RE: [R] how to test whether two slopes are sign. different?

2003-07-21 Thread Harold Doran
Alexandria, Virginia 22314 703.647.1628 http://www.edperform.net -Original Message- From: Gijsbert Stoet [mailto:[EMAIL PROTECTED] Sent: Sunday, July 20, 2003 10:51 PM To: [EMAIL PROTECTED] Subject: [R] how to test whether two slopes are sign. different? Hi, suppose I do want to test

[R] how to test whether two slopes are sign. different?

2003-07-20 Thread Gijsbert Stoet
Hi, suppose I do want to test whether the slopes (e.g. determined with lsfit) of two different population are significantly different, how do I test this (in R). Say for example, I found out what the slope between age and number of books read per year is for two different populations of

Re: [R] how to test whether two slopes are sign. different?

2003-07-20 Thread Brett Magill
Not really r-specific: Z = (b1 - b2) / SQRT ( SEb1^2 + SEb2^2) ---Original Message--- From: Gijsbert Stoet [EMAIL PROTECTED] Sent: 07/20/03 09:51 PM To: [EMAIL PROTECTED] Subject: [R] how to test whether two slopes are sign. different? Hi, suppose I do want to test whether