{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

SCategCont2D-2-16 - OR<(x[1,1*x[2,2(x[1,2*x[2,1 Four Fold...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Wednesday February 16, 2011 Last time: Mosaic, Association Today: Agreement, Odds Ratios, Continuous 2-Dim Next Time: Lab Announcements: HW 5 due Friday in lab; 2 copies for exam feedback First exam: Feb 25th; Scenarios posted this Friday 2/18 Review Summary Rebecca Nugent, Department of Statistics, Carnegie Mellon University, 2011 1
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Association Plot: graph that indicates deviations from independence in the contigency table library(graphics) assocplot(data.table,main="Hair and Eye Color of Statistics students") Agreement Plot (VCD): for use when comparing two sets of (possibly ranked) decisions; table must be of equal dimensions. library(vcd) test<-matrix(c(1,0,0,0,1,0,0,0,1),ncol=3) agreementplot(test) data.table<-t(MSPatients[,,1]) agreementplot(data.table) Rebecca Nugent, Department of Statistics, Carnegie Mellon University, 2011 2
Image of page 2
Odds Ratios: measures the association in a 2x2 contingency table UCBAdmissions x<-UCBAdmissions[,,6]
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

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

Unformatted text preview: OR<-(x[1,1]*x[2,2])/(x[1,2]*x[2,1]) Four Fold Display: displays the odds ratio/association in 2x2(x k) contingency tables library(graphics) fourfoldplot(UCBAdmissions[,,6],main="Department F") fourfoldplot(UCBAdmissions,col=c(2,4)) Rebecca Nugent, Department of Statistics, Carnegie Mellon University, 2011 3 Continuous 2-Dim Structure: Examine variables individually: Examine variables together: What do we want to know? Measuring Linear Association: cor(x1,x2) When is this not useful? Scatterplot: two-dimensional plot of the two variables; can see grouping and type of relationship library(MASS);attach(birthwt) plot(age,bwt,pch=16,xlab="Years",ylab="Grams",main="Mother’s Age vs. Child’s Birthweight") ##to see different pchs plot(1:16,1:16,pch=1:16,cex=2); plot(1:16,1:16,col=1:16,cex=2,pch=16) Rebecca Nugent, Department of Statistics, Carnegie Mellon University, 2011 4...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern