Skip to content
Prev 256486 / 398502 Next

ordered logistic regression - cdplot and polr

On Mon, 11 Apr 2011, Elizabeth Pringle wrote:

            
You transform the presumably numerical regressor "LogAntDensity" to a 
factor. Is that intended? If so, cdplot() is not suitable for 
visualization as it assumes a numerical x-variable. See ?cdplot.

A more suitable visualization may be obtained using spineplot() which 
allows both numerical and categorical x-variables. See ?spineplot.
You could refit the model without the factor and then compare both models 
using anova().

hth,
Z