NonCentralFRatio
public enum NonCentralFRatio
Non central F Ratio distribution
-
Returns a SSProbDistParams struct containing mean, variance, kurtosis and skewness of the noncentral F ratio distribution.
Throws
SSSwiftyStatsError if df1 <= 0 and/or df2 <= 0Declaration
Swift
public static func para<FPT>(numeratorDF df1: FPT, denominatorDF df2: FPT, lambda: FPT) throws -> SSProbDistParams<FPT> where FPT : Decodable, FPT : Encodable, FPT : SSFloatingPoint
Parameters
df1
numerator degrees of freedom
df2
denominator degrees of freedom
lambda
noncentrality
-
Returns the pdf of the F-ratio distribution.
Throws
SSSwiftyStatsError if df1 <= 0 and/or df2 <= 0Declaration
Swift
public static func pdf<FPT>(f: FPT, numeratorDF df1: FPT, denominatorDF df2: FPT, lambda: FPT) throws -> FPT where FPT : Decodable, FPT : Encodable, FPT : SSFloatingPoint
Parameters
f
f-value
df1
numerator degrees of freedom
df2
denominator degrees of freedom
lambda
Noncentrality
-
Returns the cdf of the noncentral F-ratio distribution. (http://mathworld.wolfram.com/F-Distribution.html)
Throws
SSSwiftyStatsError if df1 <= 0 and/or df2 <= 0Declaration
Swift
public static func cdf<FPT>(f: FPT, numeratorDF df1: FPT, denominatorDF df2: FPT, lambda: FPT) throws -> FPT where FPT : Decodable, FPT : Encodable, FPT : SSFloatingPoint
Parameters
f
f-value
df1
numerator degrees of freedom
df2
denominator degrees of freedom
lambda
Noncentrality