In this task, you can use all functions of R to help you. In a recently conducted study, it was tested whether there is a connection between job satisfaction and income and seniority in nine randomly selected employees. The value attached to job satisfaction is each employee's own assessment, where 1 describes low satisfaction and 10 high satisfaction. Material:  annual income (per thousand dollars) years spent in job satisfaction 47 8 5.6 42 4 6.3 54 12 6.8 48 9 6.7 56 16 7.0 59 14 7.7 53 10 7.0 62 15 8.0 66 22 7.8   The result was the material below a) Fit a two-explainer linear regression model to the data with R's function lm(). What happens to job satisfaction as the number of years increases? For explanatory variables, can the null hypothesis that the corresponding regression coefficient is equal to zero be rejected? b) It is assumed that job satisfaction is only related to years in that job. Estimate the regression parameters using R software. What happens to job satisfaction as the number of years increases? Can we reject the null hypothesis that the regression coefficient is equal to zero? c) What difference do you notice in the answers to (a) and (b)? What could be the reason for this difference? Tip: What is assumed about the explainers?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
In this task, you can use all functions of R to help you. In a recently conducted study, it was tested whether there is a connection between job satisfaction and income and seniority in nine randomly selected employees. The value attached to job satisfaction is each employee's own assessment, where 1 describes low satisfaction and 10 high satisfaction.
Material: 
annual income (per thousand dollars) years spent in job satisfaction
47 8 5.6
42 4 6.3
54 12 6.8
48 9 6.7
56 16 7.0
59 14 7.7
53 10 7.0
62 15 8.0
66 22 7.8
 
The result was the material below
a) Fit a two-explainer linear regression model to the data with R's function lm(). What happens to job satisfaction as the number of years increases? For explanatory variables, can the null hypothesis that the corresponding regression coefficient is equal to zero be rejected?
b) It is assumed that job satisfaction is only related to years in that job. Estimate the regression parameters using R software. What happens to job satisfaction as the number of years increases? Can we reject the null hypothesis that the regression coefficient is equal to zero?
c) What difference do you notice in the answers to (a) and (b)? What could be the reason for this difference? Tip: What is assumed about the explainers?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman