IDEAS home Printed from https://ideas.repec.org/a/eco/journ2/2024-02-43.html
   My bibliography  Save this article

Effectiveness of Random Forest Model in Predicting Stock Prices of Solar Energy Companies in India

Author

Listed:
  • Bharat Kumar Meher

    (PG Department of Commerce and Management, Purnea University, Purnea, Bihar, India,)

  • Abhishek Anand

    (PG Department of Economics, Purnea University, Purnea, Bihar, India.)

  • Sunil Kumar

    (Department of Economics, Purnea College, Under Purnea University, Purnea, Bihar, India,)

  • Ramona Birau

    (Faculty of Economic Science, University Constantin Brancusi of Tg-Jiu, Romania,)

  • Manohar Sing

    (Department of Commerce, Government Autonomous PG College, Chhindwara, Madhya Pradesh, India,)

Abstract

The solar energy industry’s positive impact on India’s GDP is perceptible through increased investments, innovation, and enhanced energy security. As the nation continues to prioritize clean energy solutions, the solar sector stands as a key player driving both economic prosperity and environmental sustainability, aligning India with worldwide determinations to battle climate change and encourage a greener future. As the Indian government continues to champion initiatives promoting renewable energy, Solar Energy Companies have seen unprecedented growth and have become increasingly attractive to investors seeking long-term, sustainable returns. This influx of interest, however, brings with it the challenge of navigating the volatile and dynamic nature of the stock market. In this context, forecasting the stock prices of solar energy corporations in India becomes a pivotal aspect of investment strategy for both institutional and retail investors. This paper targets to add to the prevailing body of knowledge by evaluating the efficacy of the Random Forest model, a machine learning technique known for its versatility and robustness, in forecasting the stock prices of top four Solar Energy Companies in India on the basis of market capitalization, by using the daily opening, high, low and closing stock prices ranging from 1stOctober, 2019 to 30thSeptember, 2023 i.e. 4years. The findings reveal that high Coefficient of Determination (R2) values for all companies, ranging from 0.9928 to 0.9939 is a clear indication of the model’s ability to predict a substantial portion of the variance in each company’s stock prices. But in case of Adani Green Energy Ltd. a notably higher MSE and RMSE are exhibited, implying a greater degree of fluctuation in prediction accuracy compared to the other companies. On the other hand, all the selected solar energy companies display lower MAE values, indicating tightly clustered predictions around actual values.

