Wooldridge “nbasal” Dataset Analysis Issues

Im trying to analyze the “nbasal” dataset based on position.

when I run this line:

model1 = lm(wage ~ exper, data = center_players) # regression on center players

summary(model1)

The output is this

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 1184.64 355.26 3.335 0.00174 **

exper 80.21 51.22 1.566 0.12450

when I run this:

model2 = lm(wage ~ exper + points, data = center_players)

summary(model2)

the output is this:

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) -33.43 244.90 -0.136 0.8921

exper 71.13 29.86 2.382 0.0217 *

points 149.05 16.02 9.306 7.3e-12 ***

I don’t understand how each point increases salary by 149.05 and the intercept become -33. can someone explain this to me.

submitted by /u/Expensive-Still7318
[link] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *