Heatmaps, MonteCarlo Method and much more
Correlation between constituents of NIFTY Bank Index

Heatmaps, MonteCarlo Method and much more

The analysis shows that if you invested a X amount of money in Nifty Bank stocks there is a 99 percent chance that you will not lose more than Y percent of the money. The highest risk is to invest in Yes Bank which can tune your losses to the percentage of 15.48%. The safest stock in this category is HDFC which can bring your losses to a maximum of 2.73 percent. The confidence interval may be altered to get different values though.


No alt text provided for this image

The correlation also suggested interesting insights. The below table mentions the numbers while the other image shows the heat map of the same.


No alt text provided for this image

The heatmap shows that Kotak and PNB are negatively correlated as per the fed data set.

No alt text provided for this image

So the investment in these stocks should be done accordingly. The exact data set and the output may be fetched from the github repository. The link has been mentioned at the bottom.

GitHub Repository:

Relevant files:

  1. Heatmaps, clustermaps and moving averages
  2. Monte Carlo Simulation for Indian Banks


要查看或添加评论,请登录

Shashi Prakash的更多文章

  • The Curious Case of Corona | Indian Economy and Beyond

    The Curious Case of Corona | Indian Economy and Beyond

    Introduction: Let us understand India’s GDP from the spending pattern: Private consumption accounts for about 58% of…

    4 条评论
  • Curious Case of LIC India

    Curious Case of LIC India

    Finance Minister Nirmala Sitharaman had announced a stake sale in LIC through an initial public offer in the Union. The…

    4 条评论
  • Is India going on for Trade War with Malaysia?

    Is India going on for Trade War with Malaysia?

    India is planning to widen curbs on palm oil from Malaysia to oil, gas and other products, news agency Reuters reported…

  • Elon Musk: The man OR myth worth the hype?

    Elon Musk: The man OR myth worth the hype?

    Let’s start the article with the EPS of Tesla. For a while you may take EPS synonymous with the profit if EPS gets too…

  • Oil prices are steady; But Why?

    Oil prices are steady; But Why?

    Oil prices jumped 5 percent after Iran launched strikes against US military bases in Iraq in retaliation for the…

  • India's economy will suffer eventually as the US attacks Iran!!

    India's economy will suffer eventually as the US attacks Iran!!

    Stena Impero, a British Oil tanker, on its way to Saudi Arabia was dramatically boarded and seized by Iran’s…

  • Indices, Stock and Cues

    Indices, Stock and Cues

    Indices, Stock and Cues The S&P BSE Sensex Index has given returns of 15.26 % while the Nifty 50 has given a return of…

    4 条评论
  • The Great Indian Economic SlowDown

    The Great Indian Economic SlowDown

    Arvind Subramanium has again been in the news with a very informative and well-explained paper of his name: “India’s…

    4 条评论
  • Understanding the Nobel Prize winning Experiment.

    Understanding the Nobel Prize winning Experiment.

    Esther Duflo and Abhijit Banerjee, MIT economists whose work has helped transform antipoverty research and relief…

  • Open Cast Mining: An Overview

    Open Cast Mining: An Overview

    Confucious - "He who says he can and he who says he can't are both usually right". The way we think has everything to…

社区洞察

其他会员也浏览了