factor_analysis
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| factor_analysis [2022/05/05 21:49] – [eigenvalues] hkimscil | factor_analysis [2023/11/06 02:53] (current) – [E.g. 2] hkimscil | ||
|---|---|---|---|
| Line 185: | Line 185: | ||
| | Y3 | $S_{31}$ | | Y3 | $S_{31}$ | ||
| - | 실제 데이터에서 구한 variance covariance table은 아래와 같다. | + | 실제 데이터에서 구한 variance covariance table은 아래와 같다((편의상 여기 분산값은 n으로 (n-1이 아닌) 나눠 준 것)). |
| | Variable | | Variable | ||
| Line 197: | Line 197: | ||
| ## 예를 들어 | ## 예를 들어 | ||
| fd <- read.csv(" | fd <- read.csv(" | ||
| + | fd <- fd[, -1] # 처음 id 컬럼 지우기 | ||
| cov(fd) | cov(fd) | ||
| Line 332: | Line 333: | ||
| 각주 1) -> finance = 수학능력 = F1 | 각주 1) -> finance = 수학능력 = F1 | ||
| 각주 2), 3) -> marketing, policy = 언어능력 = F2 | 각주 2), 3) -> marketing, policy = 언어능력 = F2 | ||
| - | 각주 | + | 각주 |
| < | < | ||
| Line 457: | Line 458: | ||
| | Economics | | Economics | ||
| | Total | | Total | ||
| + | ===== Specificity ===== | ||
| + | | Variable | ||
| + | | Climate | ||
| + | | Housing | ||
| + | | Health | ||
| + | | Crime | ||
| + | | Transportation | ||
| + | | Education | ||
| + | | Arts | 0.754 | | | ||
| + | | Recreation | ||
| + | | Economics | ||
| + | | Total | ||
| ====== Methods (functions) in R ====== | ====== Methods (functions) in R ====== | ||
| Line 468: | Line 481: | ||
| < | < | ||
| - | mydata | + | my.data |
| # if data as NAs, it is better to omit them: | # if data as NAs, it is better to omit them: | ||
| my.data <- na.omit(my.data) | my.data <- na.omit(my.data) | ||
| Line 1551: | Line 1564: | ||
| ====== Reference ====== | ====== Reference ====== | ||
| {{: | {{: | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | see exploratory factor analysis :: {{youtube> | ||
factor_analysis.1651754953.txt.gz · Last modified: by hkimscil
