Outlook: Mid Penn Bancorp Common Stock is assigned short-term Ba1 & long-term Ba1 estimated rating.
Time series to forecast n: 08 Jan 2023 for (n+4 weeks)
Methodology : Modular Neural Network (Market Direction Analysis)

## Abstract

Mid Penn Bancorp Common Stock prediction model is evaluated with Modular Neural Network (Market Direction Analysis) and Pearson Correlation1,2,3,4 and it is concluded that the MPB stock is predictable in the short/long term. According to price forecasts for (n+4 weeks) period, the dominant strategy among neural network is: Buy

## Key Points

1. What is neural prediction?
2. What is Markov decision process in reinforcement learning?
3. Technical Analysis with Algorithmic Trading

## MPB Target Price Prediction Modeling Methodology

We consider Mid Penn Bancorp Common Stock Decision Process with Modular Neural Network (Market Direction Analysis) where A is the set of discrete actions of MPB stock holders, F is the set of discrete states, P : S × F × S → R is the transition probability distribution, R : S × F → R is the reaction function, and γ ∈ [0, 1] is a move factor for expectation.1,2,3,4

F(Pearson Correlation)5,6,7= $\begin{array}{cccc}{p}_{a1}& {p}_{a2}& \dots & {p}_{1n}\\ & ⋮\\ {p}_{j1}& {p}_{j2}& \dots & {p}_{jn}\\ & ⋮\\ {p}_{k1}& {p}_{k2}& \dots & {p}_{kn}\\ & ⋮\\ {p}_{n1}& {p}_{n2}& \dots & {p}_{nn}\end{array}$ X R(Modular Neural Network (Market Direction Analysis)) X S(n):→ (n+4 weeks) $\stackrel{\to }{S}=\left({s}_{1},{s}_{2},{s}_{3}\right)$

n:Time series to forecast

p:Price signals of MPB stock

j:Nash equilibria (Neural Network)

k:Dominated move

a:Best response for target price

For further technical information as per how our model work we invite you to visit the article below:

How do AC Investment Research machine learning (predictive) algorithms actually work?

## MPB Stock Forecast (Buy or Sell) for (n+4 weeks)

Sample Set: Neural Network
Stock/Index: MPB Mid Penn Bancorp Common Stock
Time series to forecast n: 08 Jan 2023 for (n+4 weeks)

According to price forecasts for (n+4 weeks) period, the dominant strategy among neural network is: Buy

X axis: *Likelihood% (The higher the percentage value, the more likely the event will occur.)

Y axis: *Potential Impact% (The higher the percentage value, the more likely the price will deviate.)

Z axis (Grey to Black): *Technical Analysis%

## IFRS Reconciliation Adjustments for Mid Penn Bancorp Common Stock

1. For the avoidance of doubt, the effects of replacing the original counterparty with a clearing counterparty and making the associated changes as described in paragraph 6.5.6 shall be reflected in the measurement of the hedging instrument and therefore in the assessment of hedge effectiveness and the measurement of hedge effectiveness
2. The characteristics of the hedged item, including how and when the hedged item affects profit or loss, also affect the period over which the forward element of a forward contract that hedges a time-period related hedged item is amortised, which is over the period to which the forward element relates. For example, if a forward contract hedges the exposure to variability in threemonth interest rates for a three-month period that starts in six months' time, the forward element is amortised during the period that spans months seven to nine.
3. Expected credit losses reflect an entity's own expectations of credit losses. However, when considering all reasonable and supportable information that is available without undue cost or effort in estimating expected credit losses, an entity should also consider observable market information about the credit risk of the particular financial instrument or similar financial instruments.
4. An entity that first applies IFRS 17 as amended in June 2020 at the same time it first applies this Standard shall apply paragraphs 7.2.1–7.2.28 instead of paragraphs 7.2.38–7.2.42.

*International Financial Reporting Standards (IFRS) adjustment process involves reviewing the company's financial statements and identifying any differences between the company's current accounting practices and the requirements of the IFRS. If there are any such differences, neural network makes adjustments to financial statements to bring them into compliance with the IFRS.

## Conclusions

Mid Penn Bancorp Common Stock is assigned short-term Ba1 & long-term Ba1 estimated rating. Mid Penn Bancorp Common Stock prediction model is evaluated with Modular Neural Network (Market Direction Analysis) and Pearson Correlation1,2,3,4 and it is concluded that the MPB stock is predictable in the short/long term. According to price forecasts for (n+4 weeks) period, the dominant strategy among neural network is: Buy

### MPB Mid Penn Bancorp Common Stock Financial Analysis*

Rating Short-Term Long-Term Senior
Outlook*Ba1Ba1
Income StatementCaa2Baa2
Balance SheetBa3B2
Leverage RatiosBa2Caa2
Cash FlowBaa2B2
Rates of Return and ProfitabilityB2Baa2

*Financial analysis is the process of evaluating a company's financial performance and position by neural network. It involves reviewing the company's financial statements, including the balance sheet, income statement, and cash flow statement, as well as other financial reports and documents.
How does neural network examine financial reports and understand financial state of the company?

### Prediction Confidence Score

Trust metric by Neural Network: 88 out of 100 with 587 signals.

## References

1. Mnih A, Teh YW. 2012. A fast and simple algorithm for training neural probabilistic language models. In Proceedings of the 29th International Conference on Machine Learning, pp. 419–26. La Jolla, CA: Int. Mach. Learn. Soc.
2. Brailsford, T.J. R.W. Faff (1996), "An evaluation of volatility forecasting techniques," Journal of Banking Finance, 20, 419–438.
3. V. Mnih, A. P. Badia, M. Mirza, A. Graves, T. P. Lillicrap, T. Harley, D. Silver, and K. Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, pages 1928–1937, 2016
4. M. L. Littman. Friend-or-foe q-learning in general-sum games. In Proceedings of the Eighteenth International Conference on Machine Learning (ICML 2001), Williams College, Williamstown, MA, USA, June 28 - July 1, 2001, pages 322–328, 2001
5. Athey S. 2019. The impact of machine learning on economics. In The Economics of Artificial Intelligence: An Agenda, ed. AK Agrawal, J Gans, A Goldfarb. Chicago: Univ. Chicago Press. In press
6. R. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Ma- chine learning, 8(3-4):229–256, 1992
7. Abadie A, Diamond A, Hainmueller J. 2010. Synthetic control methods for comparative case studies: estimat- ing the effect of California's tobacco control program. J. Am. Stat. Assoc. 105:493–505
Frequently Asked QuestionsQ: What is the prediction methodology for MPB stock?
A: MPB stock prediction methodology: We evaluate the prediction models Modular Neural Network (Market Direction Analysis) and Pearson Correlation
Q: Is MPB stock a buy or sell?
A: The dominant strategy among neural network is to Buy MPB Stock.
Q: Is Mid Penn Bancorp Common Stock stock a good investment?
A: The consensus rating for Mid Penn Bancorp Common Stock is Buy and is assigned short-term Ba1 & long-term Ba1 estimated rating.
Q: What is the consensus rating of MPB stock?
A: The consensus rating for MPB is Buy.
Q: What is the prediction period for MPB stock?
A: The prediction period for MPB is (n+4 weeks)