Managerial overconfidence, internal financing and investment

Corporate investment decisions are determined by a variety of factors, including various managerial measures, including overconfidence of managers, which are important determinants of corporate investment decisions. Most corporate executives prefer internal financing, but if internal resources are not sufficient to meet this need, they use external resources with the least degree of information asymmetry. The purpose of this study was to investigate the effect of managerial overconfidence on investment and the moderating effect of the internal financing method is on their relationship. The study consisted of listed companies in Tehran Stock Exchange during the period 2011 to 2016 and using a systematic elimination sampling method, 97 companies were selected. To investigate the research hypotheses, EVIEWS software and panel data regression method was used. The results of the research showed that managers’ overconfidence has a positive and significant effect on investment as well as underinvestment, but internal financing does not have a significant effect on the relationship between the overconfidence of managers and investment as well over-investment. But the effect of internal financing on the relationship between managers’ overconfidence and underinvestment was a significant positive. Finally, it became clear that internal financing had a significant negative impact on investment and over-investment.


Introduction
Undoubtedly, investing is one of the most important tasks for company managers. If managers are able to correctly identify valuable investment opportunities (positive net present value plans) in the market and invest appropriately in each of them, this will ultimately lead to company growth. As a result, shareholder wealth will increase (Arabsalehi et al, 2014). Companies need financial resources to invest, and decisions about the corporate financial resources are of the most important financial management decisions to the extent that they are part of the corporate strategic decisions because of their effects on the company financial structure and investor resources (Ghadrdan et al, 2018). Corporate investment decisions are determined by many factors, including economic factors, macroeconomic policies, capital markets, company operations, and so on (Richardson, 2006). Management factors, such as the irrationality of managers, especially in inefficient financial markets and in poorly managed companies, are important factors that determine the investment decisions of companies. (Malmendier et al, 2011). Roll (1986) emphasizes that overconfidence is a kind of irrational behavior that company managers tend to exhibit when making decisions about their business (Heaton, 2002). Overconfidence is a personality trait that can be defined as behavioral bias and having unrealistic (positive) beliefs about any aspect of an event under uncertainty conditions (Skala, 2008). Most overconfident managers are very optimistic about their decisions and their results, especially in terms of investment decisions (Cooper et al, 1988).
They believe that the market values their company less than truly valued, making external financing costly. For this reason, if the company has internal resources, overconfident managers may be more willing to overinvest, but if project financing requires external resources, they may underinvest (Malmendier et al, 2005). According to hierarchical theory (Myers, 1984), companies prioritize their resources for financing by considering the cost of capital, they mainly prefer to use internal financing first and then the next stage, They use debt to finance and ultimately choose to raise new capital. Managers with overconfidence believe that if they use external financing, the value of their company's stock will decrease and they do not consider this desirable (He et al., 2019). As a result, by emphasizing hierarchical theory, they first prefer internal financing, and later prefer debt to equity (Malmandir et al., 2011). From a behavioral finance perspective, corporate executives are more inclined to external financing because they will be able to control the domestic budget more with internal financing; therefore, managers with overconfidence tend to influence the efficiency of investment projects with internal financing (He et al, 2019). Based on the above, the present study seeks to examine the effect of managers' overconfidence on investment (overinvestment and under-investment) and the moderating effect of internal financing methods on their relationship.

