Now, use a filter to select the trips that start from station ID 327, 426, and 3002. Is the average trip that starts from these three stations shorter or longer than 805 seconds? Is this difference statistically significant? Give the p-value and interpret it.
Start Station Id | Avg. Trip duration | Count of Trip duration | End Station Latitude | End Station Longitude |
327 | 963 | 4,099 | 41 | -74 |
426 | 1,021 | 7,795 | 41 | -74 |
3002 | 1,004 | 5,209 | 41 | -74 |
Following are the hypothesis under styds,
H0 There no difference in the average sec of the trip
H1 The average is less than 805
Using fillowfol values of t statistic and df and using t table
P values = 0.3727
Interpretation - at 5% level of significance we fail to reject H0 and hence, There no difference in the average sec from three locations and they are same as 805
Get Answers For Free
Most questions answered within 1 hours.