Question No: 04 This is a subjective question, hence you have to write your answer...

50.1K

Verified Solution

Question

Finance

image

Question No: 04 This is a subjective question, hence you have to write your answer in the Text-Field given below. You have a table named Salary_Data in a CSV file. The columns are organized as years_of_total_experience, years_of_relevant_experience, years_of_education, annual_salary of which first three are the predictors of this model. Use this information to answer the questions below. Detailed data of the table is not required for solving this question. You are requested to clearly mention any further data related assumption you are taking. a. Define the parametric model that is recommended to use here? Give reason of this choice. [1 +1 = 2] b. Write the R code block that will read data from the CSV file, create training and testing dataset by taking 30% of total dataset for training and remaining for testing. [2] c. Write a R Code block that will fit the earlier defined model, do a prediction and show a scatter plot between predicted annual_salary and years_of_relevant experience [3] Question No: 04 This is a subjective question, hence you have to write your answer in the Text-Field given below. You have a table named Salary_Data in a CSV file. The columns are organized as years_of_total_experience, years_of_relevant_experience, years_of_education, annual_salary of which first three are the predictors of this model. Use this information to answer the questions below. Detailed data of the table is not required for solving this question. You are requested to clearly mention any further data related assumption you are taking. a. Define the parametric model that is recommended to use here? Give reason of this choice. [1 +1 = 2] b. Write the R code block that will read data from the CSV file, create training and testing dataset by taking 30% of total dataset for training and remaining for testing. [2] c. Write a R Code block that will fit the earlier defined model, do a prediction and show a scatter plot between predicted annual_salary and years_of_relevant experience [3]

Answer & Explanation Solved by verified expert
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students