over_under_ols: Use ols to estimate the total points scored in a game between...

View source: R/overunder.R

over_under_olsR Documentation

Use ols to estimate the total points scored in a game between tm1 and tm2

Description

Use ols to estimate the total points scored in a game between tm1 and tm2

Usage

over_under_ols(design, tm1, tm2, a = 0.05, verbose = TRUE)

Arguments

design

Design object with information from a collection of games. This is a list that is the output of get_design()

tm1

A substring of the name of the first team

tm2

A substring of the name of the second team

a

The confidence level of the interval we estimate

verbose

Whether or not a lengthy readout of the estimate is desired

Examples

design <- get_design(regssn2021)
over_under_ols(design, "Rams", "Bengals")

przybylee/NFLpredictions documentation built on Feb. 9, 2025, 9:22 p.m.