Suggested Citation

  • Bharat Kumar Meher & Abhishek Anand & Sunil Kumar & Ramona Birau & Manohar Sing, 2024. "Effectiveness of Random Forest Model in Predicting Stock Prices of Solar Energy Companies in India," International Journal of Energy Economics and Policy, Econjournals, vol. 14(2), pages 426-434, March.
  • Handle: RePEc:eco:journ2:2024-02-43
    as

    Download full text from publisher

    File URL: https://econjournals.com/index.php/ijeep/article/download/15581/7795/36564
    Download Restriction: no

    File URL: https://econjournals.com/index.php/ijeep/article/view/15581/7795
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Burke, Paul J. & Widnyana, Jinnie & Anjum, Zeba & Aisbett, Emma & Resosudarmo, Budy & Baldwin, Kenneth G.H., 2019. "Overcoming barriers to solar and wind energy adoption in two Asian giants: India and Indonesia," Energy Policy, Elsevier, vol. 132(C), pages 1216-1228.
    2. Lohrmann, Christoph & Luukka, Pasi, 2019. "Classification of intraday S&P500 returns with a Random Forest," International Journal of Forecasting, Elsevier, vol. 35(1), pages 390-407.
    3. Muhammad Azhar Khalil & Kridsda Nimmanunta, 2023. "Conventional versus green investments: advancing innovation for better financial and environmental prospects," Journal of Sustainable Finance & Investment, Taylor & Francis Journals, vol. 13(3), pages 1153-1180, July.
    4. Basak, Suryoday & Kar, Saibal & Saha, Snehanshu & Khaidem, Luckyson & Dey, Sudeepa Roy, 2019. "Predicting the direction of stock market prices using tree-based classifiers," The North American Journal of Economics and Finance, Elsevier, vol. 47(C), pages 552-567.
    5. Małgorzata Tarczynska-Luniewska & Iwona Bak & Uma Shankar Singh & Guru Ashish Singh, 2022. "Economic Crisis Impact Assessment and Risk Exposure Evaluation of Selected Energy Sector Companies from Bombay Stock Exchange," Energies, MDPI, vol. 15(22), pages 1-25, November.
    6. Mats Andersson & Patrick Bolton & Frédéric Samama, 2016. "Hedging Climate Risk," Financial Analysts Journal, Taylor & Francis Journals, vol. 72(3), pages 13-32, May.
    7. Kanika Chawla & Manu Aggarwal & Arjun Dutt, 2020. "Analysing the falling solar and wind tariffs: evidence from India," Journal of Sustainable Finance & Investment, Taylor & Francis Journals, vol. 10(2), pages 171-190, April.
    8. Dey, Subhashish & Sreenivasulu, Anduri & Veerendra, G.T.N. & Rao, K. Venkateswara & Babu, P.S.S. Anjaneya, 2022. "Renewable energy present status and future potentials in India: An overview," Innovation and Green Development, Elsevier, vol. 1(1).
    9. Gireesh Shrimali, 2021. "Financial Performance of Renewable and Fossil Power Sources in India," Sustainability, MDPI, vol. 13(5), pages 1-23, February.
    10. Dai, Li & Xiong, Yuyu, 2023. "Does the green finance development and renewable energy affect the economic recovery in Asian economies," Renewable Energy, Elsevier, vol. 216(C).
    11. Sadorsky, Perry, 2022. "Forecasting solar stock prices using tree-based machine learning classification: How important are silver prices?," The North American Journal of Economics and Finance, Elsevier, vol. 61(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Henriques, Irene & Sadorsky, Perry, 2023. "Forecasting rare earth stock prices with machine learning," Resources Policy, Elsevier, vol. 86(PA).
    2. Perry Sadorsky, 2021. "Predicting Gold and Silver Price Direction Using Tree-Based Classifiers," JRFM, MDPI, vol. 14(5), pages 1-21, April.
    3. Saber Talazadeh & Dragan Perakovic, 2024. "SARF: Enhancing Stock Market Prediction with Sentiment-Augmented Random Forest," Papers 2410.07143, arXiv.org.
    4. Sadorsky, Perry, 2022. "Forecasting solar stock prices using tree-based machine learning classification: How important are silver prices?," The North American Journal of Economics and Finance, Elsevier, vol. 61(C).
    5. Perry Sadorsky, 2021. "A Random Forests Approach to Predicting Clean Energy Stock Prices," JRFM, MDPI, vol. 14(2), pages 1-20, January.
    6. Barboza, Flavio & Altman, Edward, 2024. "Predicting financial distress in Latin American companies: A comparative analysis of logistic regression and random forest models," The North American Journal of Economics and Finance, Elsevier, vol. 72(C).
    7. Jain, Sourabh & Shrimali, Gireesh, 2022. "Impact of renewable electricity on utility finances: Assessing merit order effect for an Indian utility," Energy Policy, Elsevier, vol. 168(C).
    8. Syed Abul, Basher & Perry, Sadorsky, 2022. "Forecasting Bitcoin price direction with random forests: How important are interest rates, inflation, and market volatility?," MPRA Paper 113293, University Library of Munich, Germany.
    9. Ghosh, Pushpendu & Neufeld, Ariel & Sahoo, Jajati Keshari, 2022. "Forecasting directional movements of stock prices for intraday trading using LSTM and random forests," Finance Research Letters, Elsevier, vol. 46(PA).
    10. Inderst, Roman & Opp, Markus, 2022. "Socially optimal sustainability standards with non-consequentialist ("warm glow") investors," SAFE Working Paper Series 346, Leibniz Institute for Financial Research SAFE.
    11. Zhou, Zhongbao & Gao, Meng & Liu, Qing & Xiao, Helu, 2020. "Forecasting stock price movements with multiple data sources: Evidence from stock market in China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 542(C).
    12. Bolton, Patrick & Kacperczyk, Marcin, 2021. "Do investors care about carbon risk?," Journal of Financial Economics, Elsevier, vol. 142(2), pages 517-549.
    13. Hirsh Bar Gai, Dor & Shittu, Ekundayo & Attanasio, Donna & Weigelt, Carmen & LeBlanc, Saniya & Dehghanian, Payman & Sklar, Scott, 2021. "Examining community solar programs to understand accessibility and investment: Evidence from the U.S," Energy Policy, Elsevier, vol. 159(C).
    14. Yang, Yanlin & Hu, Xuemei & Jiang, Huifeng, 2022. "Group penalized logistic regressions predict up and down trends for stock prices," The North American Journal of Economics and Finance, Elsevier, vol. 59(C).
    15. Mercadier, Mathieu & Lardy, Jean-Pierre, 2019. "Credit spread approximation and improvement using random forest regression," European Journal of Operational Research, Elsevier, vol. 277(1), pages 351-365.
    16. Pham, Linh & Kamal, Javed Bin, 2024. "Blessings or curse: How do media climate change concerns affect commodity tail risk spillovers?," Journal of Commodity Markets, Elsevier, vol. 34(C).
    17. Yash Chawla & Anna Kowalska-Pyzalska & Widayat Widayat, 2019. "Consumer Willingness and Acceptance of Smart Meters in Indonesia," Resources, MDPI, vol. 8(4), pages 1-23, November.
    18. Prakash, Vrishab & Ghosh, Sajal & Kanjilal, Kakali, 2020. "Costs of avoided carbon emission from thermal and renewable sources of power in India and policy implications," Energy, Elsevier, vol. 200(C).
    19. Junwei Chen, 2023. "Analysis of Bitcoin Price Prediction Using Machine Learning," JRFM, MDPI, vol. 16(1), pages 1-25, January.
    20. Owusu-Sekyere, Enoch & Cissé, Fatoumata Nankoto & Achandi, Esther Leah, 2024. "Impact of solar energy subscription on the market performance of micro, small & medium enterprises in Nigeria," Energy Policy, Elsevier, vol. 188(C).

    More about this item

    Keywords

    Energy; Machine Learning; Random Forest; Forecasting;
    All these keywords.

    JEL classification:

    • Q2 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Renewable Resources and Conservation
    • Q4 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Energy
    • C32 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes; State Space Models
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eco:journ2:2024-02-43. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Ilhan Ozturk (email available below). General contact details of provider: http://www.econjournals.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.