Literature Review
Investing in different things by companies has always been considered as one of the most important ways of developing companies and preventing stagnation and backwardness (Farid et al, 2018). Investment decisions are influenced by various factors including behavioral factors. So far, various behavioral factors have been raised in financial decision-making. One of the most important behavioral disorders is overconfident decision-making. Overconfidence is one of the most important findings of psychology in the field of judgment and decision-making. Psychologists define a person with overconfident behavioral characteristics as someone who believes that their information and knowledge are highly accurate (more than what it truly is). According to Hyde, psychology texts have provided two definitions for overconfident people. First, they overestimate their abilities. Second, they perceive an event more definite than it really is (Chavoshi et al, 2015). CEO overconfidence is defined as the possibility of the CEO to anticipate highly positive results, with the overestimation of the probability of results occurring (Malmendier et al, 2008). An overconfident manager will systematically overestimate the future returns from investment projects, or one might say that they overestimate the probability and effect of favorable events and underestimate the probability and effect of adverse events on the corporate cash flows (Heaton, 2002). Therefore, overconfident managers are expected to have higher capital expenditures and overinvest in investment projects (Malmendier et al, 2005).
One of the most important decisions facing business managers is financing decisions. Financing and investing are two sides of the same coin. Funds from financial resources are spent on investments. There are various theories regarding financing, one of the most important of which is the pecking order theory. The pecking order theory is one of the theories related to the choice between debt and equity in the capital structure and states that companies adhere to a hierarchy of financing sources. Hierarchy formation is the result or consequence of information asymmetry. According to this theory, in cases where there is information asymmetry between managers and external investors, managers prefer internal financing to external financing, that is, they firstly finance from accumulated profits and savings. Then, if internal sources were not adequate, they use external resources by first releasing the least risky securities, i.e. issuing bonds (debt); and if the debt was not enough either, they eventually issue shares (Farid et al, 2018).
Since overconfident managers overestimate and are optimistic about the profitability of their business, they feel the capital market has undervalued their securities. Hence, when a business needs financing, they prefer to issue debt than equity and assume that by choosing shorter-term debt, they increase shareholder wealth. In this case, Heaton (2002) argues that overconfident managers may underestimate the market value of securities issued by companies and as a result, would not go for external financing. When companies seek external financing, they may think that the cost of issuing equity securities is higher than the costs of issuing debt securities; therefore, they prefer debt financing because they believe that stock prices are more sensitive than debt securities to market expectations (Hasani Alghar et al, 2018). Ahmadi and Ghalambar (2019) examined the effect of managerial overconfidence criteria on the risk of future stock price crashes in companies listed on the Tehran Stock Exchange. Their results show that among the selection criteria for managerial overconfidence, overinvestment, debt-toequity ratio, net cash flow, dividend policy and capital expenditure ratio have a significant positive effect on the risk of future stock prices crash. In addition, their results show that the main criterion of managerial overconfidence has a significant positive effect on the risk of future stock prices crash.

