038 - Linear Regression, Clearly Explained!!!

데이터 포인트가 단 두점이라면, linear model은 언제나 RSS=0 즉, R^2 = 1.0이 되어 의미가 없다.

이 경우, 구한 R^2 값이 통계적으로 유의미한지 알아보기 위해 검정을 진행해야하고, P-value를 구하는게 목표.

→ F-stats를 구하고 → p-value

Linear Regression Notes Screenshot.png

여기서 SS(mean): TSS, SS(fit): RSS

R^2에서는 분모에 TSS, F에서는 분모에 RSS가 기여.

여기는 자유도.

Transclude of Linear_Regression_Notes_Screenshot_(1
.png)

Transclude of Linear_Regression_Notes_Screenshot_(2
.png)

Transclude of Linear_Regression_Notes_Screenshot_(3
.png)

자 그러면 어떻게 p-value를 구하지..?

여러 데이터에 대해 이를 반복 시행.(bootstrapping?)