Skip to content
Prev 208035 / 398502 Next

Step function

On Fri, 29 Jan 2010, Ashta wrote:

            
You need to "provide commented, minimal, self-contained, reproducible 
code" such as:
which runs just fine.

You have no strata() in your formula. Are you sure you want clogit??

If so, use an idiom like

 	step(fit, scope=list(lower=~strata(stratvar)) )

HTH,

Chuck
Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901