Background
Hasani Alghar and Rahimian (2018) investigated the effect of a psychological factor (managerial overconfidence) on the debt maturity structure. Their results show that managerial overconfidence has a significant positive effect on debt maturity structure, and companies managers with overconfidence adopt a shorter debt maturity structure, by choosing a higher percentage of short-term debt, and provide the liquidity risk related to this policy does not deter them from doing so. Darabi and Mohsenzadeh Ganji (2017) investigated the effect of CEO overconfidence on financing ways of companies listed on the Tehran Stock Exchange. Their findings showed that the two financing methods of bank loans and increasing capital are significantly and directly affected by CEO overconfidence and that CEO overconfidence has a significant, albeit reverse, the effect on financing from debt and share issuance.
Ali Nejad Saro Kalai and Sobhi (2016) examined the effect of managers' overconfidence on book value and market value of the capital structure. Their results indicate that the overconfidence of managers has no effect on the book value of the capital structure, while they observed the effect of overconfidence on the market value of the capital structure. Chavoshi et al (2015) investigated the relationship between managers' overconfidence and the choice of financing policy in companies listed on Tehran Stock Exchange. Their results show a lack of relationship between managers' overconfidence and financial decisions. Also, they showed that the relationship between cash flow investment and growth opportunities, the profitability of company size, and distress were significantly related to financial decisions. Arabsalehi et al (2014) examined the effect of overconfidence of senior managers on the sensitivity of cash flow investment The results of this study indicate that over the examined time, the overconfidence of senior managers has increased the sensitivity of cash flow investment.
He et al (2019) examined the effect of managers' overconfidence on the performance of investment (investment; overinvestment and underinvestment) and the moderating effect of internal financing on the relationship between them. Their results indicate that internal financing creates business occasions and reduces capital deficits, but may lead to overinvestment in companies with managerial overconfidence. The results also showed that the relationship between managerial overconfidence and overinvestment in public companies is stronger than that of private companies. Zhang and Yang (2018) examined the relationship between overconfidence in the CEO and investment financing behavior. Their results show that CEO overconfidence increased the level of leverage, increased the number of loans, and especially increased in the number of short-term loans; and as economic growth accelerated, the CEOs of those companies tended more to show overconfident behaviors. Tekin (2018) examined the effect of managers' overconfidence on financial decisions. Their results show that the studied managers have a high degree of overconfidence and this bias has a significant impact on financial decisions. Deshmukh and Goel (2013) concluded that as overconfident managers find external financing for investment in the company costly if they need higher future investment, they will give lower dividends. They also found that this negative relationship is more intense in firms with lower growth and lower cash flows. Huang et al (2011) examined the effect of managers' overconfidence on the sensitivity of cash flow investment and the impact of agency costs on that relationship. Their results show that on average, managerial overconfidence leads to an increase in the sensitivity of cash flow investment, and this effect is significantly greater in companies with higher agency costs. Malmendier et al (2008), in a study entitled "Who makes acquisitions? CEO over confidence and the market's reaction" found that managers' personal characteristics, especially overconfidence, can lead to deviations in corporate investment decisions, and these optimistic managers have significantly higher investment cash flow sensitivity, especially in joint-stock companies. Their results also show that managers with overconfidence prefer debt financing to share financing. (2007), in a study entitled "Managerial Overconfidence and Corporate Policies" concluded that companies that have managers with overconfidence have lower discount rates than cash flow values, invest more, use more debt, are less likely to pay dividends, and are more likely to redeem the shares. Ekholm and Pasternake (2007), in a study entitled "Overconfidence and investor size", examined the relationship between investor behavior and their investment capacity in Finland. Their findings showed that more minor and more confident investors are more harmed by their investment behaviors. In the end, they came to the conclusion that investor behavior changed and affected by the size and volume of investment. Heaton (2002) attempted to provide a model for examining the decisionmaking process of overconfident managers, regardless of agency costs and information asymmetry. Their findings show that overconfident managers, increase their investment free cash flow sensitivity, believing that the market underestimates the value of their firm projects and that external financing costs will be too high. Also, optimistic managers often overestimate cash flows, and as a result, the company investment opportunities will be overvalued.

Ben-David et al
As mentioned earlier, the effect of managerial overconfidence on investment and the effect of internal financing on the relationship between them, as well as the effect of internal financing on investment, has been examined in this study. The point distinguishing the present study from local studies is examining the effect of internal financing as an important moderating variable on the relationship between managerial overconfidence and investment.

