Description Usage Arguments Details Value References Examples
Implementation of various methods for calculating pseudo R2 values popular with censored observations
1 |
obj |
Object of class |
type |
Character value indicating the type of pseudo R2 to calculate. Currently only mckelvey_zavoina is available |
When comparing goodness of fit between methods for censored observations pseudo R^2 is often the preferred metric \insertCiteveall1996pseudotcensReg. While there are many different types of pseudo R^2 measures available this function implements those that are particularly relevant for censored observations. Below is a description. of the currently available methods within this function.
This measure of pseudo R^2 is from \insertCitemckelvey1975statistical;textualtcensReg and is the optimal metric suggested for limited dependent variables from \insertCiteveall1996pseudo;textualtcensReg. The formula is shown below
R^{2}_{mz}= \frac{∑_{i=1}^{N}(\hat{y_{i}}-\bar{\hat{y_{i}}})^{2}} {∑_{i=1}^{N}(\hat{y_{i}}-\bar{\hat{y_{i}}})^{2}+N\hat{σ}}
List with numeric value representing the pseudo R^2 and type of pseudo R^2 calculated
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.