View source: R/Proportional_odds_assumption.R
Proportional_odds_assumption | R Documentation |
This is the function to check the proportional odds assumption for the score test.
Proportional_odds_assumption(p1, p2)
p1 |
A vector containing the probabilities of the outcome falling into each level of the control arm. |
p2 |
A vector containging the probabilities of the outcome falling into each level of the control arm. |
Indicates whether the proportional odds assumption holds. If the assumption holds, the function returns the log-odds ratio from the score test. If the assumption does not hold, the function returns NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.