영 모형

(널모델에서 넘어옴)

1 개요[ | ]

null model
模型
영 모형, 널 모델
  • 아무 변수도 투입하지 않은 통계 모형
  • 상수항 하나만을 포함한 가장 단순한 통계 모형

2 예시: R lm()[ | ]

R
CPU
0.3s
MEM
57M
0.3s
Copy
null_model = lm(mpg ~ 1, data=mtcars)
summary( null_model )

Call:
lm(formula = mpg ~ 1, data = mtcars)

Residuals:
    Min      1Q  Median      3Q     Max 
-9.6906 -4.6656 -0.8906  2.7094 13.8094 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)   20.091      1.065   18.86   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 6.027 on 31 degrees of freedom


3 같이 보기[ | ]

4 참고[ | ]