Theme | Capital Markets & Machine Learning in Finance The Chartered Accountant Journal | April 2023 (Vol. 71, No. 10) | pp. 50–55

Nifty Index Determinants: Sensitivity Analysis through Artificial Neural Network

AM

Arup Bramha Mohapatra

Academician | Contact: mohapatra02ab@gmail.com, eboard@icai.in

“In order to ascertain the relative variable influence between variables as stated by financial theory, this study uses an Artificial Neural Network (ANN) approach, as variables are not normal. The Dow Jones Industrial Average, WTI crude oil, gold, the US bond yield and the dollar index are all discussed in relation to the nifty fifty in this paper. Using the sensitivity technique, ANNs are being utilised with time series data to rank the aforementioned variable in relation to quality. This study demonstrates that, in terms of sensitivity to the nifty, the Dow Jones index is the most significant. This study adds to the body of evidence showing the effectiveness of ANNs in finance theory. The data used in this paper is secondary in nature.”

Introduction

The idea of an Artificial Neural Network (ANN) has gained widespread importance in the modern world due to the development of information technology. ANNs are now widely employed in the fields of medicine, research, technology, engineering, finance, etc. The biological neural networks present in the human brain served as the inspiration for ANNs. Neurons and intricate nerve networks make up the human brain. The axons and dendrites in this intricate nerve network are utilised to deliver and receive signals from other neurons, respectively. Researchers in the discipline of computer science use the human brain as a model to try and replicate how the brain performs computational processes (Chima & Duroha, 2019).

Architectural Classifications of Neural Networks

  • 1) Feed Forward Neural Network: In a feed forward neural network, data flow is strictly in one direction, from the input unit or node through the hidden unit to the output unit. These elements make up the feed forward neural network.
    • a) Single-Layer Network: Consists of one input unit, one hidden unit, and one output unit.
    • b) Multi-Layer Network: Has multiple intermediate hidden nodes situated between the input and output nodes.
  • 2) Recurrent Neural Networks (RNN): Due to the feedback-loop concept they adhere to, recurrent neural networks differ structurally from feed-forward networks. In this research paper, the author deployed a feed-forward neural network with backpropagation to determine which macroeconomic variable exhibits the highest sensitivity for the NIFTY 50.

Review of Literature & Variable Theoretical Background

The neuron is the foundation of neural network theory. Non-linear boundaries are used for enclosed regions of a specific class and multilayer neural networks are used for these boundaries. The input from each neuron is merged linearly with varying weights in ANN. A non-linear activation unit, which can be a threshold unit in its most basic form, is then fed the outcome of this combination. Input-output mapping, fault tolerance and non-linearity are all features of neural networks. Strong fault tolerance is preferably provided by the network’s high connection, which ensures that the impact of error in a few terms will be minimised (Bhardwaj et al., 2015).

Since univariate time series predictions are what linear models like ARIMA do, they are unable to discover underlying dynamics in a variety of non-linear financial time series (Hiransha et al., 2018). The fact that the ANN model typically outperforms general linear and non-linear econometric models like OLS and GARCH is particularly fascinating. Statistical models are outperformed by ANN models due to significantly lower prediction errors (Kumar & Murugan, 2013).

One of the key characteristics of neural networks is their ability to handle both normal and non-normal data. Freitas et al. (2009) demonstrated that it is possible to obtain normal prediction errors with non-normal time series of stock returns, proving that prediction-based portfolio optimization took advantage of short-term opportunities, outperforming the Markowitz mean-variance model and beating the market benchmark.

📊 NIFTY 50 & Dow Jones Industrial Average (DJIA)

The word “Nifty” is a portmanteau of “National Stock Exchange” and “fifty”, representing the 50 top-performing equity firms. Charles Dow established the DJIA on May 26, 1896, tracking 30 blue-chip US corporations. Roy & Sen (2019) demonstrated that the Nifty and Dow Jones are co-integrated, eliminating long-term cross-market diversification benefits for portfolio managers.

🛢️ West Texas Intermediate (WTI) Crude Oil

Along with Brent and Dubai Crude, WTI serves as the primary high-quality benchmark traded on NYMEX. Sultana & Reddy (2017) discovered significant empirical relationships between crude oil prices, exchange rates, FII flows, SLR, CRR, interest rates, and the NIFTY index.

🥇 Gold (XAU/USD)

The world’s most prized monetary and inflation-hedge asset. Patel (2013) proved that gold exerts a considerable impact on the Nifty index. Bouri et al. (2017) established co-integration and non-linear positive volatility spillovers connecting Indian stock markets with implied volatility in gold and oil.

📈 US 10-Year Treasury Bond Yield

Bond yield is the annualized coupon return relative to market price. Higher yields indicate rising capital costs or sovereign risk (Jape & Ambhore, 2019). During economic recessions and equity drawdowns, bond yields exhibit sharp inversely correlated shifts (Venkateshwarlu & Ramesh Babu, 2011).

