/* Exemple 1 - syntaxe elementaire */ data classe; input nom $ taille poids age sexe $; taill2 = taille * taille; ratio = poids / taille; cards; Alfred 69.0 112.5 14 g Alice 56.5 84.0 13 f Barbara 65.3 98.0 13 f Carol 62.8 102.5 14 f Henry 63.5 102.5 14 g James 57.3 83.0 12 g Jane 59.8 84.5 12 f Janet 62.5 112.5 15 f Jeffrey 62.5 84.0 13 g John 59.0 99.5 12 g Joyce 51.3 50.5 11 f Judy 64.3 90.0 14 f Louise 56.3 77.0 12 f Mary 66.5 112.0 15 f Philip 72.0 150.0 16 g Robert 64.8 128.0 12 g Ronald 67.0 133.0 15 g Thomas 57.5 85.0 11 g William 66.5 112.0 15 g ; proc print; proc reg data = classe; model poids = taille; proc sort; by sexe; proc print data = classe; proc reg; model poids = age taille; by sexe; proc reg; model poids = age taille taill2 / r; run;