Docsity

Regression Analysis of Faculty Salaries: Linear and Quadratic Models with Interaction, Study notes of Statistics

Partial preview of the text

Download Regression Analysis of Faculty Salaries: Linear and Quadratic Models with Interaction and more Study notes Statistics in PDF only on Docsity!

F. Chiaromonte^

EXAMPLES FOR THE GENERAL LINEAR MODEL

F. Chiaromonte^

Salary.mtw, Minitab, Student 12 subdirectoryStudy faculty salary in 1991 as a function of various predictor variables.year = 1991 – StartYr Model 1 : linear form in years and beginning salary The^ regression^ equation

is 1991$^ =^ -^10477 +^

1922 years^ +^ 1.42^ Begin$ Predictor^ Coef

SE^ Coef^ T^

P

Constant^ -

1774 -5.91^ 0.

years^ 1922.

49.87^ 38.55^ 0.

Begin$^ 1.

0.08058^ 17.62^ 0.

S^ =^ 1922.27^ R-Sq

=^ 93.5%^ R-Sq(adj)

=^ 93.4%

Analysis^ of^ VarianceSource^ DF

SS^

MS^ F^ P

Regression^

1208.93^ 0.

Residual^ Error^168

Total^170

F. Chiaromonte^

nd^ Model 2 : full 2 order polynomial in years and beginning salary The^ regression^ equation

is 1991$^ =^ -^22975 +^

2940years^ +^ 1.83Begin$

-^ 32.4years^2^ -^ 0.000012Begin$^

+^ 0.0150years*Begin$

Predictor^

Coef^ SE^ Coef^

T^ P

Constant^

-22975^12140

-1.89^ 0.

years^

2939.6^ 696.

4.22^ 0.

Begin$^

1.834^ 1.^

1.81^ 0.

years^^

-32.38^ 10.

-3.02^ 0.

Begin$^2^ -0.

0.00002184^ -0.

years*Begin$^

0.01498^ 0.

0.54^ 0.

S^ =^ 1507.25^ R-Sq

=^ 96.1%^ R-Sq(adj)

=^ 96.0%

Analysis^ of^ VarianceSource^ DF

SS^

MS^ F^ P

Regression^

808.19^ 0.

Residual^ Error^165

Total^170

Not all second order terms aresignificant… may want to dropsome?

F. Chiaromonte^

(^252015105)

100005000 0 -5000 (^250002000015000100005000) years 100005000 0 -5000^50000400003000020000 RESI

Begin$ FITS

FitsRegressLowess

Scatterplot of RESI2 vs years, Begin$, FITS

(^125001000075005000) 99.9^999590807060504030201051 0.1^25000 -2500-5000^ RESI Percent

Mean^ 8.212046E-12StDev^1485 N^171 AD^ 6.653P-Value^ <0. Probability Plot of RESI2^ Normal - 95% CI

F. Chiaromonte^

(^252015105)

100005000 0 -5000 (^250002000015000100005000) years 100005000 0 -5000^50000400003000020000 RESI

Begin$ FITS

FitsRegressLowess

Scatterplot of RESI3 vs years, Begin$, FITS

(^125001000075005000) (^25000) -2500- 99.9^999590807060504030201051 0.

RESI Percent

Mean^ -6.10585E-12StDev^1486 N^171 AD^ 6.529P-Value^ <0. Probability Plot of RESI3^ Normal - 95% CI

F. Chiaromonte^

C = 0 if female, 1 if male Model 4 : linear form in years, which can differ between males and females The^ regression^ equation

is 1991$^ =^18826 +^1145

years^ +^2330 C^ -^

25.5^ years*C Predictor^ Coef

SE^ Coef^ T^

P

Constant^18826

1159 16.24^ 0.

years^ 1144.

64.89^ 17.64^ 0.

C^2330

1625 1.43^ 0.

years*C^ -25.

85.77^ -0.30^ 0.

S^ =^ 3127.15^ R-Sq

=^ 82.9%^ R-Sq(adj)

=^ 82.6%

Analysis^ of^ VarianceSource^ DF

SS^

MS^ F^ P

Regression^

270.03^ 0.

Residual^ Error^167

Total^170

The difference in intercept is mildlysignificant, the one in slope is not

(^252015) (^55000500004500040000) 1991$ 35000300002500020000105^ years

C^01 Scatterplot of 1991$ vs years