Please include r code
Question D (3 points) A financial advising firm has devised an investment template for clients at various stages in their careers. For someone in his/her 40s, for example, the firm recommends a portfolio consisting of 30% Growth stocks, 30% High Quality bonds, 15% Balance stocks, 15% International Stocks and 10% High Yield bonds. Suppose a given advisor at this firm works exclusively with people in their 40s and has invested, on behalf of these clients, $3 million over the last month as follows: Type $ Invested (millions) Growth Stock 0.88 Balance Stock 0.42 International Stock 0.49 High Quality Bonds 0.86 High Yield Bonds 0.35 10. Is there anything out of the order about this advisor's activities (does it follow the recommended portfolio)? [Show your code in "R Code" section. Show the answer (p-value and decision) in "Answer" section. Write your conclusion in "Comments" section.]Question G 14 mints} After a change in the regulatory climate, a wireless phone service provider is unsure about the population mean for monthly data usage. The m'i will invest in additional capacity if it has enough evidence {a = 0.10) that the average data usage is more than 525 kilobytes per month. It is assumed that monthly data usage is normally distributed. A random sample of 41} customers is taken, and a sample average of 550 kilobytes and a sample standard deviation of 83.4 kilobytes are observed. 15. State your null and alternate hypotheses. [Write your null and alternate hypotheses in \"Comments\" section] 16. Given the acceptable risk of a Type I error, should the fmn invest in the additional capacity? Do the different leadership structures have the same effect on team performance? [Show your code in \"R Code" section. Show the answer (p-value and decision) in \"Answer" section. Write your conclusion in \"Comments" section]