[R] correlation between nominal and ordinal

David Winsemius dwinsemius at comcast.net
Sun Sep 3 18:21:07 CEST 2017


> On Sep 2, 2017, at 3:41 AM, Jim Lemon <drjimlemon at gmail.com> wrote:
> 
> hi merlin,
> Check out the hetcor package.


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.

-- 
David.


> 
> Jim
> 
> 
> On Sat, Sep 2, 2017 at 6:25 AM,  <merlinverdecia at infomed.sld.cu> wrote:
>> 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/
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list