Sta416 Assignment
Sta416 Assignment
STA416-FRONT PAGE
APPLIED PROBABILITY & STATISTICS
LECTURER
DR. NOOR FADHILAH BINTI AHMAD RADI
Total
TABLE OF CONTENT
1
1.0 INTRODUCTION………………………………………………………………………
2.0 OBJECTIVES………………………………………………………………………
3.0 SAMPLING TECHNIQUES…………………………………………………………
4.0 DATA COLLECTION METHOD………………………………………………………
5.0 DATA ANALYSIS AND RESULT…………………………………………………
5.1 YEAR 2011…………………………………………………………………
5.2 YEAR 2012………………………………………………………………….
5.3 YEAR 2013……………………………………………………………………
5.4 YEAR 2014……………………………………………………………………
5.5 YEAR 2015…………………………………………………………………….
6.0 CONCLUSION……………………………………………………………………….
2
1.0 INTRODUCTION
Fire is the rapid oxidation of a substance (the fuel ), releasing heat, light and
different reaction products. Flames are created at a specific stage of the
combustion reaction known as the ignition point. The part of the fire that can be
seen is the flame. Carbon dioxide, water vapor, oxygen and nitrogen make up
most of a flame. The gases could form plasma if they get hot enough to ionize
them. The color of the flame and the strength of the fire will vary depending on
the materials that are burning as well as any outside pollutions. The fire
incidences in Malaysia, the government must raise public awareness of the need
of maintaining building safety. According to Datuk Wan Mohd Nor Ibrahim,
director – general of the Fire and Rescue Department, on average at about 6000
buildings are damaged by fire each year across the country. There are about 40%
that is according to him are private residences while the remaining 60% are
different types of structures like offices, factories, schools and shophouses.
The most frequent form of fire is conflagration that has a capacity to harm
physical objects through burning. Fire is a significant process that has an impact
on ecological systems all around the world. Fire has beneficial impacts such as
promoting growth and preserving different ecological systems. Hazard to life and
property, air pollution and water contamination are some of its detrimental effects.
Heavy rains may enhance soil erosion by water if a fire destroys protecting plans.
Additionally, nitrogen is released into the atmosphere when vegetation is burned
as opposed to potassium and phosphorus which remain in the ash and are
promptly recycled into the soil. A fire’s loss of nitrogen results in a long-term
decline in the fertility of the soil.
One of the four classical elements that fire has been utilized by humans for
ceremonies, land clearing in agriculture, cooking, producing heat and light,
smelling, fogging and as a weapon or tool of destruction.
A fire can start in a split second and rage unabated until its fuel supply runs out,
destroying homes and other property. It’s crucial to have a fundamental
awareness of the many sorts of flames, how they spread and the associated
dangers to watch out for in order to prevent a tragic fire-related loss.
3
2.0 OBJECTIVES
There are objectives for our research, the objectives are to learn what fire cases
data by state. First objectives because fire cases by state occur every year and
we want to determine how often cases of fires occur within a year.
4
3.0 SAMPLING TECHNIQUE
The group that we want to do research is the state from all Malaysia in
year 2011 to 2015. The state that we are having is 16 states.
Kedah Pulau
Perlis Pinang
Melaka Perak
Sarawak Selangor
W.P
Kelantan
Putrajaya
Johor
W.P.
Sabah Pahang
Labuan
5
3.2 DEFINE VARIABLE
The method that we used is stratified random sampling. Stratified random sampling
one of probability sampling which is convenient to use to get the samples from large
population. The reason our group choose this sampling method because it can be
accurately divided the population into specific criteria (strata) such as state and year.
This technique helps the research more realistic to calculate the accurate sample from
the large population.
6
4.0 DATA COLLECTION METHOD
The method we are using to gather our data is by using secondary data. It is
referred to as the gathering of second -hand data collected by an individual who
is not the original user. We got our data via official government website. From that
website we obtained a lot of information, but we only used the information related
to the case study only.
7
5.0 DATA ANALYSIS AND RESULTS
The bar chart below depicts fire cases by 16 states in 2011. According to
the bar chart, the highest of fire cases in 2011 is Selangor which has
recorded at 7882 number of cases (27.42%) and the lowest of fire cases in
2012 is W.P Putrajaya which has recorded at 72 number of cases (0.25%).
8
Σfx
Mean, x =
Σf
= 29200 / 16
= 1825
Median
= (3829 + 4330) / 2
= 4079.5
9
Mode
Lmo = 1073.5
d1 = 3
d2 = 2
C m = 16
= 1073.5 + (3 / 3+2) x 16
= 1121.5
Variance
2
S = (229-1825)2 + (1887-1825)2 + (1933-1825)2 + (3386-1825)2 + (7882-1825)2 + (1799-
1825)2 + (1430-1825)2 + (1360-1825)2 + (3419-1176)2 + (1176-1825)2 + (815-1825)2 +
(595-1825)2 + (1140-1825)2 + (1478-1825)2 + (140-1825)2 + (72-1825)2
16
= 54056525 / 16
= 3378532.813
Standard Deviation
¿ √ 3378532.813
=1838.0786
Meaning: The fire data by state (cases) in year 2011 deviated as much as 1838.0786
from its mean of 1825
10
Measure of skewness
mean−mode 3(mean−median)
Skewness = or =
standard deviation standard deviation
1825−1121.5 3(1825−4079.5)
= or =
1838.0786 1838.0786
= 0.3827 or -3.6797
Shape of distribution
1838.0786
CV = x 100%
1825
= 100.7%
Meaning: The fire data by states in year 2011 deviated approximately 100.7% from its
mean.
11
5.2 FIRE CASES BY STATE IN YEAR 2012
The bar chart below depicts fire cases by 16 states in 2012. According to the bar chart,
the highest of fire cases in 2012 is Selangor which has recorded at 8003 number of
cases (26.79 %) and the lowest of fire cases in 2012 is W.P Putrajaya which has
recorded at 81 number of cases ( 0.27 % ).
13
Mean, sum / num
= 10177 / 8
= 1272.125
Meaning = The average fire cases by state in 2012 is 1272.125 cases.
Median :
3586 / 2 =
Lm = 3586.5
Fm = 16
= 1121.5 cases
Mode :
Modal class is 1082 – 1582 and 1583 – 2083 ( class with highest frequency )
Variance :
= 1263129
Standard Deviation :
s = √ 1263129
= 1123.89
Meaning : The fire cases in year 2012 that deviated as much as 1123.89 cases.
14
Measure of skewness :
Standard deviation
= - 0.276
Shape of distribution
1123.89
CV = x 100%
1272.125
= 88.35%
Meaning: The fire data by states in year 2012 deviated approximately 88.35% from its
mean.
15
5.3 FIRE CASES BY STATE IN YEAR 2013
The bar chart below depicts fire cases by 16 states in 2013. According to
the bar chart, the highest of fire cases in 2012 is Selangor which has
recorded at 7639 number of cases (22.71 %) and the lowest of fire cases
in 2013 is W.P Putrajaya which has recorded at 86 number of cases
(0.26%).
16
Σfx
Mean, x =
Σf
33640
=
16
= 2102.5
Meaning: The average of fire by state in year 2013 is 2102.5 cases.
Median
3843+4344
=( )
2
8187
=
2
= 4093.5
Lm = 16.5
f m = 14.5
Σ f m−1 = 4
C m = 16
Σf = 16
16
−4
= 16.5 + ( 2 x 16
¿
14.5
= 268.41
Meaning: The fire by state in year 2013 more or less than 268.41 cases.
17
Mode
Modal class is 7601-8101 (class with the highest frequency)
Lmo = 7601.5
d1 = 1
d2 = 1
C m = 16
1
= 7601.5 + ( ¿ x 16
1+ 1
= 121.66
Meaning: Most data fire by state in year 2013 are 121.66 cases.
Variance
2 ( Σfx )2
s = ¿
n
2
s=
2 2 2 2 2 2
(412−2102.5) +(2197−2102.5) +(2046−2102.5) +(3772−2102.5) +(7639−2102.5) +(1907−2102.5) +(15
+
(4578−2102.5)2+(1633−2102.5)2 +(1427−2102.5)2 +( 914−2102.5)2 +(1578−2102.5)2+(1954−2102.5)2
+(200−2102.5)2 +(86−2102.5)2
16-1
71450452
=
15
= 4763363.466
Standard Deviation
s = √ 4763363.466
s = 2182.513
Meaning: The fire data by state (cases) in year 2013 deviated as much as 2182.513
from its mean of 2102.5
Measure of skewness
Pearson Coefficient of Skewness
18
mean−mode 3 ( mean−median )
Skewness = ∨¿
s tan dard deviation s tan dard deviation
2102.5−121.66 3 ( 2102.5 – 4093.5 )
= ∨
2182.513 2182.513
1980.84 −5973
= ∨
2182.513 2182.513
= 0.907 or -2.736
Shape of distribution
2182.513
CV = x 100%
2102.5
= 103.80%
Meaning: The fire data by states in year 2013 deviated approximately 103.80% from its
mean.
19
5.4 FIRE CASES BY STATE IN YEAR 2014
The bar chart below depicts fire cases by 16 states in 2014. According to
the bar chart, the highest of fire cases in 2014 is Selangor which has
recorded at 9111 number of cases (16.71%) and the lowest of fire cases in
2012 is W.P Putrajaya which has recorded at 102 number of cases
(0.19%).
20
Σfx
Mean, x =
Σf
= 45861 / 16
= 2866.3125
Median
= (4360 + 4861) / 2
= 4610.5
21
Mode
2607 – 3107 (class with highest frequency)
Lmo = 2606.5
d1 = 3
d2 = 2
C m = 16
= 2606.5 + (3 / 3+2) x 16
= 2654.5
Meaning = Most of fire by state in year 2014 are 2654.5 cases.
Variance
= 6514652.541
Standard Deviation
¿ √ 6514652.541
=2552.3817
Meaning: The fire data by state (cases) in year 2014 deviated as much as 2552.3817
from its mean of 2866.3125
22
Measure of skewness
mean−mode 3(mean−median)
Skewness = or =
standard deviation standard deviation
2866.3125−2654.5 3(2866.3125−2654.5)
= or =
2552.3817 2552.3817
= 0.0830 or 0.2495
Shape of distribution
2552.3817
CV = x 100%
2866.3125
= 89.05%
Meaning: The fire data by states in year 2014 deviated approximately 89.05%from its
mean.
23
5.5 FIRE CASES BY STATE IN YEAR 2015
The bar chart below depicts fire cases by 16 states in 2015. According to
the bar chart, the highest of fire cases in 2015 is Selangor which has
recorded at 6827 number of cases (16.70%) and the lowest of fire cases in
2012 is W.P Putrajaya which has recorded at 87 number of cases (0.21%).
24
Σfx
Mean, x =
Σf
40865
=
16
= 2554.06
Meaning: The average of fire by state in 2015 is 2554.06 cases.
Median
2842+ 3343
( ¿
2
6185
=
2
= 3092.5
Lm = 16.5
f m = 14
Σ f m−1 = 3
C m = 16
Σf = 16
16
−3
= 16.5 + ( 2 x 16
¿
14
= 269.71
Meaning: The fire data by state more or less than 269.71 cases.
25
Mode
Modal class is 7601-8101 (class with the highest frequency)
Lmo = 6600.5
d1 = 1
d2 = 2
C m = 16
1
= 6600.5 + ( ¿ x 16
1+ 2
= 105613.33
Meaning: Most data fire by state in 2015 are 105613.33 cases.
Variance
2 ( Σfx )2
s = ¿
n−1
s2 =
( 717−2554.06 )2 + ( 2709−2554.06 )2+ ( 2731−2554.06 )2 + ( 3589−2554.06 )2+ ( 6827−2554.06 )2 + ( 1621−2554.06 )2
16-1
55628120.68
s2 =
15
s2 = 3708541.378
Standard Deviation
s = √ 3708541.378
s = 1925.757
Meaning: The fire data by state (cases) in 2015 deviated as much as 1925.757 from its
mean of 2554.06
Measure of skewness
Pearson Coefficient of Skewness
mean−mode 3 ( mean−median )
Skewness = ∨¿
s tan dard deviation s tan dard deviation
2554.06−121.66 3 ( 2554.06 – 3092.5 )
= ∨
1925.757 1925.757
26
2432.4 −1615.32
= ∨
1925.757 1925.757
= 1.263 or – 0.838
Shape of distribution
1925.757
CV = x 100%
2554.06
= 75.39%
Meaning: The fire data by states in 2015 deviated approximately 75.39% from its mean.
27
6.0 CONCLUSION
28