BookmarkSubscribeRSS Feed
graingerad12
Calcite | Level 5

Does anyone know how to calculate the Value of Statistical life in SAS? 

 

the variables in the data set im working with are defined as:

 

wage = worker's hourly wage rate

male = 1 if worker is male and =0 otherwise

white = 1 if worker's race is white = 0 otherwise

age = workers age in years

fatrate = worker's risk of fatality measured in terms of deaths per 100,000 workers. 

 

 

the code I have so far (to estimate a linear hedonic wage equation for wages and log wages) is: 

 

 

data final;
set 'final';
lwage= log(wage);
age2 = age*age;

run;
proc means data=final;
run;


proc reg data=final outest=est tableout;
model wage = male white age age2 fatrate;
model lwage= male white age age2 fatrate;
run;
proc print data=est;
title 'OUTEST data from PROC REG';
run;

 

3 REPLIES 3
Reeza
Super User

Can you translate that to a programming problem? I'm not sure I understand the question, even having worked as an actuary 😉

 

If your previous question is answered, please mark it as solved. 

Reeza
Super User

Can you translate that to a programming problem? I'm not sure I understand the question, even having worked as an actuary 😉

 

If your previous question is answered, please mark it as solved. 

PGStats
Opal | Level 21

Naming variables in a MODEL statement is not enough to specify the model. You must also specify which interactions are possible. For example, your model assumes that the effect of being white is the same for males and females (no male and white interaction) on paid wage.

There is also cause to worry about the definition of variable fatrate. Does it reflect objective fatality rate or the rate perceived by the worker?

PG

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1366 views
  • 2 likes
  • 3 in conversation