@np.deprecate(message='stats.f_value deprecated in scipy 0.17.0')
def f_value(ER, EF, dfR, dfF):
 return (((ER - EF) / float((dfR - dfF))) / (EF / float(dfF)))

@ np . deprecate ( message = 'stats.f_value deprecated in scipy 0.17.0' ) def f_value ( ER , EF , dfR , dfF ) : return ( ( ( ER - EF ) / float ( ( dfR - dfF ) ) ) / ( EF / float ( dfF ) ) )
returns an f-statistic for a restricted vs .