- 在线时间
- 56 小时
- 最后登录
- 2013-11-19
- 注册时间
- 2011-9-21
- 听众数
- 4
- 收听数
- 0
- 能力
- 0 分
- 体力
- 1030 点
- 威望
- 0 点
- 阅读权限
- 40
- 积分
- 371
- 相册
- 0
- 日志
- 0
- 记录
- 0
- 帖子
- 130
- 主题
- 2
- 精华
- 0
- 分享
- 0
- 好友
- 2
升级   23.67% TA的每日心情 | 开心 2013-11-19 07:42 |
|---|
签到天数: 109 天 [LV.6]常住居民II
 |
本帖最后由 重阳河 于 2011-9-21 09:12 编辑
/ T: l! l0 {1 t$ m8 c# S) Q7 R* `6 w9 O1 n+ J
An R and S-PLUS Companion to Multivariate Analysis.pdf
(2.18 MB, 下载次数: 17)
3 a+ ?0 G- j D
4 @' a, [( D8 V书的目录:: p9 W/ Q! C* ~5 D S+ m. Q& Q
4 F6 ?6 _2 j( J1 T& E1 n( B
1 Multivariate Data and Multivariate Analysis . . . . . . . . . . . . . . . . . . . . . . 1$ P3 X& R2 S/ {& {$ y
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1& f" K5 I/ _/ ]/ c; a
1.2 Types of Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
# ?$ C6 V. Y2 x# G, `1.3 Summary Statistics for Multivariate Data . . . . . . . . . . . . . . . . . . . . . . . 42 n) u+ L' u' c( O
1.3.1 Means . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
/ }1 E" D- Y: {: E s Z0 T9 M" ]/ [1.3.2 Variances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 x7 c# K2 o) D( M9 j4 T
1.3.3 Covariances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5: w1 F3 Y7 H; g7 M4 o
1.3.4 Correlations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 U @ b v+ F
1.3.5 Distances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
; A2 z8 E# ~' \# A1.4 The Multivariate Normal Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . 9
; h; Q$ {! N# C. z1.5 The Aims of Multivariate Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13. q& z8 ]: ]) k+ ~+ n, S
1.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
/ E! h' o' q2 F7 r8 w* N2 Looking at Multivariate Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6 A, u3 S2 s" b9 D6 I0 e3 ?2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16# g j2 @8 M) Y% \" b4 Q1 n
2.2 Scatterplots and Beyond . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 i7 @) ]- _: I4 g2 ^5 Z: v
2.2.1 The Convex Hull of Bivariate Data . . . . . . . . . . . . . . . . . . . . . . 22( a1 T0 M& Z. R8 j" E' j
2.2.2 The Chiplot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
) o- k; \% Z/ l& k, l5 [2.2.3 The Bivariate Boxplot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25+ {7 ~+ G9 ?# y$ b( R* U
2.3 Estimating Bivariate Densities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 W$ w; x1 ]: Z& t# j
2.4 Representing Other Variables on a Scatterplot . . . . . . . . . . . . . . . . . . . 32
! o+ k6 `' q0 r \7 N Q2.5 The Scatterplot Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6 r* F( r) |7 l1 Y: p3 O, J' s2.6 Three-Dimensional Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35! J5 c& c& g; B* o+ J
2.7 Conditioning Plots and Trellis Graphics . . . . . . . . . . . . . . . . . . . . . . . . 37
- q. _- Y; r. [# m. C2.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
) z3 }% {) P, `# ? n, s2 X6 gExercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40" E) C0 ^ A. \( P
3 Principal Components Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41; [( w+ |; T1 r' O( E( F$ l) V
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
|& y* s5 r4 w# ?9 ^: J) M3.2 Algebraic Basics of Principal Components . . . . . . . . . . . . . . . . . . . . . 42
u7 f: e2 D3 R. h: Dxi1 E0 x2 T7 r T8 s' w) I2 y) b: i
xii Contents- M1 ~+ V3 A3 O* v
3.2.1 Rescaling Principal Components . . . . . . . . . . . . . . . . . . . . . . . . 45. `4 _% [' v7 k3 \ {( Q6 }0 o
3.2.2 Choosing the Number of Components . . . . . . . . . . . . . . . . . . . 46: A- J4 ] ^4 X- t
3.2.3 Calculating Principal Component Scores . . . . . . . . . . . . . . . . . 474 o& t0 Z0 o+ F5 Q
3.2.4 Principal Components of Bivariate Data with Correlation/ \1 f8 h1 R' Z Q
Coefficient r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482 d: z7 C8 I2 S8 o
3.3 An Example of Principal Components Analysis: Air Pollution in
, ~! [$ W) t' r/ WU.S. Cities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
( R$ Z, k" J( `- o/ k; j+ D' @+ T/ m" E3.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614 R8 a* Y3 v' }! C* M4 S& B
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626 Q& u. z) L# o a" I. ^0 h9 z# H
4 Exploratory Factor Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
5 J3 ~5 x! J; }3 Q1 S& o4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
' ?" B' w5 o: ~; r4.2 The Factor Analysis Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 n6 ` E7 k7 s, d; D9 Q7 o$ l
4.2.1 Principal Factor Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688 {% `, ]" b8 O# T
4.2.2 Maximum Likelihood Factor Analysis . . . . . . . . . . . . . . . . . . . 696 V2 |! [: e& k8 o
4.3 Estimating the Numbers of Factors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6 V$ O, S, |5 N, k/ n2 I% Z4.4 A ** Example of Factor Analysis . . . . . . . . . . . . . . . . . . . . . . . . . 70
8 a1 M' t9 h1 }: h0 ?4.5 Factor Rotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
5 ~) _ i9 v% |$ q- k) F4.6 Estimating Factor Scores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
/ X7 U2 x7 t( B0 O1 U: ?! B4.7 Two Examples of Exploratory Factor Analysis . . . . . . . . . . . . . . . . . . 779 ^: H9 V+ Z( n
4.7.1 Expectations of Life . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
$ r; R @$ C3 a0 T- j( ?0 |; s4.7.2 Drug Usage by American College Students . . . . . . . . . . . . . . . 82
9 }9 b/ ~ u: e4 i9 u U$ ], g4.8 Comparison of Factor Analysis and Principal# X; C) m6 _; b
Components Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85; b/ R6 W$ b s6 `
4.9 Confirmatory Factor Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
3 G) X3 X! |% Q) }8 @, {5 ~, L4.10 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889 `" ~* ?, J% m
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
( W3 R# ]; t' L. I5 Multidimensional Scaling and Correspondence Analysis . . . . . . . . . . . . 91, X9 M, d2 d, c* w& h, b
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91, ~% Z) v& f. R+ ?8 P2 t V: E5 k3 m( G
5.2 Multidimensional Scaling (MDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
$ ]. \/ v: n Z- g5.2.1 Examples of Classical Multidimensional Scaling . . . . . . . . . . 96" n% ?! `* l4 ?( u; ^( ], ]* J
5.3 Correspondence Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
9 _) `4 B% |# j8 s W1 k5.3.1 Smoking and Motherhood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109# z; W, g T& c. D8 |; K1 n6 U" O+ s
5.3.2 Hodgkin’s Disease . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1110 r- {( i9 K1 W1 s6 e& J
5.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4 q+ d( O8 e+ H9 LExercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
+ }( S, {9 t, g, M3 k6 Cluster Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115: A% i0 A, _5 m7 }
6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
4 S8 Z, r7 [7 @; \# Z4 C* ^; H7 e3 G- r6.2 Agglomerative Hierarchical Clustering . . . . . . . . . . . . . . . . . . . . . . . . . 1157 L1 M& Z& Q/ H+ @, W% k
6.2.1 Measuring Intercluster Dissimilarity . . . . . . . . . . . . . . . . . . . . . 118; }$ P* k4 I2 ^
6.3 K-Means Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
@# [3 L4 E1 R7 P6.4 Model-Based Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128. F) Q# w* D3 ^6 y7 F
6.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
; w$ d- u ] u) k( aExercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
( I2 _& o3 g; Q% i2 G( R/ b& q& WContents xiii
A1 l% S- f; ]' {3 Q% }7 Grouped Multivariate Data: Multivariate Analysis of Variance and0 `* p! ^& ~4 f$ J* M
Discriminant Function Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137# h. o6 G5 F, D+ q5 M5 E
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373 w% q! {* S' x1 F6 v
7.2 Two Groups: Hotellings T 2 Test and Fisher’s Linear Discriminant
2 u$ Q7 {) V- j( \Function Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137# b7 i) u: u: r1 o$ q& S
7.2.1 Hotellings T 2 Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1377 }( G2 Z4 ]0 f. ]" q; \
7.2.2 Fisher’s Linear Discriminant Function . . . . . . . . . . . . . . . . . . . 1427 z" ^4 b3 x* S0 ?3 b9 w2 ~
7.2.3 Assessing the Performance of a Discriminant Function . . . . . 146
$ b9 `1 U" V2 V. D0 M" z% C7.3 More Than Two Groups: Multivariate Analysis of Variance
" ]+ U! Y o+ v7 l8 I(MANOVA) and Classification Functions . . . . . . . . . . . . . . . . . . . . . . 147: _4 q K9 H8 T' N
7.3.1 Multivariate Analysis of Variance . . . . . . . . . . . . . . . . . . . . . . . 147
8 \1 V: U5 Z; E% [1 z; Q0 u7.3.2 Classification Functions and Canonical Variates . . . . . . . . . . . 149; @0 T0 d- Z V' b( E3 v
7.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
+ S7 Q9 F( X. P: V/ {Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
0 D2 R6 b+ z$ g7 A; r4 r8 Multiple Regression and Canonical Correlation . . . . . . . . . . . . . . . . . . . . 157
* |7 \8 J* W4 Z; p9 r8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157' i$ }1 |' n/ @& T( I
8.2 Multiple Regression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157! j& O6 w; d! }6 W* X9 x( ]
8.3 Canonical Correlations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1605 A; X: L7 I2 T$ A8 ^. x
8.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
- G9 O; @4 F3 L7 m. Q1 Q3 ^Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
3 `" r0 Q, L* K4 t9 Analysis of Repeated Measures Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
; r2 e' g5 v8 n9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
& C( q9 f- y4 w, y. }+ d9.2 Linear Mixed Effects Models for Repeated Measures Data . . . . . . . . 174
; L' N2 _# R% h, l. W9 F {9.3 Dropouts in Longitudinal Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
$ {; m1 d: B( |6 p. `$ C+ v9.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
) ^6 l! C& w: xExercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198. l3 i( W/ M, Y, X8 N: r
Appendix: An Aide Memoir for R and S-PLUS® . . . . . . . . . . . . . . . . . . . . . 2009 R- `/ v0 K9 _! X' t
1. Elementary commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
! X6 }3 u4 S4 {- ^* ^* s2. Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
0 p& J8 i3 a) Y: u( C3. Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2048 Q* { ?: n9 G
4. Logical Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205. x' g0 `5 a& }1 ]9 a
5. List Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
+ h( V! z1 w) q T6 L2 R& L3 o' c6. Data Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 |
zan
|