Skip to content
Back to formatted view

Raw Message

Message-ID: <4DB5D916.2050802@chaotic-neutral.de>
Date: 2011-04-25T20:27:02Z
From: Alexander Engelhardt
Subject: Generalized Linear Model
In-Reply-To: <1303759701665-3473924.post@n4.nabble.com>

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? You have two input variables, who are binary, 
meaning yes/no (or male/female, high/low, ...) variables?

> and two dependent variables, each with either a yes/no response which I've
> valued either 0 or 1 in the data set. Any input would be greatly
> appreciated.

If your dependent variable is binary, you might want to google for 
"logistic regression" (this belongs to generalized linear models). The 
R-function who handles this is glm(), with the parameter family=binomial().

Have fun,
  Alex