The document discusses using regression analysis to analyze stock price data from several companies. It calculates arithmetic means, standard deviations, and coefficients of variation to compare opening and closing prices. Correlation is analyzed between opening and closing prices. Line graphs and scatter plots are drawn to visualize the relationships, showing low correlation between opening and closing prices except for one company. Trend analysis is mentioned to study patterns in opening and closing prices over time for each company.
2. Content
• Find arithmetic mean, standard deviation and
CV for comparing the companies
• Find the correlation between opening price
and closing price of the company.
• Draw the line graph and scatter plot comment
on the graph.
• Find out a trend analysis for the closing and
opening price of the companies
2
3. • Arithmetic mean: The simplest and most
popular way to measure a mean or average is
the arithmetic mean.
Equation for arithmetic mean,
𝑥 = 𝑖=1
𝑛 𝑥𝑖
𝑛
• standard deviation (or σ) is a measure of how
dispersed the data is in relation to the mean.
SD =
(𝑥𝑖−𝑥)2
𝑛−1
3
4. • Coefficient of variation: A statistical indicator
of how evenly distributed data points are
around the mean is the coefficient of variation
(relative standard deviation).
CV (%)=
𝑆𝐷
𝑥
× 100
4
5. • Correlation: In the financial and investment
sectors, correlation is a statistic that gauges
how closely two assets move in tandem.
Advanced portfolio management makes use of
correlations, which are calculated as the
correlation coefficient, whose value must fall
between the range of -1.0 and +1.0.
r =
(𝑥𝑖−𝑥)(𝑦𝑖−𝑦)
𝑥𝑖−𝑥
2
(𝑦𝑖−𝑦)2
5
6. Arithmetic mean, standard deviation
and CV for comparing the companies
DBBL BRAC Bank IFIC Bank NBL Bank
Opening mean 62.61 38.5 11.545 8.3
Closing mean 62.605 38.5 11.53 8.3
Opening SD 0.0307739
51
0 0.099868334 0
Closing SD 0.0223606
8
0 0.07326951 0
Opening CV 0.0491604
39
0 0.865035378 0
Closing CV 0.0357170
83
0 0.635468428 0
6
7. Correlation between opening price and closing
price of the company.
Opening Price Closing price
Opening Price 1
Closing price -0.076471911 1
Dutch Bangla Bank
Opening price Closing Price
Opening price 1
Closing Price 0.237360937 1
IFIC BANK
7
8. Opening Price Closing Bank
Opening Price 1
Closing Bank #DIV/0! 1
BRAC BANK
NBL BANK
Opening Price Closing Bank
Opening Price 1
Closing Bank #DIV/0! 1
8
9. Drawing the line graph and scatter plot
comment on the graph
Dutch Bangla Bank
Line graph
62.54
62.56
62.58
62.6
62.62
62.64
62.66
62.68
62.7
62.72
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Opening price
Clossing Price
9
10. Scatter Plot
y = -0.0556x + 66.083
R² = 0.0058
62.58
62.6
62.62
62.64
62.66
62.68
62.7
62.72
62.58 62.6 62.62 62.64 62.66 62.68 62.7 62.72
Dutch Bangla Bank
Dutch Bangla Bank
Linear (Dutch Bangla Bank)
10