Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are two approaches you can use: add suitable code to the provided file, then run it run the provided file first, to load the

There are two approaches you can use:

add suitable code to the provided file, then run it

run the provided file first, to load the required function and data into memory, then do the calculation in the interactive Python shell.

Feel free to choose the approach you prefer.

a.Figure 1 charts data about the highest points, i.e. the points with the highest altitudes above sea level, in each of 56 European countries (Wikipedia, 2017).

image text in transcribed

DATA LIST: https://codeshare.io/Gk30pp

https://codeshare.io/alld4j imports the Python function median. Use this function to find the median of the list heights.

Give the median, correct to the nearest whole number. Also copy and paste the Python code you used and briefly (in one or two sentences) explain how you ran it.

For this list of data the mean is 2185, which is smaller than the median. From looking at Figure 1 briefly suggest a possible reason.

----------------------

Part 2

Open this and inspect its contents. The lists cars and news contain yearly data about the number of cars on the road in the UK and the circulation of the Guardian newspaper respectively, over the years 2006-2016. Figure 2 shows a scatterplot of the two datasets. https://codeshare.io/GLyjWg

image text in transcribed

Using the i= function corr_coef , calculate the correlation coefficient between two lists. Use this function to calculate the correlation coefficient.

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

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

Simplify. 1 (-0.4)

Answered: 1 week ago

Question

What are some of the hiring standards to avoid?

Answered: 1 week ago

Question

=+Trainers from headquarters? Local trainers? Independent trainers?

Answered: 1 week ago