Factors of Facility Condition

Sportand Recreational Facilities

Chien-Yao Lin (s3790516)
Mingjin Pan (s3742684)

Last updated: 27 October, 2019

Introduction

Problem Statement

Data

Data Cont.

Data Cont.

Descriptive Statistics and Visualisation

Decsriptive Statistics Cont.

Decsriptive Statistics Cont.

Decsriptive Statistics Cont.

Decsriptive Statistics Cont.

Hypothesis Testing

chi2_con_street <- chisq.test(table(df$FacilityCondition, df$StreetType))
chi2_con_street
## 
##  Pearson's Chi-squared test
## 
## data:  table(df$FacilityCondition, df$StreetType)
## X-squared = 12.446, df = 12, p-value = 0.4105

Hypthesis Testing Cont.

chi2_con_age <- chisq.test(table(df$FacilityCondition, df$FacilityAge))
chi2_con_age
## 
##  Pearson's Chi-squared test
## 
## data:  table(df$FacilityCondition, df$FacilityAge)
## X-squared = 1660.1, df = 16, p-value < 2.2e-16

Because \(p\)-value < 2.2e-16 < \(\alpha\) = 0.05 and , we reject \(H_0\). As a result, the test is statistically significant to support \(H_A:\) There is an association in the population between FacilityCondition and FacilityAge.

Discussion

Discussion Cont.