On 04/07/2013 12:59, Dániel Kehl wrote:
Dear R users,

I have a dataset with two ordered variables, tr_x1 and tr_y1. A crosstable of 
them can bee seen below.

      tr_x1
tr_y1   -1    0    1
    -1  629  100  629
    0  1396 4353 1443
    1   668  126  655

It is clear that if tr_x1 is 0, it has an effect on tr_y1. A chi-square 
statistic is clearly showing this with a low p-value.
Is there a regression-based method you would offer? I tried polr from MASS 
package but without finding a significant coefficient, because the columns for 
tr_x1 and tr_y1 are similar.

Your mistake is testing coefficients, not overall fit.

Thank you for your help!

daniel

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.



--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to