q q q qq q qq qq qq q q q q qq qq q q q qq q q qq q

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: q q qqq qqqqqq q q qq q qqqqqq qq qqqq q qq qqqq q qqqq q qq q qqqqq q q q steady . . q q q qq q qq qq qq q q q q qq qq q q q qq q q qq q qq q qq q q q qq q qq q qqqq q q q qqq qq q q qqqqq qqqq q q qq qq qq q q q q q qq q qqqq q q qq q qqqq q q qq qq qqq q qqq q q q q q q q q q qq q qq qq q . . . Example of Linear Discrimination > diab.ld=lda(diab[,1:5],grouping=diab[,6]) > diab.ld lda(diab[, 1:5], grouping = diab[, 6]) Prior probabilities of groups: 1 2 3 0.2222222 0.2500000 0.5277778 Group means: relwt glufast glutest steady insulin 1 0.9915625 213.65625 1027.3750 108.8438 320.9375 2 1.0558333 99.30556 493.9444 288.0000 208.9722 3 0.9372368 91.18421 349.9737 172.6447 114.0000 Coefficients of linear discriminants: LD1 LD2 relwt -1.339546e+00 -3.7950612048 glufast 3.301944e-02 0.0373202882 glutest -1.263978e-02 -0.0068947755 steady 1.240248e-05 -0.0059924778 . . . insulin -3.895587e-03 0.0005754322 . . . . . . . . . 4 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 0 1 1 11 1 1 11 1 2 1 22 1 1 12 1 2 −2 2 1 2 2 2 2 2 2 22 22 12 2 22 3 2 2 22 2 2 2 2 −4 LD2 1 3 3 3 3 3 33 33 3 3 33 3 3 3 3 3 1 3 3 33 3 3 333 33 3 33 3333 33 3 3 3 3 3 3 333 33 2 3 23 33 33 3 33 33 3 33 2 2 2 33 3 3 3 3 23 2 2 3 3 −6 −4 −2 0 2 . . . . . . Example of Linear Discrimination diab.ld=lda(diab[,1:5],grouping=diab[,6]) names(diab.ld) [1] "prior" "counts" "means" "scaling" "lev" &quot...
View Full Document

Ask a homework question - tutors are online