Research Hypotheses
Economists believe that managers usually rational. However, based on psychological research, researchers have found that people are overconfident when evaluating their skills. People would like to overstatement (Alicke, 1985) and think that they are wiser and better than average people. This "better than average" affects economic decision making (Camerer et al, 1999). The leadership role of management also enhances the confidence of managers: They can use their powers to control the company and move on toward their own interests.
Most thinkers in society consider the importance of overconfidence and its effects on the dimensions of business performance to be significant. However, based on hierarchical theory, corporate managers take their costs into account in order to prioritize financing. Graham and Harvey (2001) believe that most managers of different companies believe that they have the ability to control financing decisions and influence the performance of businesses. On the other hand, it is believed that the psychological characteristics of managers are usually closely related to changes in stock prices and the value of companies. Besides, managers are overconfident about their technological capabilities and the power of their judgment and decision-making. They believe that their companies have high practical potential and that foreign investors are unable to estimate their company's real value and underestimate it. Also, due to the issue of information asymmetry and high costs, managers are interested in providing internal financing and maintaining cash in their company. Previous studies have shown that managers with too much confidence are reluctant to share the profits earned by the company (Deshmuk et al., 2013). Similarly, Ben David et al. (2007) found that managers with overconfidence were less likely to share dividends and more likely to be interested in domestic financing.
For a long time, the issue of improving the efficiency of investment in industry and academia has been considered. Since Schumpeter (1942) stated that companies would be able to maintain a monopoly by investing more in innovative activities, the issue of domestic financing and the need for companies to invest in innovative activities became more important, and studies Extensive funding decisions were made and developed (Howard, 1998).
The pecking order theory proposed by Myers (1984) shows that companies can minimize information asymmetry and the risk of undesirable selection by conducting internal financing. By providing internal financing by the company, additional free cash flow is created, so companies can take advantage of this opportunity and invest more in essentials, but because of the ethical risks, the extra free cash flow can lead to over-investment. In this way, the managers of a company may expand their investment to achieve personal interests. They can also seek to increase their power and position with extra cash. Reducing domestic financing reduces additional cash and makes it impossible to meet the company's investment needs. Under these circumstances, even if it is possible to invest in projects with a net present positive value, companies do not have sufficient cash available for this purpose. Both over-investment and underinvestment are considered as classes of inefficient investment.
Managerial overconfidence affects both the decisions they make in terms of financing and the efficiency of companies' investments (Malmandir et al., 2008). They are positive about the future of the company, so they agree with internal financing to improve the company's performance and increase personal interests, so they may make mistakes when deciding on the current value of various projects. In addition, it is possible, young managers are looking to increase their credibility and reputation, and therefore to make any kind of investment Inefficient investments to improve short-term performance (Baker and Wergler, 200) Overconfident managers believe that their companies' stock in the market is less valued than the real value, and therefore tend to use The extra cash flow they have is investing too much. In short, internal financing plays a moderating role between managers' overconfidence and investment effectiveness. In view of the above, the following hypotheses are suggested: 1. Managerial overconfidence has a significant impact on investment. 2. Internal financing has a significant impact on the relationship between managerial overconfidence and investment. 3. Internal financing has a significant impact on investment. 4. Managerial overconfidence has a significant impact on overinvestment. 5. Internal financing has a significant impact on the relationship between managerial overconfidence and overinvestment. 6. Internal financing has a significant negative impact on overinvestment. 7. Managerial overconfidence has a significant positive impact on underinvestment. 8. Internal financing has a positive impact on the relationship between managerial overconfidence and underinvestment. 9. Internal financing has a significant impact on underinvestment.

Methodology
This is an applied study based on the analysis of information collected from the Tehran Stock Exchange. This is a post-event study in nature (based on historical information). Using a systematic elimination sampling method, a statistical sample size of 97 companies for the period of 2012-2017 was selected. The companies studied in this study include all companies that have the following conditions: 1-In terms of increasing comparability, the financial period of companies should end on March 20, and the company should not be one of the financial intermediation companies, insurance companies and investment companies. 3-The data desired by the companies should be available during the period under review.
Due to the nature of the research, the library methods and corporate documents and financial statements were used to collect data and information. Research hypotheses were examined using EViews software and panel data regression tests. In this study, according to the study of Ahmed & Duellamanm (2013) and Arabsalehi & Hashemi (2015), the investment surplus criterion was used to measure managerial overconfidence, in which residuals greater than zero indicate overconfidence.

1.Variables used in Research
ASSET*GR: Corporate asset growth that comes from the difference in asset changes from last year.
1-SALE*GR: Corporate sales growth that comes from the difference in sales changes from last year. 2-Managerial overconfidence is a virtual variable that is 1 if the residuals of the above model are greater than zero, otherwise, it is 0. (2006)

Models
The regression models used in a study by He et al (2019) were employed to investigate the research hypotheses.

