Description Usage Arguments Details Value Author(s) References See Also

This function reports the mean and standard deviation for each feature in a model, and ranks them according to a user-specified score.
Additionally, it does a Kolmogorov-Smirnov (KS) test on the raw and *z*-standardized data.
It also reports the raw and *z*-standardized *t*-test score, the *p*-value of the Wilcoxon rank-sum test, the integrated discrimination improvement (IDI), the net reclassification improvement (NRI), the net residual improvement (NeRI), and the area under the ROC curve (AUC).
Furthermore, it reports the *z*-value of the variable significance on the fitted model.
Besides reporting an ordered data frame, this function returns all arguments as values, so that the results can be updates with the `update.uniRankVar`

if needed.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ```
uniRankVar(variableList,
formula,
Outcome,
data,
categorizationType = c("Raw",
"Categorical",
"ZCategorical",
"RawZCategorical",
"RawTail",
"RawZTail",
"Tail",
"RawRaw"),
type = c("LOGIT", "LM", "COX"),
rankingTest = c("zIDI",
"zNRI",
"IDI",
"NRI",
"NeRI",
"Ztest",
"AUC",
"CStat",
"Kendall"),
cateGroups = c(0.1, 0.9),
raw.dataFrame = NULL,
description = ".",
uniType = c("Binary", "Regression"),
FullAnalysis=TRUE,
acovariates = NULL,
timeOutcome = NULL)
``` |

`variableList` |
A data frame with two columns. The first one must have the names of the candidate variables and the other one the description of such variables |

`formula` |
An object of class |

`Outcome` |
The name of the column in |

`data` |
A data frame where all variables are stored in different columns |

`categorizationType` |
How variables will be analyzed : As given in |

`type` |
Fit type: Logistic ("LOGIT"), linear ("LM"), or Cox proportional hazards ("COX") |

`rankingTest` |
Variables will be ranked based on: The |

`cateGroups` |
A vector of percentiles to be used for the categorization procedure |

`raw.dataFrame` |
A data frame similar to |

`description` |
The name of the column in |

`uniType` |
Type of univariate analysis: Binary classification ("Binary") or regression ("Regression") |

`FullAnalysis` |
If FALSE it will only order the features according to its z-statistics of the linear model |

`acovariates` |
the list of covariates |

`timeOutcome` |
the name of the Time to event feature |

This function will create valid dummy categorical variables if, and only if, `data`

has been *z*-standardized.
The *p*-values provided in `cateGroups`

will be converted to its corresponding *z*-score, which will then be used to create the categories.
If non *z*-standardized data were to be used, the categorization analysis would return wrong results.

`orderframe` |
A sorted list of model variables stored in a data frame |

`variableList` |
The argument |

`formula` |
The argument |

`Outcome` |
The argument |

`data` |
The argument |

`categorizationType` |
The argument |

`type` |
The argument |

`rankingTest` |
The argument |

`cateGroups` |
The argument |

`raw.dataFrame` |
The argument |

`description` |
The argument |

`uniType` |
The argument |

Jose G. Tamez-Pena and Antonio Martinez-Torteya

Pencina, M. J., D'Agostino, R. B., & Vasan, R. S. (2008). Evaluating the added predictive ability of a new marker: from area under the ROC curve to reclassification and beyond. *Statistics in medicine* **27**(2), 157-172.

```
update.uniRankVar,
univariateRankVariables
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.