E r r o r t v a l u e pr t i n t e r c e p t 7

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Age. c. Here is the summary: > f i t 2=lm ( AverageWeight ˜Age , w e i g h t s=Number , data=r e l a t i o n ) > summary ( f i t 2 ) Call : lm ( f o r m u l a = AverageWeight ˜ Age , data = r e l a t i o n , w e i g h t s = Number ) Weighted R e s i d u a l s : 1 2 − 0.011442 0 . 0 1 2 9 0 3 3 4 5 0 . 0 1 9 5 3 7 − 0.013415 − 0.008627 Coefficients : Estimat e Std . E r r o r t v a l u e Pr ( > | t | ) ( I n t e r c e p t ) 7 . 9 9 8 2 2 4 4 0 . 0 0 2 0 3 3 2 3 9 3 3 . 9 3 . 6 2 e −11 ∗∗∗ Age − 0.0246927 0 . 0 0 0 8 4 2 7 − 29.3 8 . 7 3 e −05 ∗∗∗ −−− S i g n i f . c o d e s : 0 ∗∗∗ 0 . 0 0 1 ∗∗ 0 . 0 1 ∗ 0 . 0 5 . 0 . 1 1 R e s i d u a l s t a n d a r d e r r o r : 0 . 0 1 7 6 4 on 3 d e g r e e s o f freedom M u l t i p l e R−s q u a r e d : 0 . 9 9 6 5 , Adjusted R−s q u a r e d : 0 . 9 9 5 4 F− s t a t i s t i c : 8 5 8 . 6 on 1 and 3 DF, p−v a l u e : 8 . 7 2 9 e −05 d. From the summary above, t test has t value 3933.9 and p value 3.62 × 10−11 (or F test has p value 8.729 × 10−5 ). So there is a significant relationship between AverageWeight and Age. e. Here is the summary: > f i t 3=lm ( AverageWeight ˜Age , w e i g h t s=Number / ( StandardDev ˆ 2 ) , data=r e l a t i o n ) > summary ( f i t 3 ) #Not s i g n i f i c a n t anymore Call : lm ( f o r m u l a = AverageWeight ˜ Age , data = r e l a t i o n , w e i g h t s = Number / ( StandardDev ˆ 2 ) ) Weighted R e s i d u a l s : 1 2 3 4 5 − 0.2091 0 . 5 0 1 7 0 . 3 8 7 5 − 0.5383 − 0.4339 3 Coefficients : Estimat e Std . E r r o r t v a l u e Pr ( > | t | ) ( Intercept ) 7.9965218 0.0013220 6049 9 . 9 6 e −12 ∗∗∗ Age − 0.0237562 0 . 0 0 0 8 7 9 7 −27 0 . 0 0 0 1 1 1 ∗∗∗ −−− S i g n i f . c o d e s : 0 ∗∗∗ 0 . 0 0 1 ∗∗ 0 . 0 1 ∗ 0 . 0 5 . 0 . 1 1 R e s i d u a l s t a n d a r d e r r o r : 0 . 5 5 4 9 on 3 d e g r e e s o f freedom M u l t i p l e R−s q u a r e d : 0 . 9 9 5 9 , Adjusted R−s...
View Full Document

Ask a homework question - tutors are online