Hi Ali,

I don't quite follow what you did here, so it may be helpful to provide
more details (especially about step 1--e.g., was it ordinal logistic
regression?).

However, this is not the list for this question.  This list is for asking
about using R for teaching statistics.  So you'll have to ask this question
elsewhere to get an answer.  Since it's not clear to me that your question
is even about a difficulty using R, I'm not sure that the regular R-help
list is appropriate either.  You might try something like talkstats or
cross validated.

Best of luck, Jeff


On Wed, Oct 3, 2012 at 4:57 PM, Ali Zanaty <[email protected]> wrote:

> Dear All:
> I have two variables:
> X (nominal categorical) has 9 categories.
> Y(ordinal categorical) has 4 categories.
>
> 1-I fit a logistic regression using Y as
> the response variable and X as the independent variable. The P VALUE was
> 0.2373. This tells me that the independent variable X is NOT significant
> predictor.
>
>
> 2- I run a
> chi-square test to test if there is a relationship (association ship)
> between
> both X and Y variables. The P VALUE was 0.0013. That is there is
> statistical
> evidence of association between the two variables.
>
> 3- I collapsed the 4 categories of the Y-variable into 2 categories. I run
> a
> chi-square test to test if there is a difference(s) among proportions of
> the X-variable (the equality of the 9 proportions). The P VALUE was 0.0037.
> That is there is statistical
> evidence of differences among the 9 proportions.
>
> How
> I can explain results of one versustwo, and one versus three. I am not
> sure if there is a contradiction among these results.
>  many
> thanks
> Ali
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
>
>

        [[alternative HTML version deleted]]

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-teaching

Reply via email to