Skip to content

correlation between nominal and ordinal

5 messages · merlinverdecia at infomed.sld.cu, Bert Gunter, Mathew Guilfoyle +2 more

#
I would be very grateful if you would tell me how I can find the  
degree of correlation between a nominal dependent variable and an  
independent ordinal variable. The nominal variable has only two  
levels: YES and NO.
thank you very much in advance
regards,
merlin

----------------------------------------------------------------




--
Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/
#
Wrong list. This list is about programming in R, not statistics. Try
stats.stackexchange.com instead for statistics questions.

Cheers,
Bert

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Sep 1, 2017 at 1:25 PM, <merlinverdecia at infomed.sld.cu> wrote:

            

  
  
#
Any of the usual rank correlation methods should be fine if you're expecting a monotonic relationship e.g. Spearman's rho or Kendall's tau.
#
hi merlin,
Check out the hetcor package.

Jim
On Sat, Sep 2, 2017 at 6:25 AM, <merlinverdecia at infomed.sld.cu> wrote:
1 day later
#
I found a hetcor function in the polycor package.

Another method might be to use the lrm function in the rms package. It supports proportional odds ordinal logistic regression models.