basketball: Basketball Data

Description Usage Format Details Source Examples

Description

An experiment conducted on April 18th 1996 at Bryan Park, Bloomington, Indiana. These data record the number of successes within six attempts to hit a basketball from the distance recorded

Usage

1

Format

'basketball' is a data frame with 20 observations on the following 5 variables.

Distance

Distance from the hoop (feet)

Steve

Steve's score

Andy

Andy's Score

Chris

Chris' Score

Bernard

Bernard's Score (attempts abandoned after 10 feet)

Details

Further details on the experiment are given in Flury (1997), Table 7.5.4 (page 532)

Source

Flury, B.D. (1997) "A First Course in Multivariate Statistics", Springer NY

Examples

1
2
3
4
5
6
7
data(basketball)
## Not run: 
bb <- glm(cbind(Andy, 6-Andy) ~ sqrt(Distance),
family = binomial, data = basketball)
with(basketball, (plot(Distance, Andy/6, main = "Andy's Success Rate") ))
lines(basketball$Distance, predict(bb, type = "response"))
## End(Not run)

Flury documentation built on May 1, 2019, 6:50 p.m.