Displaying 20 results from an estimated 1100 matches similar to: "how to perform multiple comparisons with anova.glm significant interactions?"
2012 Sep 14
1
linear mixed-effects models with two random variables?
Dear R users,
Does anyone knows how to run a glmm with one fixed factor and 2 random
numeric variables (indices)? Is there any way to force in the model a
separate interaction of those random variables with the fixed one?
I hope you can help me.
#eg.
Reserve <- rep(c("In","Out"), 100)
fReserve <- factor(Reserve)
DivBoulders <- rep
2004 Apr 19
0
SE for combined data
Dear all
I have just had the question from a colleague. I know that it is not directly related to R (I will probably use R to do the analysis), but I hope someone can give us some insight:
Thanks,
AJ Smit
I sampled populations of a seaweed in the intertidal in order to estimate
the standing biomass of that seaweed at that site.
Due to clumped distribution patterns, I chose a stratified
2005 Nov 10
2
IF/Else
Hi,
I am trying to write a for loop with if else statements to calculate
biomass density estimates for different types of sampling gear.
My code is:
bmd=for (i in 1:length(Gear)){
if (Gear==20) {bioden=Biomass/141}
else {if (Gear==23) {bioden=Biomass/68}}
else {if (Gear==160) {bioden=Biomass/4120}}
else {if (Gear==170) {bioden=Biomass/2210}}
else {if (Gear==300)
2011 Feb 06
1
anova() interpretation and error message
Hi there,
I have a data frame as listed below:
> Ca.P.Biomass.A
P Biomass
1 334.5567 0.2870000
2 737.5400 0.5713333
3 894.5300 0.6393333
4 782.3800 0.5836667
5 857.5900 0.6003333
6 829.2700 0.5883333
I have fit the data using logistic, Michaelis?Menten, and linear model,
they all give significance.
> fm1 <- nls(Biomass~SSlogis(P, phi1, phi2, phi3), data=Ca.P.Biomass.A)
2012 Feb 03
1
ordering of factor levels in regression changes result
I was surprised to find that just changing the base level of a factor variable changed the number of significant coefficients in the solution.
I was surprised at this and want to know how I should choose the order of the factors, if the order affects the result.
Here is the small example. It is taken from 'The R Book', Crawley p. 365.
The data is at
2017 Jul 06
0
Bayes Factor
Hello R Community,
Subject: Bayes Factor
A Bayesian ANOVA of the form:
competitionBayesOut <- anovaBF(biomass ~ clipping, data = competition)
Returns the following Error message:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ?compare? for
signature ?"BFlinearModel", "missing", "tbl_df"?
My guess the problem is in
2013 Nov 07
1
problem with interaction in lmer even after creating an "interaction variable"
Dear all,
I have a problem with interactions in lmer. I have 2 factors (garden and
gebiet) which interact, plus one other variable (home), dataframe arr. When
I put:
/
lmer (biomass ~ home + garden:gebiet + ( 1|Block), data = arr)/
it writes:
/Error in lme4::lFormula(formula = biomass ~ home + garden:gebiet + (1 | :
rank of X = 28 < ncol(X) = 30/
In the lmer help I found out that if not
2011 Apr 13
1
print to .jpeg
Evening folks,
I'm trying to print a series of graphs to .jpeg using a variable as the
title, but run into the difficultly that I can't find a way to append the
file extension to the .jpeg (in this case extensionless!) files.
Example:
----
species.name="CussoniaHolstii"
dia<-10:100
biomass = -21.4863 + 0.5797 * (dia ^ 2)
biomass
jpeg(species.name)
plot (biomass,
2010 Sep 16
0
problems trying to reproduce structural equation model using the sem package
Hello,
I've been unsuccessfully trying to reproduce a sem from Grace et al.
(2010) published in Ecological Monographs:
http://www.esajournals.org/doi/pdf/10.1890/09-0464.1
The model in question is presented in Figure 8, page 81. The errors
that I've been getting are:
1. Using a correlation matrix:
res.grace <- sem(grace.model, S = grace, N = 190)
Warning message:
In sem.default(ram
2009 Feb 06
0
party package conditional variable importance
Hello,
I'm trying to use the party package function varimp() to get
conditional variable importance measures, as I'm aware that some of my
variables are correlated. However I keep getting error messages (such
as the example below). I get similar errors with three separate
datasets that I'm using. At a guess it might be something to do with
the very large number of variables (e.g.
2010 Dec 29
2
HELP for repeated measure ANCOVA with varying covariate
Dear All,
I am a researcher doing research in plant growth and I have a
statistical problem that seems to not be able to handle. Recently, I
conducted an experiment about plant growing in three different
nutrient-level sediments. I harvested these every three week (three
harvests in all). Some growth traits of these plants were recorded (e.g.
total biomass, leaf biomass and stem biomass). In
2017 Jun 21
0
Help/ Mathematics
Hi Ahmed,
Your problem appears trivial as you have already specified the form of
the calculation.
Learn how to "extract" specified elements from a data structure:
# first value
sum(dataset1$NPP[dataset1$date >= date1 &
dataset1$date <= date2])
# second value
dataset2$biomass[dataset2$date == date2] -
dataset2$biomass[dataset2$date == date1]
# third value
2008 Feb 21
1
update don't find an object
Hi,
I have a situation here.
I try this update:
mmaa <- update(mma,biomass~qvartemp)
but I have this message:
Error in eval(expr, envir, enclos) : object "qvartemp" not found
but this object exist:
[1] "cont" "i" "levelsord" "mma" "qvar" "qvarmma"
[7] "qvartemp" "test"
2009 Jul 23
1
simple lme question
Hi everyone,
I am trying to analyse my data from a small plant experiment (for a meeting tomorrow afternoon) and am a beginner to R so I apologise if this is a very basic question.
I carried out a plant experiment examining plant interactions between two species (A and B) under different watering treatments. I had:
- 7 watering treatments (7 different watering frequencies labelled 1-7)
- 3
2009 Mar 04
0
(no subject)
Hi, every body!
I am a new comer for R, so my question would unavoidablely sounds stupid. Sorry!
in my experiment, there are two type of soil ( soil F and soil D), each half of them were subjected to steam sterilize (result in FS and DS soil). A equal volume of soil from two of the four soil types (F, D, FS, DS) were mixed as follows: F+F, F+D, F+FS, F+DS, D+F, D+FS, D+DS, FS+DS (eight treatment).
2009 Mar 06
2
Re peated ANOVA or nested ANOVA, or parallel one way ANOVA six times?
Hi, every body!
I am a new comer for R, so my question would unavoidablely sounds stupid.
Sorry!
In my experiment, there are two type of soil ( soil F and soil D), each half
of them were subjected to steam sterilize (result in FS and DS soil). A
equal volume of soil from two of the four soil types (F, D, FS, DS) were
mixed as follows: F+F, F+D, F+FS, F+DS, D+F, D+FS, D+DS, FS+DS (eight
2011 Apr 20
3
succession time series graph
Dear gracious R community,
I would like to produce charts of phytoplankton biomass changes
through time. Each species has a line, and the biomass varies in
mirror form along the line for each species along the X time axis.
Here is an example of what I'd like to do:
http://www.er.uqam.ca/nobel/r30240/Succession.jpg
Any suggestions?
Thanks
David Bird
UQAM, Montreal
2004 Jan 05
3
Heeeeeelp! Estimatet Marginal Means of ANOVA needed!
Hello!
I urgently need to know if it is possible (and if so, how to do) to get
the "Estimatet marginal means" from an ANOVA.
Or explained more coplicated: It's about plants sewn in 2 densities & 2
patterns. The Variable is biomass and I also use a Covariate. There are highly
significant differences between density & pattern but I don't know which of the
2 densities
2012 Apr 05
0
Normalizing linear regression slope to intercept
I am wondering if it possible to normalize the slope of a linear regression to its intercept to allow for valid between-group comparisons.
Here is the scenario:
I need to compare the slopes of biomass increase among NAFO divisions of Northwest Atlantic cod. However, the initial division biomass is a confounding factor that may influence the slope of the regression model. How can I normalize the
2008 May 26
0
use aov or lme for split plot design?
Dear all
I'm not sure if I did the right analysis for my specific split splot
design. We are
studying biomass increase with different CO2 concentrations with four
different
functional plant groups (e.g. grasses, herbs, broad-leafed trees and
conifers). Of each
functional plant group we have four species. The design is orthogonal.
The design is:
Blocks: 2 (climate chambers, called