Question
Please do in R Finally, run at least 2 different, appropriate regressions predicting the variable you indicated in Q10. These regressions should use different predictor(s).
Please do in R
Finally, run at least 2 different, appropriate regressions predicting the variable you indicated in Q10. These regressions should use different predictor(s). Organize and explain your code within the code chunk using comments. Identify the best model and provide a discussion of your observations in the *Q14 Discussion* section provided below. Be organized and detailed in your discussion.
Please do in R
dataset =updated_brf
variable to be predicted = LSATISFY
variables to be used for prediction: PERSDOC2, EMPLOY1, and EDUCA
#For analysis of "PERSDOC2" column:
Value Value Label Frequency ----- ------------------ --------- 1 Yes, only one 341,386 2 More than one 34,477 3 No 63,737 7 Don't know/Not Sure 1,165 9 Refused 691
10 MISSING/ NOT ASKED 10101
#For analysis of "EDUCA" column: Value Value Label Frequency ----- -------------------------------------------------------- --------- 1 Never attended school or only kindergarten 609 2 Grades 1 through 8 (Elementary) 11,187 3 Grades 9 through 11 (Some high school) 22,463 4 Grade 12 or GED (High school graduate) 123,227 5 College 1 year to 3 years (Some college or technical school) 120,528 6 College 4 years or more (College graduate) 161,631 9 Refused 1,811
10 MISSING/ NOT ASKED 10101
#For analysis of "EMPLOY1" column:
Value Value Label Frequency ----- ------------------------------------ --------- 1 Employed for wages 179,163 2 Self-employed 36,609 3 Out of work for 1 year or more 9,594 4 Out of work for less than 1 year 9,012 5 A homemaker 27,107 6 A student 11,551 7 Retired 132,648 8 Unable to work 31,977 9 Refused 3,795
10 MISSING/ NOT ASKED 10101
# For analysis of 'LSATISFY' column: Value Value Label Frequency ----- ------------------- --------- 1 Very satisfied 9,066 2 Satisfied 9,721 3 Dissatisfied 827 4 Very dissatisfied 224 7 Don't know/Not sure 133 9 Refused 81
10 MISSING/ NOT ASKED 10101
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started