전자

    [MATLAB] 매트랩을 이용한 Least-Squares Regression 구현

    일단 내가 풀게된 문제는 Use least-squares regression to fit a straight line to Along with the slope and intercept, compute the standard error of the estimate and the correlation coefficient. Plot the data and the regression line. 이것이었다. Linear Least Squares Regression 에 대한 간략한 설명 Linear Least-Squares Regression 의 발상은 매우 간단하다. Linear regression 이므로 의 형태로 두면 오차 제곱의 합을 다음과 같이 나타낼 수 있다. 이 식을 로 각각 편미분 후 0이 된다고..