Homework 4 Data Analysis
Background
For this homework, you will be building logistic regression models to predict whether an employee prefers remote work post pandemic based on various predictors.
The “remote_work_trends.csv” data set is below:
Remote work trends analysis
For this homework, you will be building logistic regression models to
predict whether an employee prefers remote work post pandemic based on
various predictors.
The "remote_work_trends.csv" data set consists of the following variables:
Age: Age of the employee (Quantitative)
Gender: Gender of the employee (Qualitative)
Country: Country of residence (Qualitative)
JobRole: Job role of the employee (Qualitative)
ExperienceYears: Years of experience in the current job role
(Quantitative)
RemoteWorkHoursPerWeek: Average number of hours worked remotely per
week (Quantitative)
JobSatisfaction: Job satisfaction level on a scale of 1-10
(Quantitative)
TechToolsUsed: Number of different tech tools used for remote work
(Quantitative)
CompanySize: Size of the company (small, medium, large)
(Qualitative)
Salary: Monthly salary in USD (Quantitative)
ProductivityLevel: Self-reported productivity level (low, medium,
high) (Qualitative)
MentalHealthImpact: Self-reported impact on mental health (positive,
neutral, negative) (Qualitative)
RemoteWorkPreference: This is the response variable. It indicates
the preference for remote work post-pandemic [yes(1), no(0)]
(Qualitative)
NOTE: Use the dataset 'trainData' for all the questions unless
otherwise stated in that question.
Read the data and answer the questions below:
公众号:AI悦创【二维码】

AI悦创·编程一对一
AI悦创·推出辅导班啦,包括「Python 语言辅导班、C++ 辅导班、java 辅导班、算法/数据结构辅导班、少儿编程、pygame 游戏开发、Web、Linux」,全部都是一对一教学:一对一辅导 + 一对一答疑 + 布置作业 + 项目实践等。当然,还有线下线上摄影课程、Photoshop、Premiere 一对一教学、QQ、微信在线,随时响应!微信:Jiabcdefh
C++ 信息奥赛题解,长期更新!长期招收一对一中小学信息奥赛集训,莆田、厦门地区有机会线下上门,其他地区线上。微信:Jiabcdefh
方法一:QQ
方法二:微信:Jiabcdefh
