Description Usage Arguments Value
Computes whether there is a noticable association between weather and average ticket sales revenue
1 2 | homerun_probability_computation(homerun_array, temp_array, humid_array,
temperature, humidity)
|
humid_array |
vector containing the max humidity for the day the baseball game was on |
temperature |
a temperature of interest to plug into the binomial logistic regression |
humidity |
a humidity of interest to plug into the binomial logistic regression |
homerun |
Binoary response variable stating whether or not a home run was hit during that days game |
temp_arrau |
vector containing the mean temperature for the day the baseball game was on |
The probability of there being a home run based on your inputted arrays and temperature and humidity of interest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.