다중공선성 (1) 썸네일형 리스트형 [R통계] ISLRv2 Introduction to Statistical Learning : exercise solutions - 3강 선형회귀 (14번 다중공선성 문제 풀이) 14번 문제풀이 (a) R에서 다음 명령어를 실행해라. 마지막 줄은 y가 x1과 x2의 함수인 선형 모델을 생성하는 것에 해당한다. 이때 회귀 계수들은 무엇인가? (Perform the following commands in R. The last line corresponds to creating a linear model in which y is a function of x1 and x2. Write out the form of the linear model. What are the regression coefcients?) set.seed(1) x1 = runif(100) x2 = 0.5*x1 + rnorm(100) / 10 y = 2 + 2*x1 + 0.3*x2 + rnorm(100) 답변: β0=.. 이전 1 다음