Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

test = ?? A local parks and recreation board is considering building a new set of bike trails. Before building new trails, they decide to

test = ??
image text in transcribed
image text in transcribed
A local parks and recreation board is considering building a new set of bike trails. Before building new trails, they decide to look at how many riders are using an existing bike trail over a random sample of 90 days. - The parks and recreation board believes that the average number of riders per day (volume) is more than 375. Complete the code to test this hypothesis using ttest_1samp(). The code provided loads the dataset and packages and prints the test statistic and p-value. 1 \# Import packages and functions 2 import pandas as pd from scipy, stats import ttest_1samp 4 5 \# Laad the dataset 6 trails = pd, read_csv('trails.csv') 7 8 H Find the test statistic and p-value 9 test = Y Your code goes here 10 11 print('Test statistic: ', test [0]) 12 print('p-value:', test [1]) A local parks and recreation board is considering building a new set of bike trails. Before building new trails, they decide to look at how many riders are using an existing bike trail over a random sample of 90 days. - The parks and recreation board belleves that the average number of riders per day (volume) is more than 375 . Complete the code to test this hypothesis using ttest_ 1samp(). The code provided loads the dataset and packages and prints the test statistic and p-value. 1 highterop, lowtemp, avgtemp, season, cloudcover, precip, volume, highvolume, lowvolume, daytype 283,50,66,5, summer, 7,599999905,0,501,1,6, weekday 3.73,49,61, summer, 6.300009191,0.289999992,419,1,0, weekday 4. 74,52,63, spring ,7.5,0.319999993,397,0,0, weekday 595,61,78, summer, 2.599999905,0,385,0,0, weekend 644,52,48, spring, 10,0.140000001,200,0,1, weekday 769,54,61.5, spring ,6.59999995,0.02,375,0,8, weekday 866,39,52.5, spring 2.406000095,0,417,1,0,weekday 966,38,52, spring 0,0,629,1,0, weekend 1080,55,67,5, summer, 3.799999952,0,533,1,0, weekend 1179,45,62, summer, 4.099999905,0,547,1,0, weekday 1278,55,66,5, summer, 8.5,0,432,1,0, weekday 1365,48,56.5, spring,7,199999809, 0,418,1,0,weekday 1441,49,45, spring 10,0.029999999,193,0,1, weekday 1559,35,47, fatl 7.699999809,0,331,0,0, weekday

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

describe and present a summary of data you have collected.

Answered: 1 week ago

Question

Understand why customers are loyal to a particular service firm.

Answered: 1 week ago