Hello,

I am new to R and am trying to complete a mixed conditional logistic
regression. There are two issues that I am currently having:

1. I am not sure how to insert the random effects variable into the
equation. My current equation is
model<-mclogit(Presence~AllWet+AllAg+strata(Pair))
where Presence is a binary value (present or absent), AllWet and AllAg
shows the proportion of the location polygons covered by each habitat type,
and Pair is showing the paired used and random polygons. The random effects
that I want to control for are Bird ID (same bird at multiple locations).
Does anyone know how to write the formula properly to include the random
effects?

2. When I enter the formula I keep getting Error: could not find function
"mclogit"
When I was using the clogit function I had to add the "survival" package to
perform the analysis. What package do I have to add for mclogit?

Any assistance on this subject would be greatly appreciated.

Thank you,
Katelyn

-- 
Katelyn Weaver
M.Sc. Candidate
Long Point Waterfowl
Western University
Cell: 519-619-4472
Email: kweaver@uwo.ca
www.longpointwaterfowl.org

	[[alternative HTML version deleted]]

