Skip to content

Regression with few observations per factor level

3 messages · V. Coudrain, Baldwin, Jim -FS, Krzysztof Sakrejda

#
Thank you for this helpful thought. So if I get it correctly it is hopeless to try testing an interaction, but we neverless may assess if a covariate has an impact, providing it is the same in all treatments.
Elgin S. Perry, Ph.D.
Statistics Consultant
377 Resolutions Rd.
Colonial Beach, Va.? 22443
ph. 410.610.1473


Date: Mon, 20 Oct 2014 10:53:41 +0200 (CEST)
From: "V. Coudrain" < v_coudrain at voila.fr >
To: r-sig-ecology at r-project.org
Subject: [R-sig-eco] Regression with few observations per factor level
Message-ID: < 2127199056.738451413795221981.JavaMail.www at wwinf7128 >
Content-Type: text/plain; charset="UTF-8"


Hi, I would like to test the impact of a treatment of some variable using regression (e.g. lm(var ~ trt + cov)).?
However I only have four observations per factor level. Is it still possible to apply a regression with such a small
sample size. I think that i should be difficult to correctly estimate variance.Do you think that I rather should compute
a non-parametric test such as Kruskal-Wallis? However I need to include covariables in my models and I am not sure if
basic non-parametric tests are suitable for this. Thanks for any suggestion.
___________________________________________________________
Mode, hifi, maison,? J'ach?te malin. Je compare les prix avec 
?????[[alternative HTML version deleted]]
??


___________________________________________________________
Mode, hifi, maison,? J'ach?te malin. Je compare les prix avec
#
Yes, the analysis with a small sample size would be valid (under the assumption that the model - both fixed and random effects are correctly specified) but at some point there must be a practical assessment as to the desired precision and the costs of the consequences of either inadequate estimates or wrong acceptance or rejection of hypotheses.  If it were just about the numbers from a sample and resulting P-values, we would only need statisticians and no subject-matter experts (which is clearly not the case).

And while I'm soapboxing, situations with low variability require fewer samples than situations with high variability.  One can't make assessments of the adequacy of an analysis solely on the sample size.

Jim

Jim Baldwin
Station Statistician
Pacific Southwest Research Station
USDA Forest Service

-----Original Message-----
From: r-sig-ecology-bounces at r-project.org [mailto:r-sig-ecology-bounces at r-project.org] On Behalf Of V. Coudrain
Sent: Monday, October 20, 2014 8:54 AM
To: ElginPerry
Cc: r-sig-ecology at r-project.org
Subject: Re: [R-sig-eco] Regression with few observations per factor level

Thank you for this helpful thought. So if I get it correctly it is hopeless to try testing an interaction, but we neverless may assess if a covariate has an impact, providing it is the same in all treatments.
Elgin S. Perry, Ph.D.
Statistics Consultant
377 Resolutions Rd.
Colonial Beach, Va.  22443
ph. 410.610.1473


Date: Mon, 20 Oct 2014 10:53:41 +0200 (CEST)
From: "V. Coudrain" < v_coudrain at voila.fr >
To: r-sig-ecology at r-project.org
Subject: [R-sig-eco] Regression with few observations per factor level
Message-ID: < 2127199056.738451413795221981.JavaMail.www at wwinf7128 >
Content-Type: text/plain; charset="UTF-8"


Hi, I would like to test the impact of a treatment of some variable using regression (e.g. lm(var ~ trt + cov)).?
However I only have four observations per factor level. Is it still possible to apply a regression with such a small sample size. I think that i should be difficult to correctly estimate variance.Do you think that I rather should compute a non-parametric test such as Kruskal-Wallis? However I need to include covariables in my models and I am not sure if basic non-parametric tests are suitable for this. Thanks for any suggestion.
___________________________________________________________
Mode, hifi, maison,? J'ach?te malin. Je compare les prix avec



___________________________________________________________
Mode, hifi, maison,? J'ach?te malin. Je compare les prix avec

_______________________________________________
R-sig-ecology mailing list
R-sig-ecology at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
#
With such a small data set, why not simulate some data sets with
reasonable effect sizes and see how an analysis performs?  Krzysztof
On Mon, Oct 20, 2014 at 11:53 AM, V. Coudrain <v_coudrain at voila.fr> wrote: