I would like to know how professional and demographic variables influence job satisfaction.
Which method do I have to use?
lm.out <- lm(pv1~AGE+EDU+SIZE+SCOPE+MGMT+SCOPE+TENURE+COLLAR+SEX, data=data)
output1 <- lm(pv1~AGE, data=data)
output2 <- lm(pv1~AGE+EDU, data=data)
output3 <- lm(pv1~AGE+EDU+SIZE, data=data)
output4 <- lm(pv1~AGE+EDU+SIZE+SCOPE, data=data)
output5 <- lm(pv1~AGE+EDU+SIZE+SCOPE+MGMT, data=data)
output6 <- lm(pv1~AGE+EDU+SIZE+SCOPE+MGMT+SCOPE, data=data)
output7 <- lm(pv1~AGE+EDU+SIZE+SCOPE+MGMT+SCOPE+TENURE+COLLAR, data=data)
output8 <- lm(pv1~AGE+EDU+SIZE+SCOPE+MGMT+SCOPE+TENURE+COLLAR+SEX, data=data)
I don't have an answer for you but honest advice, if you want to improve your chances of getting help, you should try to ask better-constructed questions, take a look at these FAQs for guidance.
First and foremost, please ask!
A core goal of community is to be a friendly place to chat about topics related to data science, R, and RStudio.
We know that posting to technical forums can be intimidating. But know that many here would love to see you overcome your inhibition and engage with us.
Here are a few tips some folks here think might be helpful.
Title
Put extra effort into your title. Be as clear and compelling as possible.
For many your title will be the only thing they see before they completely ignore your post
Content
Besides asking the core of your query,
State Your Goals: Some community-members are quite task-oriented here. Stating specific goals for th…
First and foremost, please ask!
A core goal of community is to be a friendly place to chat about topics related to data science, R, and RStudio.
We know that posting to technical forums can be intimidating. But know that many here would love to see you overcome your inhibition and engage with us.
Here are a few tips some folks here think might be helpful.
Before you post
Check Out R Documentation - R has built in documentation on packages and functions .
For example typing ?lm into your R console will open the documentation on the lm function .
Search - Be sure to search for the basic keywords of your question with your favorite search engine, Stack Overflow, and R-Help. Stack Overflo…
system
Closed
August 30, 2020, 3:35pm
3
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.