두 전시과의 전시
지급 액수의 선형회귀분석
##
## Call:
## glm(formula = 전지 ~ 과, data = mok)
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 103.04291 0.22126 465.7 <2e-16 ***
## 과 -4.77445 0.01735 -275.2 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for gaussian family taken to be 1.286212)
##
## Null deviance: 97701.89 on 248 degrees of freedom
## Residual deviance: 317.69 on 247 degrees of freedom
## AIC: 773.3
##
## Number of Fisher Scoring iterations: 2
##
## Call:
## glm(formula = 전지 ~ 과, data = mun)
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 98.85710 0.29542 334.6 <2e-16 ***
## 과 -4.84003 0.02367 -204.5 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for gaussian family taken to be 2.347312)
##
## Null deviance: 98742.42 on 241 degrees of freedom
## Residual deviance: 563.35 on 240 degrees of freedom
## (결측으로 인하여 38개의 관측치가 삭제되었습니다.)
## AIC: 897.25
##
## Number of Fisher Scoring iterations: 2
##
## One Sample t-test
##
## data: c(slope_mokjong, slope_munjongdae)
## t = -146.61, df = 1, p-value = 0.004342
## alternative hypothesis: true mean is not equal to 0
## 95 percent confidence interval:
## -5.223876 -4.390604
## sample estimates:
## mean of x
## -4.80724
##
## One Sample t-test
##
## data: c(intercept_mokjong, intercept_munjongdae)
## t = 48.234, df = 1, p-value = 0.0132
## alternative hypothesis: true mean is not equal to 0
## 95 percent confidence interval:
## 74.35713 127.54288
## sample estimates:
## mean of x
## 100.95
목종과 문종 전지
과와 전시 상관관계 비교
##
## Pearson's product-moment correlation
##
## data: combined_vector$data_frame_mok_과_전지.unique_mok2 and combined_vector$data_frame_mun_과_전지.unique_mun2
## t = Inf, df = 16, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 1 1
## sample estimates:
## cor
## 1

## [1] 11320
## [1] 11021

## # A tibble: 6 × 2
## 그룹 총액
## <dbl> <dbl>
## 1 1 845
## 2 2 1770
## 3 3 1860
## 4 4 2715
## 5 5 2635
## 6 6 1495

## 패키지 'psych'를 성공적으로 압축해제하였고 MD5 sums 이 확인되었습니다
##
## 다운로드된 바이너리 패키지들은 다음의 위치에 있습니다
## C:\Users\USER\AppData\Local\Temp\RtmpeaGA4g\downloaded_packages

## 패키지 'corrgram'를 성공적으로 압축해제하였고 MD5 sums 이 확인되었습니다
##
## 다운로드된 바이너리 패키지들은 다음의 위치에 있습니다
## C:\Users\USER\AppData\Local\Temp\RtmpeaGA4g\downloaded_packages

