Macros SAS

DocumentsDate de mise en ligne

Trier par : Titre | Date | Clics [ Décroissant ]

It is a macro which allows to select automatically fixed effects in PROC GLIMMIX.

You can choose the type of selection (BACKWARD or FORWARD), the threshold, until 5 level of random effects and force a variable in the model.

In order to algorithm converge, datafile must have not a lot of missing values

Adrien FRANCAIS

Macro to compare a quantitative variable to subgroups

 

Edited by Adrien FRANCAIS

adrien.francais@ujf-grenoble.fr

Macro to compare two groups according to a binary variable.

Effectives and Frequencies are computed for qualitative variables.

Distribution is described for quantitative variables.

Differences between groups is computed thanks to Khi2 test and Kruskall-Wallis test.

If the analyse is stratified, a term is available for that and pvalue appropriate is computed in logistic conditional regression.

Edited by Adrien FRANCAIS

adrien.francais@ujf-grenoble.fr

It is a macro which allows to deconcatenate variable which contain multiple values separated by a character.

For example, if a variable is '674|675|676|677', we then create 4 new variables : 674 for the first, 675 for the second...until the last.

An example will help you.

Adrien FRANCAIS and Valérie SIROUX

Macro to describe cohort with frequencies, percentages and missing values for each modality of qualitative variables and also description of quantitative variables (mean, standard error, quartiles...) 

Edited by Adrien FRANCAIS

adrien.francais@ujf-grenoble.fr

 

file icon Macro Courbe ROCTooltip 24/01/2012 Clics: 8

A SAS macro to realize ROC analyses. The macro provides :

- A graphical representation of the ROC Curve

- the Area Under Curve (AUC) and its 95% confidence Interval

- The best cut-Off according to Youden criteria

- Several analyses can be perfomred consecutively. results are concatenated in a single table

If you use this macro for your works please, cite the author in any published work : Aurélien VESIN, OUTCOMEREATM

Contact for questions : aurelien.vesin@ujf-grenoble.fr

 

file icon Macro to compare multiple groupsTooltip 19/06/2008 Clics: 860

Macro to compare distribution of quantitative and qualitative variables for a response variable which have several modalities.

There is no limit to the number of classes of response variable.

 An example will help you to apply this algorithm.

Edited by Adrien FRANCAIS

adrien.francais@ujf-grenoble.fr 

 

 

Designed by Muriel TAFFLET

Modified by Adrien FRANCAIS 

file icon Matching N:MTooltip 10/01/2008 Clics: 2154

Macro which realizes a N:M matching according one or several qualitative variables

Designed by Aurélien VESIN

It is a macro which allows to transform qualitative variables in binary variables.

An example will help you.

Adrien FRANCAIS

It is a macro which allows to transform quantitative variables in classes.

You can choose the number of classes (2,4,5,10...)and the type of transformation : several binary variables according the percentile or only one new variable divided in 'n' classes.

An example will help you.

Adrien FRANCAIS and Aurélien VESIN

It is a macro which allows to rapidly validate a pronostic model thanks to discirmination (AUC and ROC curve), calibration (Hosmer-Lemeshow test and graph) and summarize quality of the model at the end.

You just must have probability of outcome and the outcome in a table.

This macro is very interesting for a validation dataset of a logistic model.

Adrien FRANCAIS