0% found this document useful (0 votes)
56 views5 pages

Muhammad Palize Qazi - 24027 - Assignment 2

This document contains the analysis of air quality index (AQI) data from Delhi and Lahore. The analysis includes: 1. Calculating descriptive statistics for the AQI data from both cities. 2. Checking if the data follows a normal distribution using z-scores and scatter plots. 3. Testing the claim that Delhi's AQI is equal to 150, which is accepted. 4. Testing if Lahore's AQI indicates a "very unhealthy" level, which is also accepted. 5. Comparing the AQI between the two cities, finding that Lahore has a statistically higher AQI than Delhi.

Uploaded by

Palize Qazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views5 pages

Muhammad Palize Qazi - 24027 - Assignment 2

This document contains the analysis of air quality index (AQI) data from Delhi and Lahore. The analysis includes: 1. Calculating descriptive statistics for the AQI data from both cities. 2. Checking if the data follows a normal distribution using z-scores and scatter plots. 3. Testing the claim that Delhi's AQI is equal to 150, which is accepted. 4. Testing if Lahore's AQI indicates a "very unhealthy" level, which is also accepted. 5. Comparing the AQI between the two cities, finding that Lahore has a statistically higher AQI than Delhi.

Uploaded by

Palize Qazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

SI ASSIGNMENT 2

MUHAMMAD PALIZE QAZI - 24027

Class = 6478
1. Calculate the descriptive statistics (mean, standard deviation, etc.) for the
AQIs of Lahore and Delhi using Minitab

Statistics
Variable N Mean SE Mean StDev Variance Minimum Q1 Median Q3
Delhi AQI Data 200 157.13 5.15 72.86 5308.88 5.00 121.25 164.50 187.75
Lahore AQI 200 201.35 5.11 72.32 5229.76 78.00 159.00 176.00 222.00
Data
Variable Maximum Range IQR Mode N for Mode Skewness Kurtosis
Delhi AQI Data 389.00 384.00 66.50 154, 7 0.11 0.39
178
Lahore AQI 503.00 425.00 63.00 158 7 1.97 4.41
Data

2. Find the z-scores of each variable and create scatter plots to evaluate if the
two variables follow normal distribution

This graph shows that only 1 observation has a Z-score above 3, and none have a Z-score below -3, so by
extension 99.5% of the scores fall between -3 and +3. The skewness for this data is also low (0.11),
which means that we can claim that the data for Delhi is normally distributed.
The data for Lahore has more skewness (1.97) and kurtosis (4.41) than for Delhi as most of the values are in the
region of -1 to 0. Additionally, 4 of the observations have a Z-score greater than 3, so only 98% of the data is in the
region of -3 to +3. Since normally distributed random variables have a low skewness and kurtosis and >99% of data
falls between +-3, this data is not normally distributed.
3. With 𝛼 = 5%, test the claim that AQI of Delhi is equal to 150. Interpret the
results.

Descriptive Statistics
N Mean StDev SE Mean 95% CI for μ
200 157.13 72.86 5.15 (147.04,
167.23)

μ: population mean of Delhi AQI Data


Known standard deviation = 72.86

Test
Null hypothesis H₀: μ = 150

Alternative hypothesis H₁: μ ≠ 150

Z-Value P-Value
1.38 0.166

Since the calculated Z-value is less than tabular Z-value (1.38<1.96), the null hypothesis of AQI-Delhi μ = 150 is
accepted and the alternative hypothesis is rejected.

4. Also, test the claim that AQI of Lahore has ‘very unhealthy’ level of concern or
worse i.e., 𝐴𝑄𝐼 𝐿𝑎ℎ𝑜𝑟𝑒 is more than 201. (𝛼 = 5%)

Descriptive Statistics
95% Lower Bound
N Mean StDev SE Mean for μ
200 201.35 72.32 5.11 192.94

μ: population mean of Lahore AQI Data


Known standard deviation = 72.32

Test
Null hypothesis H₀: μ ≥ 201

Alternative hypothesis H₁: μ < 201

Z-Value
0.07

The null hypothesis here is that μ ≥ 201 which means ‘very unhealthy’ level or worse.
Since Calculated Z-value < Tabulated Z-Value (0.07 < 1.65), the null hypothesis is accepted and the alternative
hypothesis is accepted.
5. With 95% confidence level, check whether Delhi is less polluted than Lahore
i.e., test hypothesis that Lahore has higher AQI than that of Delhi, and
provide a suitable interpretation for the result.

Descriptive Statistics
Sample N Mean StDev SE Mean
Delhi AQI Data 200 157.1 72.9 5.2
Lahore AQI 200 201.3 72.3 5.1
Data

Estimation for Difference


95% Upper Bound
Difference for Difference
-44.22 -32.25

Test
Null hypothesis H₀: μ₁ - µ₂ = 0

Alternative hypothesis H₁: μ₁ - µ₂ < 0

T-Value DF P-Value
-6.09 397 0.000

In this case, the alternative hypothesis is that the AQI for Lahore is higher.

The |calculated T-score| > | Tabulated T-score| as 6.09 > 1.65. Therefore, the null hypothesis is rejected
and the alternative hypothesis is accepted showing that Lahore AQI is indeed higher.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy