*cd [insérer chemin d'accès au fichier] *use [insérer fichier - échantillon transversal], clear label define countries 1 "Burkina Faso" 2 "RDC" 7 "Kenya" 9 "Nigeria" label values country countries preserve keep if fertpref<=2 replace fertpref=0 if fertpref==2 collapse fertpref, by(country phase age) twoway (line fertpref age if phase==1) (line fertpref age if phase==2) (line fertpref age if phase==3), by(country, title("Proportion de femmes voulant un (autre) enfant " "par âge, pays et phase") note("")) legend(subtitle("Phase") order(1 "1" 2 "2" 3 "3")) ytitle("Proportion voulant un (autre) enfant") xtitle("Âge") graph export fertpref-age-cs-FR.pdf, replace restore