Herramienta Análisis de supervivencia
The Survival Analysis tool implements common methods of survival analysis. Survival Models model the time until the occurrence of an event (for example, the lapse of a life insurance policy). Survival Models are unique in that they feature censoring; a test or trial may end before such an event occurs (e.g. a policy-holder may pass away before the policy can lapse).
Importante
Esta herramienta no se instala automáticamente con Alteryx Designer o las herramientas R. Para utilizar esta herramienta, descárgala de Alteryx Analytics Gallery.
This tool can be used for two purposes (determined based on configuration settings):
To gain insight into the "survival function" of a dataset (i.e. to estimate a distribution of survival times across a population).
To determine whether particular factors influence the survival function of a population (e.g. to compare survival functions across groups).
Configurar la herramienta
Utiliza la pestaña Opciones de gráficos para configurar los controles para el gráfico de salida.
Nombre del modelo: cada modelo debe tener un nombre para su posterior identificación. Los nombres del modelo deben comenzar con una letra y pueden contener letras, números y los caracteres especiales de punto (“.”) y guion bajo (“_”). No se permite el uso de otros caracteres especiales. Además, R distingue entre mayúsculas y minúsculas.
Input Type: Select one of the following (depending on the data in the data stream).
Data contains durations: The data includes a field representing durations.
Select duration variable: Select the field representing durations.
Data contains start and stop times: The data includes a field representing start times and a field representing stop times.
Select start time/ left censor variable: Select the field representing start times.
Select end time/ right censor variable: Select the field representing end times.
Censura:
Data is left-censored: The data includes a field representing 0/1 censoring of the start of the record's life.
Select left-censoring variable: Select a 0/1 variable, where 0 represents censoring, and 1 indicates that a record's life began at the start time or at 0 (if "Data contains durations" was specified earlier).
Data is right-censored: The data includes a field representing 0/1 truncation of the end of the record's life.
Select right-censoring variable: Select a 0/1 variable, where 0 represents censoring and 1 indicates that a record's life ended at the end time or at the duration (if "Data contains durations" was specified earlier).
Use the Analysis Options tab to better define how analysis is calculated.
Kaplan-Meier Estimate: This option will find the survival curve of a dataset with an option to group by one variable.
Choose field to group by: This option allows for the comparison of survival curves of different groups.
Select grouping variable: Select the field corresponding to the grouping variable.
Use confidence interval: This option will display upper and lower bounds for the plotting of the KM estimate as well as in its table.
Input Confidence Level: Enter the confidence level at which to compute upper and lower bounds for KM estimate.
Cox Proportional Hazards: Use to see the impact and significance of covariates affecting the survival curve.
Select predictor variables: At least one must be selected.
Method for tie handling: The method by which to deal with tied times.**
Include case weights: This option allows for the selection of a field containing weights for each record.
Select Field Specifying Weights: Select the field containing case weights.
Utiliza la pestaña Opciones de gráficos para establecer los controles para la salida gráfica (opcional).
Tamaño del gráfico: selecciona pulgadas o centímetros para el tamaño del gráfico.
Resolución del gráfico: selecciona la resolución del gráfico en puntos por pulgada: 1x (96 dpi), 2x (192 dpi) o 3x (288 dpi). La resolución más baja crea un archivo más pequeño y es mejor para ver en un monitor. Una resolución más alta crea un archivo más grande con una mejor calidad para imprimir.
Ver la salida
Conecta una herramienta Examinar a cada ancla de salida para ver los resultados.
O anchor: Consists of a table of the serialized model with model name and the size of the object. The availability of various models will depend on the choice of "Analysis Type" under "Analysis Options".
Summary Analysis - Surv object, Kaplan-Meier estimate object
Grouping Analysis - Surv object, Kaplan-Meier estimate object, Cox Proportional Hazards object
Factor Analysis - Surv object, Cox Proportional Hazards object
The Cox PH model can be accessed directly from the second element of the output of the O output. If that model is 'model', the Surv and KMest objects can be accessed by 'model$surv' and 'model$KMest', respectively.
R anchor: Consists of the report snippets generated by the Survival Analysis tool, depending on the choice of "Analysis Type" under "Analysis Options".
Summary Analysis - Summary statistics and a graph of the survival function.
Grouping Analysis - Summary statistics; observed vs expected results for each group; group comparison test results for similarity of groups for Logrank, Likelihood Ratio, and Wald tests; a graph comparing the survival curves of different groups; and distinct survival curves and cumulative hazard curves for each group.
Factor Analysis - Summary statistics; factor analysis test results for impact of predictive variables for Logrank, Likelihood Ratio, and Wald tests; and a summary of the Cox Proportional Hazards Model detailing the impact of the predictors.
D anchor: For Summary Analysis and Grouping Analysis (in which case an extra field is added specifying group), this constructs the Kaplan-Meier estimate for the survival curves. For factor analysis, it is not provided.
*https://en.wikipedia.org/wiki/Survival_analysis **https://stat.ethz.ch/R-manual/R-devel/library/survival/html/coxph.html