Because you have two dependent variables, you'll want to to use a
multivariate logit. mlogit does this, but I don't know the syntax off
hand.
If you just wanted to look at one dependent variable, it would be the
following (which Alex said)
glm(y~x1*x2,family='binomial')
On Mon, Apr 25, 2011 at 3
Hi!
Try to read about the glm function, type:
?glm
in your R editor. It looks like you have contingency tables, maybe a
loglin model would be good to start with.
D
2011-04-25 12:28 keltezéssel, Megan írta:
Hello,
I am trying to run a generalized linear model but do not know where to
begin
Am 25.04.2011 21:28, schrieb Megan:
Hello,
I am trying to run a generalized linear model but do not know where to
begin. I have attached my data to R but do not know where to go from there.
I have two independent variables (each has two factors associated with them)
What do you mean by this? Y
Simone Santoro wrote:
>> Simone Santoro wrote:
>>>
>>> I have 1! 2 response variables (species growth rates) and two
>>> envir onmental factors that I want to test to find out a possible
>>> relation.
>>>
>>> The sample size is quite small: (7>> species-case).
>>>
>>> I performed a Shapiro tes
don't answer me again. I hope not to seem
hypocrite (I'm not) but I'm very grateful to you.
I promise to write again only for more pertinent questions.
Best wishes
> Date: Fri, 10 Jul 2009 17:45:50 -0700
> From: bol...@ufl.edu
> To: r-help@r-project.org
> Subject:
If you possibly can, you should get some local statistical advice.
There are a number of pitfalls involved in what you're doing.
Frank Harrell's book is a good reference, but may be too advanced
if you are a beginner. You are right on the edge of having too little
data for what you want to do
6 matches
Mail list logo