merlinverdecia at infomed.sld.cu
2017-Sep-01 20:25 UTC
[R] correlation between nominal and ordinal
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:> 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/posti > ng-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
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.> On 1 Sep 2017, at 21:25, 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.
hi merlin, Check out the hetcor package. 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.
> 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.