• Aucun résultat trouvé

Linear regression We try to explain « choice » by « age »

N/A
N/A
Protected

Academic year: 2022

Partager "Linear regression We try to explain « choice » by « age »"

Copied!
1
0
0

Texte intégral

(1)

Linear regression

We try to explain « choice » by « age »

LIBNAME mydata "D:\SAS"

access=readonly;

PROC IMPORT OUT= WORK.ESTIM DATAFILE=

"D:\SAS\estim20171220.csv"

DBMS=TAB REPLACE;

GETNAMES=YES;

DATAROW=2;

RUN;

PROC SORT data=estim; by date;

PROC FREQ data=estim; TABLES age date choice;

RUN;

* categorical explanatory variable;

PROC GLM data=estim; model choice

= age /solution;

run;

* means for majordeplife;

PROC sort; by age;

Proc means; var choice;

by age;

run;

* bar graph;

Proc GCHART; vbar choice /discrete type=mean sumvar=age;

run;

proc reg;

model choice=age;

run;

La procédure GLM Variable dépendante : choice

Source DDL Somme des carrés Carré moyen Valeur F Pr > F

Modèle 1 2689.3638 2689.3638 411.99 <.0001

Erreur 23231 151645.6289 6.5277

Total 23232 154334.9927

R-carré Coef de var Racine MSE choice Moyenne 0.017425 51.10455 2.554942 4.999440

Paramètre Estimation Erreur type Valeur du test t Pr > |t|

Constante 5.950084736 0.04974458 119.61 <.0001 Age -0.038691655 0.00190622 -20.30 <.0001

In conclusion we can say that there is a linear correlation between « choice » variable and « age »:

People are more risk averse when they get older or an other way to say the same result is that younger people are more risk lover.

This can be interpreted in this way :

When you are young, you take risk by optimism When you get older, experienced, you prefer safety

Références

Documents relatifs

This could result in differences in estimates of treatment effect, due to the fact that patients who experienced the competing risks outcome will belong to all risk sets of the Fine

Emerging and young, middle-aged, and older adults recalled the most recent and serious interpersonal transgression and then completed the Transgression-Related Interpersonal

Greater rates of delay discounting are reported in older adults because in- creasing age implies a higher risk of not surviving to col- lect a delayed reward (42).. Steinberg

standpoint: (1) in the case of young women, chances of getting breast cancer are lower than for older women, (2) young women have more “condensed” breast tissue (with consequences:

Younger adults recognize young adult faces better than older adult faces (He, Ebner, &amp; Johnson, 2011), child and neonate faces (Kuefner, Macchi Cassia, Picozzi, &amp;

Figure 1: Approach to optimising medication safety for older adults Polypharmacy increases the risk for inappropriate and unsafe prescribing in older adults.. Our suggested

We investigated whether individuals who experienced disadvantageous socioeconomic circumstances (SEC) in early life showed lower levels of respiratory function in older age, a

This could result in differences in estimates of treatment effect, due to the fact that patients who experienced the competing risks outcome will belong to all risk sets of the Fine