【文章內(nèi)容簡介】
i m eb . 27 C oe f f i c i e nt s a 1 . 9 5 5 5 . 4 0 2 . 3 6 2 . 7 1 93 . 4 5 7 . 4 6 7 . 7 0 0 7 . 4 0 7 . 0 0 0( C o n s t a n t )d i a mM o d e l1B S t d . E r r o rU n s t a n d a r d i z e dC o e f f i c i e n t sB e t aS t a n d a r d i z e dC o e f f i c i e n t st S i g .D e p e n d e n t V a r i a b l e : t i m ea . 三、線性回歸分析 5. SPSS操作及案例分析 結(jié)果分析 (3)方差分析表 F檢驗統(tǒng)計量的觀測值為 , F分布的伴隨概率為 ,從而 拒絕 零假設(shè),說明因變量和自變量的線性關(guān)系是 顯著 的,可以建立 線性模型。 (4)模型系數(shù)表 回歸模型的常數(shù)項為 ,自變量回歸系數(shù)為 回歸方程為: time=* 回歸系數(shù)的伴隨概率 =,應 拒絕 t檢驗的零假設(shè),說明因變量和自變量的線性關(guān)系是 顯著 的,可以建立 線性模型 A N O V A b1 0 2 8 7 . 1 7 3 1 1 0 2 8 7 . 1 7 3 5 4 . 8 6 5 . 0 0 0 a1 0 6 8 7 . 5 1 1 57 1 8 7 . 5 0 02 0 9 7 4 . 6 8 4 58R e g r e s s i o nR e s i d u a lT o t a lM o d e l1S u m o fS q u a r e s df M e a n S q u a r e F S i g .P r e d i c t o r s : ( C o n s t a n t ) , d i a ma . D e p e n d e n t V a r i a b l e : t i m eb . 28 三、線性回歸分析 5. SPSS操作及案例分析 例三: 多元 線性回歸分析 為了研究某公司職工當前工資水平,收集了影響職工當前工資水平的 6個因素的數(shù)據(jù)。這些影響因素是:職工的開始工資 salbegin($)、受教育時間educ(年 )、來公司工作時間 jobtime(月 )、工種 jobcat、來本公司前的工作經(jīng)驗 prevexp(月 )、是否為少數(shù)民族 minority。 試用多元線性回歸過程對該公司職工當前工資水平尋求一個恰當?shù)幕貧w模型。 29 三、線性回歸分析 5. SPSS操作及案例分析 操作步驟 Analyze → Regression → Linear… 數(shù)據(jù)文件: 保存文件: 1 3 2 變量篩選 Enter:所選變量全部進入方程 (一元回歸 ) Fordward:按照所選變量對因變量影響大小順序依次引入,每引入一個變量,建立一個方程 Backward:先將所選變量一次引入,然后逐步剔除對因變量影響小的變量,每剔除一個變量,建立一個方程 Stepwise:結(jié)合上述兩種方法,先引入對因變量影響大的變量,然后馬上剔除對因變量影響小的變量,每一步建立一個方程 (多元回歸 ) 依次輸入自變量 Educ(受教育時間 ) Jobcat(工種 ) Salbegin(開始工資 ) Jobtime(工作時間 ) Prevexp(工作經(jīng)驗 ) Minority(少數(shù)民族 ) 30 三、線性回歸分析 5. SPSS操作及案例分析 結(jié)果分析 : (1)變量進入 /移出方式表 從表中可以看出依次引入的變量: salbegin、 jobcat、 prevexp、 jobtime 、 educ 在依次引入的變量過程中 剔除了 Minority(少數(shù)民族 )變量。 V a r i a bl e s E nt e r e d/ R e m ov e daB e g i n n i n gS a l a r y.S t e p w i s e ( C r i t e r i a : P r o b a b i l i t y o f F t o e n t e r =. 0 5 0 , P r o b a b i l i t y o f F t o r e m o v e = . 1 0 0 ) .E m p l o y m entC a t e g o r y.S t e p w i s e ( C r i t e r i a : P r o b a b i l i t y o f F t o e n t e r =. 0 5 0 , P r o b a b i l i t y o f F t o r e m o v e = . 1 0 0 ) .P r e v i o u sE x p e r i e n c e( m o n t h s ).S t e p w i s e ( C r i t e r i a : P r o b a b i l i t y o f F t o e n t e r =. 0 5 0 , P r o b a b i l i t y o f F t o r e m o v e = . 1 0 0 ) .M o n t h ss i n c e H i r e.S t e p w i s e ( C r i t e r i a : P r o b a b i l i t y o f F t o e n t e r =. 0 5 0 , P r o b a b i l i t y o f F t o r e m o v e = . 1 0 0 ) .E d u c a t i o na l L e v e l( y e a r s ).S t e p w i s e ( C r i t e r i a : P r o b a b i l i t y o f F t o e n t e r =. 0 5 0 , P r o b a b i l i t y o f F t o r e m o v e = . 1 0 0 ) .M o d e l12345V a r i a b l e sE n t e r e dV a r i a b l e sR e m o v e d M e t h o dD e p e n d e n t V a r i a b l e : C u r r e n t S a l a r ya . 變量引入的順序 與輸入順序不同 31 三、線性回歸分析 5. SPSS操作及案例分析 結(jié)果分析 : (2)模型綜述表 從表中可以看出引進變量后, 相關(guān)系數(shù) R分別由 、 、 同時 估計標準誤差 由 $8,$6, M o d e l S u m m a r yf. 8 8 0a. 7 7 5 . 7 7 4 $ 8 , 1 1 5 . 3 5 6. 8 9 8b. 8 0 6 . 8 0 5 $ 7 , 5 4 0 . 4 3 3. 9 0 9c. 8 2 7 . 8 2 6 $ 7 , 1 2 7 . 0 4 0. 9 1 4d. 8 3 6 . 8 3 5 $ 6 , 9 4 0 . 2 3 2. 9 1 7e. 8 4 0 . 8 3 9 $ 6 , 8 5 6 . 7 9 5M o d e l12345R R S q u a r eA d j u s t e dR S q u a r eS t d . E r r o r o ft h e E s t i m a t eP r e d i c t o r s : ( C o n s t a n t ) , B e g i n n i n g S a l a r ya . P r e d i c t o r s : ( C o n s t a n t ) , B e g i n n i n g S a l a r y , E m p l o y m e n tC a t e g o r yb . P r e d i c t o r s : ( C o n s t a n