Data Prep Sheet

Action Principale : frontierCost

Preparation Code

Script awaiting validation
Copied!
1 
2DATA casuser.cost_data;
3call streaminit(12345);
4DO i = 1 to 100;
5log_output = rand('Normal', 1, 0.5);
6log_price1 = rand('Normal', 0.5, 0.2);
7log_price2 = rand('Normal', 0.5, 0.2);
8v = rand('Normal', 0, 0.1);
9u = abs(rand('Normal', 0, 0.2));
10log_cost = 0.5 + 0.8*log_output + 0.4*log_price1 + 0.6*log_price2 + v + u;
11OUTPUT;
12END;
13 
14RUN;
15 
16PROC CASUTIL;
17load
18DATA=casuser.cost_data casout="cost_data" replace;
19 
20RUN;
21 
Actions using this script
  • frontier frontierCost En cours
  • No other action uses this exact script.