💵 US Dollar Index (USDX)

Established by the US Federal Reserve in 1973 following the breakdown of the Bretton Woods Agreement, the USDX measures the greenback against a basket of six major global currencies. Ilalan & Pirgaip (2019) and Victor et al. (2021) demonstrated negative Granger-causality between the USD index and emerging equity benchmarks.

Research Methodology & Hypotheses

Null Hypothesis (H0): ANN is quite capable of disclosing the sensitivity of selected variables towards nifty.

Alternate Hypothesis (H1): ANN is not capable of disclosing the sensitivity of selected variables towards nifty.

The empirical dataset spans weekly time-series observations from November 5, 1995 to April 3, 2021 (totalling 1,379 observations). The dependent target variable is the NIFTY 50 Index, and the independent predictor variables are:

  • WTI Crude Oil (in US dollars)
  • Dow Jones Industrial Average (DJIA)
  • US Dollar Index (USDX)
  • US 10-Year Bond Rate
  • Gold (in US dollars per ounce)

The computations were executed using SPSS 20 software utilizing Multilayer Perceptron (MLP) feed-forward architecture. The structural configuration of the model consists of:

  • Input Layer: 5 predictor neurons (goldusa, wtioil, dollarindex, ustenyrbond, dowjones) plus 1 bias node.
  • Hidden Layer: 3 hidden neurons [H(1:1), H(1:2), H(1:3)] plus 1 bias node, utilizing the Hyperbolic Tangent activation function.
  • Output Layer: 1 target node (nifty), utilizing the Identity activation function.
  • Partitioning & Cross-Validation: Data was partitioned into 70% training and 30% testing, verified across a 10-fold cross-validation scheme to prevent overfitting.
Model Predictive Fit: R² = 0.990 (Linear Correlation = 99.0%)
Accepts the Null Hypothesis (H0) confirming superior predictive validity.

Empirical Data Analysis

Table 1: Descriptive Statistics & Non-Normality Test (Jarque-Bera)

Statistic NIFTY US BOND YIELD WTI OIL GOLD USA DOW JONES DOLLAR INDEX
Mean 5,264.676 3.627 54.894 928.686 14,544.220 91.721
Median 4,711.700 3.596 52.370 926.600 11,392.110 91.950
Maximum 18,338.550 7.056 145.290 2,073.000 36,338.300 119.900
Minimum 808.190 0.533 10.790 253.900 4,870.370 71.660
Std. Dev. 4,239.142 1.605 28.316 547.147 7,268.099 10.587
Skewness 0.949 0.189 0.436 0.182 1.271 0.457
Kurtosis 3.247 1.999 2.303 1.562 3.789 2.820
Jarque-Bera 210.334 65.809 71.543 126.410 406.847 49.945
p-value 0.000 0.000 0.000 0.000 0.000 0.000
Source: Compiled by author. Probability p < 0.001 confirms significant non-normality across all variables.

Table 2: Bivariate Pearson Correlation with NIFTY 50

Independent Predictor Variable Correlation Coefficient with NIFTY Direction & Statistical Significance
DOW JONES (DJIA) +0.95956 Extremely Strong Positive Association
GOLD USA +0.86789 Strong Positive Association
WTI CRUDE OIL +0.43340 Moderate Positive Association
DOLLAR INDEX (USDX) -0.12051 Weak Negative Association
US 10-YEAR BOND YIELD -0.79789 Strong Negative (Inverse) Association
Source: Compiled by author.

10-Fold Cross Validation & Error Convergence (Table 3 & 4)

Table 3: Sum of Squares Error (SSE) & RMSE Across 10 Iterations

Iter Train SSE Train RMSE Test SSE Test RMSE
14.6360.06962.2490.0730
24.1080.06521.9840.0693
34.6730.07001.1880.0529
43.3340.05841.1830.0542
54.5950.06881.8120.0666
69.6560.09954.1870.1018
74.2700.06611.9160.0690
85.4410.07511.9610.0687
94.1160.06481.7980.0672
109.4090.09831.6140.0631
Mean5.42380.07361.98920.0686
Std2.23120.01400.84360.0134

Table 4: Partitioned Sample Distribution (Total N = 1,379)

Iteration Training (70%) Testing (30%) Total Items
Network 19574221379
Network 29664131379
Network 39554241379
Network 49774021379
Network 59714081379
Network 69754041379
Network 79764031379
Network 89644151379
Network 99813981379
Network 109734061379

Table 5: Sensitivity Analysis & Relative Normalized Importance

The sensitivity analysis was executed across the 10 neural network iterations to determine the normalized importance of each input neuron relative to the maximum predictor (Karaca et al., 2019):