Research findings
Descriptive statistics of variables are measured using data from 97 companies listed on the Tehran Stock Exchange from 2012 to 2017 1 . To prevent false regression results, the reliability of the variables was evaluated by the Dickey-Fuller, Lin, Levine and Chu reliability tests. The results of the above tests are presented in the following table. Using the F-Limer test, it was examined whether panel data regression could be used, also, the type of effects between sections was investigated using the Hausman test. Also, the panel data regression test was used to test the research hypothesis. The results of the above tests are presented in the following table.   The ratio of company investment to total assets; OC: Using investment surplus criterion to measure managerial overconfidence; INTERN: Retained earnings to total assets ratio; SIZ: Natural logarithm of company assets; TOBIN_Q: Company market value plus total debt divided by total assets; LEV: Debt to asset ratio; ROA: Ratio of net profit to total assets; EPS: Ratio of net profit to total equity; and CF: Net cash flow to total assets ratio Dependent variable: Investment. * At 90% confidence level. ** At 95% confidence level. *** At 99% confidence level.
To determine the effect of the independent variable on the dependent variable, it is judged based on the significance level and t-statistic. The independent variable will have a significant effect on the dependent variable if the significance level is less than 0.05 and the absolute value of t-statistic is greater than 1.96. Based on the table above, the results of the research hypotheses examination show that managerial overconfidence has a positive and significant impact on investment at 95% confidence level; so, the first research hypothesis will be accepted, i.e., increasing (decreasing) managerial overconfidence will increase (decrease) investment, too. The results also show that at 95% confidence level, internal financing has no significant impact on the relationship between managerial overconfidence and investment; so, the second hypothesis will not be accepted, i.e., increasing (decreasing) internal financing has no significant impact on the relationship between managerial overconfidence and investment. Finally, it turned out that at 99% confidence level, internal financing has a significant negative impact on investment; so, the third hypothesis is accepted, i.e., increasing (decreasing) internal financing will decrease (increase) investment.
Coefficients of determination (R) indicate that, for all models, approximately 80-81% of the dependent variable variations are explained by the independent variables considered in this model and the remainder are explained by other variables not considered here. According to the above table, the Durbin-Watson statistic value showed no self-correlation problem. Also based on the probability of F statistic (F˂0.05) the regression equation is significant overall.
The typical regression test was used to test the research hypotheses, the results of which are presented in the following table.   F-statistic Total model statistic OC: Using investment surplus criterion to measure managerial overconfidence; INTERN: Retained earnings to total assets ratio; SIZ: Natural logarithm of company assets; TOBIN_Q: Company market value plus total debt divided by total assets; LEV: Debt to asset ratio; ROA: Ratio of net profit to total assets; EPS: Ratio of net profit to total equity; and CF: Net cash flow to total assets ratio * Dependent variable: Overinvestment. * At 90% confidence level. ** At 95% confidence level. *** At 99% confidence level.
The results of the research hypotheses examination show that managerial overconfidence has no significant impact on overinvestment; so, the fourth hypothesis will not be accepted. Also, internal financing has no significant impact on the relationship between managerial overconfidence and overinvestment; so, the fifth hypothesis will not be accepted; but internal financing has a significant negative impact on overinvestment, which shows that the sixth hypothesis will be accepted.
Coefficients of determination (R) indicate that for all models approximately 19-23% of the dependent variable variations are explained by the independent variables considered in this model and the remainder are explained by other variables not considered here. According to the above table, the Durbin-Watson statistic value showed no self-correlation problem. Also based on the probability of F statistic (F˂0.05) the regression equation is significant overall.
The typical regression test was used to test the research hypotheses, the results of which are presented in the following table. Retained earnings to total assets ratio; SIZ: Natural logarithm of company assets; TOBIN_Q: Company market value plus total debt divided by total assets; LEV: Debt to asset ratio; ROA: Ratio of net profit to total assets; EPS: Ratio of net profit to total equity; and CF: Net cash flow to total assets ratio * Dependent variable: Underinvestment * At 90% confidence level. ** At 95% confidence level. *** At 99% confidence level.
Based on the table above, the results of the research hypotheses examination show that managerial overconfidence has a positive significant impact on underinvestment; so, the seventh hypothesis will be accepted. Also, internal financing has a positive effect on the relationship between managerial overconfidence and underinvestment; so, the eighth hypothesis will be accepted; but internal financing has no significant impact on underinvestment, which shows that the ninth hypothesis will not be accepted.
Coefficients of determination (R) indicate that for all models approximately 7-10% of the dependent variable variations are explained by the independent variables considered in this model and the remainder are explained by other variables not considered here. According to the above table, the Durbin-Watson statistic value showed no self-correlation problem. Also based on the probability of F statistic (F˂0.05) the regression equation is significant overall. The adjusted determination coefficient of the model indicates that its size-dependent variable changes can be attributed to changes in independent and control variables, and the rest of dependent variable changes are due to changes in other factors that have been taken for granted here. Positive and significant Accepted 2 Internal financing has a significant impact on the relationship between managerial overconfidence and investment.
Positive and nonsignificant Rejected 3 Internal financing has a significant impact on investment Negative and significant Accepted 4 Managerial overconfidence has a significant impact on overinvestment.
Positive and nonsignificant Rejected 5 Internal financing has a significant impact on the relationship between managerial overconfidence and overinvestment.
Positive and nonsignificant Rejected 6 Internal financing has a significant negative impact on overinvestment.
Negative and significant Accepted 7 Managerial overconfidence has a significant positive impact on underinvestment.
Positive and significant Accepted 8 Internal financing has a positive impact on the relationship between managerial overconfidence and underinvestment.
Positive and significant Accepted 9 Internal financing has a significant impact on underinvestment.
Negative and nonsignificant

