Approach For Stock Market Volatility Based On Time Series Data
Approach For Stock Market Volatility Based On Time Series Data
1)PRIYANSH BHALIA
2)Dr. RAJESH MISHRA
This present study is a review of an Stock market predication and efficiently predict
the future stock market lows and highs using ARIMA Model.
Abstract:-
Time series analysis and forecasting is of vital significance, owing to its widespread
use in various practical domains. Time series data refers to an ordered sequence or a
set of data points that a variable takes at equal time intervals. The stock market is
considered to be one of the most highly complex financial systems which consist of
various components or stocks, the price of which fluctuate greatly with respect to time.
Stock market forecasting involves uncovering the market trends with respect to time.
All the stock market investors aim to maximize the returns over their investments and
minimize the risks associated. Stock markets being highly sensitive and susceptible to
quick changes, the main aim of stock-trend prediction is to develop new innovative
approaches to foresee the stocks that result in high profit. This research tries to
analyze the time series data of the Indian stock market and build a statistical model
that could efficiently predict the future stocks.
Introduction:-
Any form of prediction is a tough challenge with inside the actual world, specially in
which the destiny could be very dynamic. The inventory marketplace is rather risky
and unpredictable via way of means of nature. Therefore, traders are usually taking
dangers in hopes of creating a profit. People need to make investments with inside the
inventory marketplace and anticipate make the most of their investments. There are
many elements that have an impact on inventory expenses, together with deliver and
demand, marketplace trends, the worldwide economy, company results, ancient
charge, public sentiments, touchy economic information, popularity (together with
properly or terrible information associated with an organization call and product), all
of which can also additionally bring about a growth or lower with inside the quantity
of shoppers etc. Even eleven though one can also additionally examine a lot of
elements, it's miles nevertheless tough to reap a higher overall performance with
inside the inventory marketplace and to are expecting the destiny charge in general.
Predicting the charge of a selected inventory at some point in advance is, via way of
means of itself, a totally complex challenge.
Today's corporate giant likely had its start as a small private entity launched by a
visionary founder a few decades ago. Think of Jack Ma incubating Alibaba
(BABA) from his apartment in Hangzhou, China, in 1999, or Mark Zuckerberg
founding the earliest version of Facebook (now Meta), from his Harvard University
dorm room in 2004. Technology giants like these have become among the biggest
companies in the world within a couple of decades.
Objective :
The main objective in the paper was to develop a less complex and efficiently model.
To analyze the data of the time series in the stock market using the ARIMA Model
So that it can give best approximately solution for the outcome.So,the predicted price
using the ARIMA Model is very close to the Actual price on the given dates. This
indicates the successful implementation of the ARIMA Model on the time series data.
Related Work:-
Generally, there are many approaches to forecast demand among which we find the
exponential smoothing, for example. But, when applying these approaches, we need
to have historical data. In the beginning, there is no information about the past, we use
then an estimation based on similar cases or engineer’s experiences
Din, Marilena. (2015). ARIMA by Box Jenkins Methodology for Estimation and
Forecasting Models in Higher Education. 10.13140/RG.2.1.1259.6888.:-In this further
studies they have used many approaches in the existing literature which have
attempted to treat education enrollments with specific forecasting models such as
moving average, exponential smoothing, Markov chain, regression, Fuzzy time series,
and others, the results were not enough to understand the moving data evolution, or
not enough accuracy.
The empirical study revealed the best ARIMA validated model to be used to forecast
future values for the next eight years.Though such approach generally helps
understanding data or predicts future points, after the steps of identification,
estimation and verification followed here to build the best ARIMA model, the
findings are not providing the foresight of the causes that may influence what will
happen in the future years.
They shows it is divided into two parts Quantitative forecasting and Qualitative
forecasting, it explained the basic steps of forecasting in five steps.
All forecasting is about estimating some aspects of the conditional distribution of a
random variable that’s known as forecasting distribution.The issue of measuring the
accuracy of forecasts from different methods has been the subject of much attention.
We summarize some of the approaches here. A more thorough discussion is given by
Hyndman & Koehler (2006).
In the overall discussion they will explain the errors that exist during doing
forecasting which are listed as Scale dependent error,Percentage error and scaled
error.
Green, Shakira, "Time Series Analysis of Stock Prices Using the Box-Jenkins
Approach" (2011). Electronic Theses and Dissertations. 668:-In the research paper,the
main aim is to explain apply the box jenkins, using the BoxJenkins approach, is there
an ideal model and sampling interval when looking at modeling stock prices, with
regard to specific industries.
it is possible to forecast values based on an ARIMA (0,1,0) model, it would be not
wise to do so, especially when using the model as an investment tool. The danger in
using a random walk model to forecast is that they have no way of estimating t within
the model.then they will take the several instances to explain the how box Jenkins
method is applied in the stock and using box Jenkins method how they predict the
future outcomes.By using ACF and PACF they calculated the auto regression
Parameter(p) because with the auto-regression(p) parameter we can check whether
our data is seasonal data or nonseasonal data.Once the ACF and PACF have been
calculated and the behavior of them has been examined to determine the number of
autoregressive parameters (p), and/or the moving average parameters (q) and an
appropriate model has been selected.
For checking the model weither it is good fit for model they listed some properties
the residuals should be approximately Normal, all the parameter estimates should
have significant p-values, and the model should contain as few parameters as possible.
The last step is to use the final model to forecast future time series values.
Cesario, Eugenio & Catlett, Charles & Talia, Domenico. (2016). Forecasting Crimes
UsingAutoregressiveModels.795-802.10.1109/DASC-PICom-DataCom-CyberSciTec.
2016.138. :-In this paper the main approach is to focus on steadily increasing
urbanization, by 2030 more than sixty percent of the global population will live in
cities.this paper explain how it affect both socially and economically transformation
both side on positive as well as negative.Talking about positive side such as it
increased opportunities in urban areas.
On other side Negative,the crime is increases there is a deflection in the economy of
cities budgets.Nevertheless, new technologies are enabling police departments to
access growing volumes of crime-related data that can be analyzed to understand
patterns and trends.
The main aim to design the model to decrease the level of cybercrime for this we need
to train the model with the help of Auto regression(p).
New technologies are enabling police departments to access growing volumes of data
related to crime, that can be analyzed to understand patterns and trends. Such
knowledge is useful to anticipate criminal activity and predict/prevent crimes. This
paper presented an approach, based on auto-regressive models,for reliably forecasting
crime trends in an urban area.
Experimental Setup:-
In the paper the data set used is from NIFTY50 and BSE companies and the model is
trained on the platform Anaconda-Jupyter.The Whole model is written in Python
Language.
ARIMA, short for ‘Auto Regressive Integrated Moving Average’ is actually a class
of models that ‘explains’ a given time series based on its own past values, that is, its
own lags and the lagged forecast errors, so that equation can be used to forecast
future values. Know more about parameters of ARIMA and its limitations, in this
free video tutorial
Any ‘non-seasonal’ time series that exhibits patterns and is not a random white noise
can be modeled with ARIMA models.
An ARIMA model is characterized by 3 terms: p, d, q
where,
p is the order of the AR term
q is the order of the MA term
d is the number of differencing required to make the time series stationary
If a time series, has seasonal patterns, then you need to add seasonal terms and it
becomes SARIMA, short for ‘Seasonal ARIMA’. More on that once we finish
ARIMA.
So, what does the ‘order of AR term’ even mean? Before we go there, let’s first look
at the ‘d’ term.
Training Phase :-
There are usually five basic steps in any forecasting task which are listed below:-
Step 1: Problem definition Often this is most difficult part of forecasting. Defining the
problem carefully requires an understanding of how the forecasts will be used, who
requires the forecasts, and how the forecasting function fits within the organization
requiring the forecasts. A forecaster needs to spend time talking to everyone who will
be involved in collecting data, maintaining databases, and using the forecasts for
future planning.
Step 2: Gathering information There are always at least two kinds of information
required: (a) statistical data, and (b) the accumulated expertise of the people who
collect the data 2 and use the forecasts. Often, a difficulty will be obtaining enough
historical data to be able to fit a good statistical model. However, occasionally, very
old data will not be so useful due to changes in the system being forecast.
Step 3: Preliminary (exploratory) analysis Always start by graphing the data. Are
there consistent patterns? Is there a significant trend? Is seasonality important? Is
there evidence of the presence of business cycles? Are there any outliers in the data
that need to be explained by those with expert knowledge? How strong are the
relationships among the variables available for analysis?
Step 4: Choosing and fitting models Which model to use depends on the availability
of historical data, the strength of relationships between the forecast variable and any
explanatory variables, and the way the forecasts are to be used. It is common to
compare two or three potential models.
Step 5: Using and evaluating a forecasting model Once a model has been selected and
its parameters estimated, the model is to be used to make forecasts. The performance
of the model can only be properly evaluated after the data for the forecast period have
become available. A number of methods have been developed to help in assessing the
accuracy of forecasts
Testing Phase:-
With the help of model we have to calculate the value of Mean Square error
Root mean square error ,overall accuracy of the model
For finding the result we have to apply Arima Model.Before apply the model we have
to integrate the database of stock market.
This differencing of the time series is represented by the ‘d’ value of the ‘‘ARIMA
model’’. There are some situations that may arise with the value of ‘d’, likewise
below:
When ‘d’ = 0, it signifies that the series under consideration is stationary, so we don’t
require to take the difference of it.
If ‘d’ =1, it signifies that the current series is not stationary, we need to take the first
difference of the series.
If ‘d’ = 2, it signifies that the series under consideration has been differenced two
times.
Reference:-
3. Din, Marilena. (2015). ARIMA by Box Jenkins Methodology for Estimation and
Forecasting Models in Higher Education. 10.13140/RG.2.1.1259.6888.
4. R. J. Hyndman. Forecasting Overview. Accessed: Nov. 8, 2009.
[Online].Available:https://robjhyndman.com/papers/forecastingoverview.pdf
7. Green, Shakira, "Time Series Analysis of Stock Prices Using the Box-Jenkins
Approach" (2011). Electronic Theses and Dissertations. 668.
https://digitalcommons.georgiasouthern.edu/etd/668
8. Cesario, Eugenio & Catlett, Charles & Talia, Domenico. (2016). Forecasting
CrimesUsingAutoregressiveModels.795-802.10.1109/DASC-PICom-DataCom-C
yberSciTec.2016.138.
9. Adhikari, Ratnadip & Agrawal, R.. (2013). An Introductory Study on Time series
Modeling and Forecasting. 10.13140/2.1.2771.8084.
10. Palanisamy, Karthika & Parthasarathy, Karthikeyan. (2016). Stock Returns and
Volatility: Evidence from Nifty 50 Index. Asian Journal of Research in Social
Sciences and Humanities. 6. 434. 10.5958/2249-7315.2016.00127.1.
11. Manh, Ha & Duong, & Siliverstovs, Boriss & Manh, & Duong, Ha. (2006). The
Stock Market and Investment.
12. Meek, Christopher & Chickering, David & Heckerman, David. (2002).
Autoregressive Tree Models for Time-Series Analysis.
10.1137/1.9781611972726.14.