Class Notes (889,384)
US (345,090)
Berkeley (8,043)
Lecture 11

COMPSCI C8 Lecture 11: Week 11 Study Guide (Lecture & Textbook Notes)

4 Pages

Computer Science
Course Code
John Denero

This preview shows page 1. Sign up to view the full 4 pages of the document.

Loved by over 2.2 million students

Over 90% improved by at least one letter grade.

Leah — University of Toronto

OneClass has been such a huge help in my studies at UofT especially since I am a transfer student. OneClass is the study buddy I never had before and definitely gives me the extra push to get from a B to an A!

Leah — University of Toronto
Saarim — University of Michigan

Balancing social life With academics can be difficult, that is why I'm so glad that OneClass is out there where I can find the top notes for all of my classes. Now I can be the all-star student I want to be.

Saarim — University of Michigan
Jenna — University of Wisconsin

As a college student living on a college budget, I love how easy it is to earn gift cards just by submitting my notes.

Jenna — University of Wisconsin
Anne — University of California

OneClass has allowed me to catch up with my most difficult course! #lifesaver

Anne — University of California
Mon 43 [28]: Correlation Reading: 13, 13.1 Prediction Correlation New Methods Today: correlation Lecture: Prediction Problems For some sample we know all the characteristics Relation Between Two Variables How does one variable vary across a sample? Now talk about TWO variables. Association and Trend Positive Association Negative Association Pattern Any discernible shape Linear (points are near a single straight line) Nonlinear (scatterplot looks like a curve, etc.) What the process should be visualize then quantify (what is slope of line, what kind of shape do you see) Demo: Hybrid Cars Scatterplot Is there an association between acceleration and MSRP? Yes. Its almost linear (unclear but almost so). Is there an association between MPG and MSRP? Yes It doesnt look very linear but we can say its a negative association. It looks like an L shape. Standard Units: to describe all the values in some collection Scatterplot of msrp and standard_units(msrp) gives you a STRAIGHT line Correlation Coefficient r Measures linear association Based on standard units 1 r 1 r = 1: scatter is perfect straight line sloping up r = 1: scatter is perfect straight line sloping down r = 0; no linear association; uncorrelated Demo: Function r_scatter that makes up data from 2 diff normal distributions Correlation Coefficient formula: convert both x and y into std units, product, and then average them. Wed 45 [29]: Linear Regression Reading: 13.2, 13.3 Regression Line In general, individuals who are away from average on one variable are expected to be not quite as far away from average on the other. This is called the regression effect. Method of Least Squares New Methods Today: Lecture: Review of Correlation Coefficient r Measures linear association Based off of standard units
More Less
Unlock Document
Subscribers Only

Only page 1 are available for preview. Some parts have been intentionally blurred.

Unlock Document
Subscribers Only
You're Reading a Preview

Unlock to view full version

Unlock Document
Subscribers Only

Log In


Don't have an account?

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.