Hi I'm sure this is straightforward, but I can't find an answer. I'm trying to find the function that returns the number of dependent variables/rank of the regression/degrees of freedom/something similar. Any ideas? Thanks! Paul [[alternative HTML version deleted]]
Paul Sweeting wrote:> Hi > > > > I'm sure this is straightforward, but I can't find an answer. > > > > I'm trying to find the function that returns the number of dependent > variables/rank of the regression/degrees of freedom/something similar. Any > ideas? > > > > Thanks! > > > > PaulDesign 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 -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University
Maybe Matching Threads
- lrm in Design package--missing value where TRUE/FALSE needed
- Interpreting the example given by Frank Harrell in the predict.lrm {Design} help
- Troubles plotting lrm output in Design Library
- using 'lrm' for logistic regression
- Predicting ordinal outcomes using lrm{Design}