inst/snippet/ncaa2010-bt-hc-look.R

# the "order effect" is the coefficient on "at.home"
coef(ncaa.model2)["at.home"] -> oe; oe
# expressed a multiplicative odds factor
exp(oe)
# prob home team wins if teams are "equal"
require(faraway); ilogit(oe)   

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 1, 2019, 11:18 p.m.