









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Temperature data of Birmingham city
Days Temperature in °C
Day 1 10
Day 2 10
Day 3 9
Day 4 6
Day 5 6
Day 6 9
Day 7 6
Day 8 11
Day 9 8
Day 10 5
(CustomWeather, 2022)
Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Day 9 Day 10
0
2
4
6
8
10
12
10 10
9
6 6
9
6
11
8
5
Temperature in °C
(a). Column Chart
0 2 4 6 8 10 12
0
2
4
6
8
10
12
10 10
9
6 6
9
6
11
8
5
Temperature in °C
(b). Line Chart
Discussion: In mathematics or statistics, the mean value of a data series is the average of
total values of the dataset. The estimation of mean value is similar to the estimation of
average value. That means, the sum total of all item in the dataset are divided by the number
of elements present in the data set (Wan et al, 2017).
Formula of mean value:
Mean value
μ
∑
total of all terms
Number of terms
¿ , μ = a
1
2
a
3 + ¿..+ a
n
n
¿ , μ =
∑
n = 1
n
a
n
n
n = Number of terms (n = Positive Rational number)
Median value =
( n + 1 )
th value
[ n = Number of terms ( n = Odd , positive rational number )]
For an even dataset:
Median value =
(
n
)
th value
(
n
)
th value
[ n = Number of terms ( n = Even , positive rational number )]
Calculation:
Rearranging the series in ascending order:
Temperature data of Birmingham city
Days Temperature in °C
Day 10 5
Day 4 6
Day 5 6
Day7 6
Day 9 8
Day 3 9
Day 6 9
Day 1 10
Day 2 10
Day 8 11
(Temperature data in ascending order)
Number of terms in the recorded data series is even. Thus,
MedianTemperature =
(
n
)
th value
(
n
)
thvalue
Here n = 10,
MedianTemperature =
(
)
th value
(
)
th value
th value
th value
Answer: The median temperature of the temperature is 8.5°C
Discussion:
In statistics the term mode is mentioned as the value which have the maximum appearance in
a data series. The mode value is not related with the number of elements in a series but with
the number of times a similar value has appeared (George and Mallery, 2018).
Calculation:
Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Day 9 Day 10
0
2
4
6
8
10
12
10 10
9
6 6
9
6
11
8
5
Temperature in °C
Variance
σ
2
∑
n = 1
n
a
n
− μ
2
n
Thus , Standard deviation
σ
∑
n = 1
n
a
n
− μ
2
n
Here, n = Number of terms ( n = positive rational number )
μ = Mean value
a n
= Value of n
th
term ( n = Positive rationalnumber )
Calculations:
Standard deviation of the temperature data
Days Temperature in °C μ
a
n
− μ
a
n
− μ
2
Day 1 10 8 2 4
Day 2 10 8 2 4
Day 3 9 8 1 1
Day 4 6 8 -2 4
Day 5 6 8 -2 4
Day 6 9 8 1 1
Day 7 6 8 -2 4
Day 8 11 8 3 9
Day 9 8 8 0 0
Day 10 5 8 -3 9
Total
80 80 0 40
Value of μ is collected from previous calculations.
As per the formula, σ =
Answer: The standard deviation of recorded temperature series is 2℃
Discussion:
The equation for linear forecasting model is
y = mx + c
. In this linear equation the constant
‘m’ represents slope of the line and ‘c’ represents the y-intercept of the line. Depending on
the past values the linear forecasting model is established. The forecasted temperature will lie
upon the extended path of the linear model. It is comparatively simple than the nonlinear
model but have more scope of error. However, by using the list square method in the linear
regression model, the sum square of error values can be controlled (Schmidt and Finan,
Considering, temperature data into y-axis and day numbers in x-axis:
Days (x) Temperature in °C (y)
n = number of terms ( n = positive rational number )
m = slope
Therefore,
Answer: The value of the y-intercept is 9.5333. The answer is suggesting that the linear
equation will intercept the y-axis on (0, 9.5333) point.
0 2 4 6 8 10 12
0
2
4
6
8
10
12
10 10
9
6 6
9
6
11
8
5
f(x) = − 0.28 x + 9.
R² = 0.
Temperature in °C
Temperature in °C Linear (Temperature in °C)
(Linear forecasting model)
Temperature forecast for 12
th
day:
x = 12
m = -0.
c = 9.
y = mx + c
¿ , y =−0.2788∗ 12 +9.
¿ , y =6.1877=6.
Answer: The temperature on 12
th
day will be 6.2℃
Temperature forecast for 14
th
day:
x = 14
m = -0.
c = 9.
y = mx + c
¿ , y =−0.2788∗ 14 +9.
¿ , y =5.6301=5.
Answer: The temperature for 14
th
day will be 5.6℃
As it was anticipated from the linear forecasting model, the temperatures are continuously
decreasing. The 14
th
day temperature is lower than the 12
th
day temperature.
Linear forecasting model is comparatively a simple technique to determine forecasts.
However, the error increased as the result contains the sum square of all errors. The least
square method to calculate the regression model helps to minimise the error. This study has
recoded the Birmingham city temperature for 10 continuous days and analysed the data. In
conclusion, linear forecasting model using least square linear regression technique was
established and temperature forecasts was anticipated.
Arian, M. and Soleimani, M., 2020. Practical calculation of mean, pooled variance, variance,
and standard deviation, in meta-analysis studies. Nursing Practice Today , 7 (1), pp.5-11.
George, D. and Mallery, P., 2018. Descriptive statistics. In IBM SPSS Statistics 25 Step by
Step (pp. 126-134). Routledge.
Pyrczak, F., 2016. Success at statistics: A worktext with humor. Routledge.
Schmidt, A.F. and Finan, C., 2018. Linear regression and the normality assumption. Journal
of clinical epidemiology , 98 , pp.146-151.
Spiegel, M.R. and Stephens, L.J., 2018. Schaum's outline of statistics. McGraw-Hill
Education.
Thomas, J. and Princy, R.T., 2016, March. Human heart disease prediction system using data
mining techniques. In 2016 international conference on circuit, power and computing
technologies (ICCPCT) (pp. 1-5). IEEE.
Wan, X., Wang, W., Liu, J. and Tong, T., 2017. Estimating the sample mean and standard
deviation from the sample size, median, range and/or interquartile range. BMC medical
research methodology , 14 (1), pp.1-13.
CustomWeather, 2022: , (CustomWeather, 2022),