Question: Create a linear model to predict happiness based on Age and Income and an Age x Income interaction variable. Use the model to predict the

Create a linear model to predict happiness based on Age and Income and anAge x Incomeinteraction variable.
Use the model to predict the happiness of a person who is 35 year old with an income of $50,000.
NOTE: When a function's argument value is a number greater than 1000 do NOT use commas
For example:
Yes -->data.frame(Age=35, Income=50000)
No -->data.frame(Age=35, Income=50,000)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!