Hi ,
Can some one help me how to get the functions for f(MTPL),f(MOD W/O Glass) , f( MOD W Glass) and f(Motor BI) in terms of AD,PI and TP components for the below conditions.
AD | PI | TP | MTPL | MOD W/O Glass | MOD W Glass | Motor BI | |
0 | 0 | 0 | 1 | 0 | 0 | 0 | |
0 | 0 | 1 | 1 | 0 | 0 | 0 | |
0 | 1 | 0 | 0 | 0 | 0 | 1 | |
0 | 1 | 1 | 1 | 0 | 0 | 1 | |
1 | 0 | 0 | 0 | 1 | 1 | 0 | |
1 | 0 | 1 | 1 | 1 | 1 | 0 | |
1 | 1 | 0 | 0 | 1 | 1 | 1 | |
1 | 1 | 1 | 1 | 1 | 1 | 1 |
Your help is much appreciated and if not atleast route me where can i get some help to get me problem resolved.
Regards,
Reddi.
data have;
input ad pi tp;
cards;
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
;
run;
data want;
set have;
mtpl = (ad = 0) * (pi = 0) or tp;
mod_wo_glass = ad;
mod_w_glass = ad;
motor_bi = pi;
run;
proc print data=want noobs;
run;
Result:
mod_wo_ mod_w_ ad pi tp mtpl glass glass motor_bi 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 1 1 1 0 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 1 1
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.
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.