Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

In [ ]: # code here In [ ]: # code here In [ ]: # code here In [ ]: # code here In [ ]: # code here In [ ]: # code here In [ ]: # code here In [ ]: # code here In [ ]: # code here In [ ]: # code here...

1 answer below »
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
In [ ]:
# code here
Answered Same Day Mar 15, 2021

Solution

Ximi answered on Mar 17 2021
140 Votes
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Here, we'll be working with some data from the Indego bikeshare company:\n",
"\n",
"- `./data/indego-trips-2017-q3.csv`\n",
"\n",
"Our goal is to look at a particular numeric aspect:\n",
"\n",
"- how often bikes get used (and worn out).\n",
"\n",
"The entire data set takes place over a quarter of 2017. So all of the bikes are represented according to the same quantity of time, right? Well, if so and if each gets rented randomly at a fixed rate, $\\lambda$, then the distribution of bike usage probabilities:\n",
"\n",
"$$P(\\text{a bike gets rented }\\:x\\:\\text{ times in a quarter})$$\n",
"\n",
"will be a Poisson distribution! Let's investigate to see if we can support this possibility."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"__C1.__ _(2 pts_) To get started, import pandas and load the data as usual. Print the spreadsheet's head so that the data's structure is close at hand."
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"
\n",
"