Skip to contents

Calculate the percentage of time team A beats team B at home based of the percentage of time team A wins on a neutral field and the league average win percentage at home.

Usage

calc_hfa(win_p_neutral, win_p_leag_hm)

Arguments

win_p_neutral

percentage of time team A beats team B on neutral field.

win_p_leag_hm

league average win percentage for home teams.

Value

numeric scalar between 0 and 1

References

See post by Ganchrow at the SBR forum for details Home field advantage

Examples

calc_hfa(.142, .61)
#> [1] 0.205631