Conclusion
The present study investigates the effect of managerial overconfidence on investment (over and under investment) and the effect of internal financing on the relationship between them in companies listed on the Tehran Stock Exchange. Of the most important decisions facing managers are financing and investing decisions. Hence, it is important to examine the behavioral biases affecting such managers' decisions. According to the results of this study, managerial overconfidence has a positive and significant effect on investment and underinvestment decisions, i.e., increasing (decreasing) managerial overconfidence increases (decreases) company investment. The above result shows that when managers are overconfident, they maintain optimistic attitudes about the company and consider investment increase as good news. Another research result showed internal financing had no significant effect on the relationship between managerial overconfidence and investment and overinvestment. The above result shows that the internal financing method has not affected the biased tendencies of the managers that may change the level of investment, and that the managers use other methods of financing to improve their company performance and to gain their personal benefits. It was also found that internal financing has a negative impact on investment and overinvestment decisions, i.e., increasing (decreasing) using internal financing method decreases (increases) investment level. The above results show that internal financing methods are costly and have reduced investment. Finally, the results of the study showed that internal financing has a positive impact on the relationship between managerial overconfidence and underinvestment. The result shows that overconfident managers have a lower tendency to dividend payout and underinvestment increases because of the increased cash flow, so overconfident managers prefer internal financing. The results of the present study are consistent with Darabi et al (2017), Arabsalehi et al (2014) and Huang et al (2011) and inconsistent with He et al. (2019). Based on the above results, it is recommended that shareholders and managers of companies pay attention to behavioral factors such as overconfidence and investment projects evaluation in selecting company managers, especially CEOs, board members, and executives because this supervision will reduce the likelihood of errors in investments and increase administrative and financial health and information transparency. It is also recommended that other external financing methods be used to increase investment power. For future research, it is suggested to examine the impact of managerial overconfidence on investment (over and under investment) by industry or life cycle. It is also suggested that the impact of external financing methods on the relationship between managerial overconfidence and investment (over and under investment) are examined and the results are compared with this study.
The difference in results between the present study and the study by He et al (2019) can be due to the use of different measurement indices of variables, different times and locations of the research and finally the difference between the markets studied, which are considered as research limitations.
Funding: This research received no external funding.