Documente Academic
Documente Profesional
Documente Cultură
Two Variable
Till now, We dealt with one variable
Correlation and Regression Lets try to find out,
How two things are connected?
How they effect each other?
Nikesh Bajaj
nikesh.14730@lpu.co.in
Asst. Prof., ECE Dept.
Lovely Professional University 117 By Nikesh Bajaj
1
Statistics for Data Analysis @NikB 6/13/2014
Correlation Correlation
Scatter diagram shows the correlation between two
variable
Correlation
Linear: If it is straight line, can be others
2
Statistics for Data Analysis @NikB 6/13/2014
3
Statistics for Data Analysis @NikB 6/13/2014
Find b = ?
4
Statistics for Data Analysis @NikB 6/13/2014
500
400
Price 300
(in 1000s 200
of dollars) 100
0
0 500 1000 1500 2000 2500 3000
Size (feet2)
Supervised Learning Regression Problem
Given the right answer for Predict real-valued output
each example in the data.
144 By Nikesh Bajaj