The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 906 errorHandler->error_callback




 
  • 0 Vote(s) - 0 Average
Comp Formula As Requested
#1
*Group 1: 1B/3B/LF/RF
replace COMPOSITE= ( (pa/37.5) + (avg * 50) + (obp * 66.67) + (hr/2) + (rbi/7.5) ) if p=="1B" | p=="3B" | p=="LF" | p=="RF"
replace GROUP=1 if p=="1B" | p=="3B" | p=="LF" | p=="RF"
drop if GROUP==1 & pa<100

*Group 2: 2B/SS/CF
replace COMPOSITE = ( (pa/40) + (avg * 50) + (obp * 37) + (hr/3.33) + (rbi/8) + ((rng+fld)/15) + (sb/7) ) if p=="2B" | p=="SS" | p=="CF"
replace GROUP=2 if p=="2B" | p=="SS" | p=="CF"
drop if GROUP==2 & pa<100

*Group 3: C
replace COMPOSITE = ( (pa/29.5) + (avg*45) + (obp*48) + (hr/1.9) + (rbi/8.33) + (rto/2.5)) if p=="C"
replace GROUP=3 if p=="C"
drop if GROUP==3 & pa<100

*Group 4: SP
replace COMPOSITE= (((((games-starts)*.5)+starts)/2.33) + (ip/25) + ((w+sv)/1.67) + (20/whip) + (k9*1.37) + (3 / hr9) + (30/era) ) if p=="SP"
replace GROUP=4 if p=="SP"
drop if GROUP==4 & ip<50

*Group 5: RP
replace starts=0 if p=="RP"
replace hr9=.01 if hr9==0 & p=="RP"
replace COMPOSITE= ((((games-starts)+(starts*2))/8) + (ip/10) + ((w+sv)/2.5) + (20/whip) + (k9*1.2) + (3/hr9) + (30/era) ) if p=="RP"
replace GROUP=5 if p=="RP"
drop if GROUP==5 & ip<20
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Messages In This Thread
Comp Formula As Requested - by jhc54 - 03-17-2013, 11:07 PM

Forum Jump: