Generation

generate functionTue, 14 Mar 2023

John is looking to invest in the Canadian Stock Market. In particular, John wants to maximize his received cash flows, so he would like to invest in companies that have a high dividend per share ratio. Load the FinanceCanada.csv dataset. This contains randomly chosen Canadian companies sorted into seven industry groups (1=real estate, 2=financial, etc), along with a variety of financial metrics. To direct his investing, John would like to test whether certain types of industries have on average a higher dividend per share ratio. a) State the null and alternative hypotheses

H0: There is no difference in the mean dividend per share ratio of companies in each of the seven industry groups. Ha: There is a difference in the mean dividend per share ratio of companies in each of the seven industry groups.

Questions about programming?Chat with your personal AI assistant