Skip to content

Number of variables in lrm (Design)

2 messages · Paul Sweeting, Frank E Harrell Jr

#
Paul Sweeting wrote:
Design does not allow for singularities.  To get the regression d.f. you 
can use length(coef(fit))-num.intercepts(fit) or just fit$stats['d.f.']

Frank