Variable Iter 1 Iter 2 Iter 3 Iter 4 Iter 5 Iter 6 Iter 7 Iter 8 Iter 9 Iter 10 Average Rank
DOW JONES 100.0% 100.0% 100.0% 100.0% 100.0% 100.0% 100.0% 100.0% 100.0% 100.0% 100.0% 1
GOLD USA 30.0% 32.9% 41.3% 39.2% 21.6% 29.9% 41.6% 37.8% 34.8% 24.9% 33.4% 2
WTI CRUDE OIL 20.6% 16.8% 26.5% 20.4% 6.8% 24.3% 18.7% 8.6% 21.3% 6.7% 17.1% 3
US 10-YR BOND 7.1% 7.6% 12.1% 18.0% 9.1% 17.8% 20.4% 2.8% 7.3% 8.2% 11.0% 4
DOLLAR INDEX 2.3% 4.4% 3.9% 5.2% 1.5% 6.7% 11.7% 7.8% 8.4% 5.5% 5.7% 5
Source: Compiled by author.

Conclusion & Research Limitations

Sensitivity analysis demonstrates that the Dow Jones Industrial Average (DJIA) has the single largest impact on the Nifty Index (100% normalized importance), followed in descending rank order by:

  1. Dow Jones Industrial Average (DJIA) – Rank 1 (100.0% Sensitivity, r = +0.9596)
  2. Gold (USA) – Rank 2 (33.4% Sensitivity, r = +0.8679)
  3. WTI Crude Oil – Rank 3 (17.1% Sensitivity, r = +0.4334)
  4. US 10-Year Bond Yield – Rank 4 (11.0% Sensitivity, r = -0.7979)
  5. US Dollar Index (USDX) – Rank 5 (5.7% Sensitivity, r = -0.1205)

The correlation findings reinforce this sensitivity hierarchy: the US Dollar Index and US 10-Year Bond Rate exhibit inverse (negative) relationships with the Nifty, while the Dow Jones, Gold, and Crude Oil are positively correlated.

Study Limitations: The primary limitation of this study is that additional macroeconomic and systemic variables (e.g., domestic inflation, FII/DII liquidity, interest rate differentials) could be integrated into future iterations of the ANN model to further refine non-linear multi-factor sensitivity analysis and forecasting precision for the Indian capital market.

References

  • Bhardwaj, A., Narayan, Y., Vanraj, Pawan, & Dutta, M. (2015). Sentiment Analysis for Indian Stock Market Prediction Using Sensex and Nifty. Procedia Computer Science, 70, 85–91. https://doi.org/10.1016/j.procs.2015.10.043
  • Chima, A. N., & Duroha, A. E. (2019). Artificial Neural Network Application in Prediction-A Review. African Journal of Computing & ICT, 12(4), 75–85. https://afrjcict.net
  • Hiransha, M., Gopalakrishnan, E. A., Menon, V. K., & Soman, K. P. (2018). NSE Stock Market Prediction Using Deep-Learning Models. Procedia Computer Science, 132(Iccids), 1351–1362. https://doi.org/10.1016/j.procs.2018.05.050
  • Idriss, T. El, Idri, A., Abnane, I., & Bakkoury, Z. (2019). Predicting blood glucose using an LSTM neural network. Proceedings of the 2019 Federated Conference on Computer Science and Information Systems (FedCSIS), 18, 35–41. https://doi.org/10.15439/2019F159
  • Ilalan, D., & Pirgaip, B. (2019). The impact of us dollar index on emerging stock markets: A simultaneous granger causality and rolling correlation analysis. Research in Finance, 35, 145–154. https://doi.org/10.1108/S0196-382120190000035007
  • JAPE, S., & AMBHORE, M. (2019). Study of Rising Benchmark 10-Year Bond Yield and Its Relevance To Economic Factors. Journal of Management, 6(1), 21–30. https://doi.org/10.34218/jom.6.1.2019.003
  • Sharma, S. K., Sharma, H., & Dwivedi, Y. K. (2019). A Hybrid SEM-Neural Network Model for Predicting Determinants of Mobile Payment Services. Information Systems Management, 36(3), 243–261. https://doi.org/10.1080/10580530.2019.1620504
  • Taneja, A., & Arora, A. (2019). Modeling user preferences using neural networks and tensor factorization model. International Journal of Information Management, 45(October 2018), 132–148. https://doi.org/10.1016/j.ijinfomgt.2018.10.010
  • Teo, A.-C., Tan, G. W.-H., Keng-Boon, O., Hew Teck-Soon, & Yew, K.-T. (2015). Industrial Management & Data Systems. Industrial Management & Data Systems, 115(2), 311–331.
  • Victor, V., K K, D., Bhaskar, M., & Naz, F. (2021). Investigating the Dynamic Interlinkages between Exchange Rates and the NSE NIFTY Index. Journal of Risk and Financial Management, 14(1), 20. https://doi.org/10.3390/jrfm14010020
Author: Arup Bramha Mohapatra, Academician ■ ■ ■ The Chartered Accountant | April 2023