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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.