Français
/* Labellisation*/
Data DMSTAT.Ue2score; set DMSTAT.Scorehygieno; label patcle="identifiant du patient" DatIDM="date survenue IDM d'inclusion" Agei="âge du patient" NivEtud="niveau étude" IMCi="indice masse corporelle" AntHypCho="antécédent hypercholestérolémie" AntHypArt="antécédent hypertension artérielle" Tabac="fumeur" ActPhy="activité physique" ExpoOmeg="exposition aux omégas " EtatSante="état de santé ressenti" ScoreHygienoM24="score moyen d'adhésion"; run;
/* Définition des formats*/
proc format; value Sexe 1="homme" 2="femme" .="donnée manquante";
value Niveau_Etude 1="primaire" 2="secondaire" 3="supérieure" .="donnée manquante";
value AntecedentHypCho 0="non" 1="oui" .="donnée manquante";
value AntecedentHypArt 0="non" 1="modéré" 2="sévère" .="donné manquante";
value Tabac 0="non fumeur" 1="fumeur" .="donné manquante";
value ActivitePhy 1="moins de 10 minutes" 2="10 à 30 minutes" 3="31 à 60 minutes" 4="plus d'1 heure" .="donné manquante";
value ExpoOmeg 0="non" 1="oui" .="donné manquante";
run;
/* Application des formats*/
Data DMSTAT.Ue2score1; set DMSTAT.Ue2score; format Sexe Sexe. NivEtud Niveau_Etude. AntHypCho AntecedentHypCho. AntHypArt AntecedentHypArt. Tabac Tabac.
ActPhy ActivitePhy. ExpoOmeg ExpoOmeg. ; run;
/*étape1: description des variables*/
proc univariate data=DMSTAT.Ue2score1; var DatIDM Agei IMCi EtatSante ScoreHygienoM24; run;
proc freq data=DMSTAT.Ue2score1; Tables SEXE NivEtud AntHypCho AntHypArt Tabac