Conduct a linear regression with charisma and romanticism as predictors a d optimism as the outcome
charisma <- c(23, 24, 36, 38, 35, 38, 40, 42, 45, 35, 50, 56, 58, 34, 24, 35, 32, 34, 45)
romanticism <- c(34, 23, 35, 37, 38, 35, 32, 34, 39, 45, 34, 45, 50, 53, 32, 34, 38, 34, 32)
optimism <- c(24, 26, 23, 26, 31, 30, 34, 54, 42, 40, 43, 45, 36, 38, 39, 34, 23, 22, 33)
df <- data.frame(charisma, romanticism, optimism)
df
I need the beta values for all three variables
I need the f statistic
The p value
The regression square
The interpretation of the results in a vwry easy to understand way that i can apply to other regression analysis