Hey, Team -
This is my first crack at creating a custom STAT. I created two columns, c_vpip and c_pfr, which are copies of VPIP and PFR. i didn't know if I could just use VPIP and PFR directly in the statistic logic or not. Following is the nested if statistic statement I composed. I don't see an option to select a text string type format for it. I get an Invalid message when I seek to validate it. Please advise. Thanks, David.
disp_cat: if ((c_vpip > 20 and c_pfr < (c_vpip – c_pfr))
, format('LAP')
, if (c_vpip <= 20 and c_pfr < (c_vpip – c_pfr))
, format('TAP')
, if (c_vpip <= 10 and c_pfr > (c_vpip – c_pfr))
, format('NIT')
, if (c_vpip >= 36 and c_pfr > (c_vpip – c_pfr))
, format('MAC')
, if ((c_vpip >= 10 and c_vpip <= 20)
and c_pfr > (c_vpip – c_pfr))
, format('TAG')
, if ((c_vpip > 20 and c_vpip <= 35)
and c_pfr > (c_vpip – c_pfr))
, format('LAG')
, format('-'))