Question: PYTHON LAB To complete the lab report, you are expected to modify and run the codes given in the book sections as well as to

PYTHON LAB

To complete the lab report, you are expected to modify and run the codes given in the book sections as well as to research topics that are not discussed in depth. Therefore, give yourself plenty of time and seek help if you have problems.

x=[35, 79, 53, 90, 64, 64, 48, 60, 82, 25, 65, 58, 55, 37, 66, 71, 60, 32, 29, 21, 62, 68, 70, 53, 49, 66, 67, 75, 60, 43,

57, 60, 53, 58, 60, 40, 68, 25, 59, 58, 68, 35, 97, 66, 23, 63, 66, 64, 77, 56, 60, 68, 59, 45, 58, 49, 59, 71, 68,

62, 56, 83, 71, 29, 30, 32, 33, 35, 77, 71, 58, 47, 36, 35, 36, 33, 80, 30, 77, 73, 81, 75, 63, 77, 59, 28, 61, 64, 64, 73, 71, 62, 55,

62, 73, 41, 65, 49, 57, 66, 74, 60, 63, 78, 58, 58, 28, 74, 68, 72, 51, 77, 64, 86, 23, 47, 79, 65, 50,

85, 73, 68, 76, 35]

Exploratory Data Analysis with Boxplot

Q1) box of the data given in the previous step. Copy/Paste the boxplot below. Is there any outlier in the data? Is the distribution of the data symmetric? Explain how you can answer these questions using the boxplot.

Discovering Relationships Between Variables

Q1) scatter plot of N2O versus Population and interpret the relationship between N2O and Population. Provide the screen capture of the code snippet and plot below.

Q2) Change the marker color based on the year the scatter plot of N2O versus Population. Summarize your observations. Provide the screen capture of the code snippet and plot below.

Q3) Update the scatter matrix plot of N2O, CO2, and Methane such that the marker color depends on the Year. Provide the screen capture of the code snippet and plot below. Interpret the plot.

Time Series Plot

Q1) Normalize CO2PC, N2OPC, and MethanePC variables and plot the normalized variables on the same plot. Interpret the resulting plot. Provide the screen capture of the code snippet and plot below. Interpret the plot.

Making Comparisons

Q1) In the dataset, we have a column called GDP (gross domestic product), which is an indicator of the total economic activity in a country. This time, we will compare the emissions per GDP, which could be a better metric than emissions per capita. Create new variables called CO2pGDP, N2OpGDP, and MethanepGDP by dividing the CO2, N2O, and Methane columns by the GDP column. Then, compare the CO2pGDP, N2OpGDP, and MethanepGDP levels before and after 1990. What are your conclusions? Interpret the plot. Provide the screen capture of the code snippet and plot below.

includesadd as part of something else; put in as part of a set, group, or categoryMore (Definitions, Synonyms, Translation)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!