Description Usage Arguments Value
Funció que calcula l'estadístic de calibració de Hosmer-Lemeshow
1 | hosmerlem(y, yhat, g = 10)
|
y |
a numerical vector with observed outcomes. |
yhat |
a numerical vector with fitted values. |
g |
number of groups. Degrees of freedom for the test is g-2. |
A list with complete results: observed, expected, chi-square statistic, degree of freedom and p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.