Displaying 2 results from an estimated 2 matches for "natprop".
Did you mean:
lathrop
2011 May 23
2
Linear regression - several response variables vs few ind variables
Hi all,
I need to run several simple linear regressions at once, using the
following data. Response variables: Bird species (sp 1, sp2, sp3...spn).
Independent variable: Natprop - proportion of natural area. covarate:
Effort = hours). One single linear regression would be: lmSp1 <- lm(sp1~
natprop + effort). However, I need to run this linear regression for all
bird species that I have individually (n = 163). I would like to do it at
once and store the coefficients in a...
2010 Dec 14
0
GLM with different factors
Hi R-Helpers,
I am stuck with my analysis. I wonder if anybody could have with this.
My data set looks like:
Squares
Hours
SppRichness
Feeding_guild
natprop
1
10
1
aq inverts
0.118697
2
25
2
aq inverts
0.605874
3
35
2
fish
0.61255
4
20
4
fish
0.764418
5
40
3
insects
0.810646
6
20
2
insects
0.832063
7
20
2
Omnivores
0.838509
n
20
3
Omnivores
0.839228
My interest is to run a GLM model between the response variabl...