Professional Documents
Culture Documents
Simple Linear
Regression
Image from Do our Brains Determine our Facebook Friend Count? (www.nature.com)
Statistics: Unlocking the Power of Data Lock5
Social Networks and the Brain
How to measure size of social network?
How many were present at your 18th or 21st birthday party?
If you were going to have a party now, how many people would you
invite?
What is the total number of friends in your phonebook?
Write down the names of the people to whom you would send a text
message marking a celebratory event. How many people is that?
Write down the names of people in your phonebook you would meet for
a chat in a small group (one to three people). How many people is that?
How many friends have you kept from school and university whom you
could have a friendly conversation with now?
How many friends do you have on ‘Facebook’?
How many friends do you have from outside school or university?
Write down the names of the people of whom you feel you could ask a
favor and expect to have it granted. How many people is that?
Response
Variable, y
r = 0.436
Explanatory
Variable, x
Statistics: Unlocking the Power of Data Lock5
Linear Model
^ +𝛽
^𝑦 = 𝛽 ^ 𝑥
0 1
Intercept Slope
where x is the explanatory variable, and is the
predicted response variable.
• Slope: increase in predicted y for every unit
increase in x
• Intercept: predicted y value when x = 0
Statistics: Unlocking the Power of Data Lock5
Regression Line
Which plot goes
(a) (b)
with the line
?
(c) (d)
𝐺𝑀 𝐷𝑒𝑛𝑠𝑖𝑡𝑦=−0.9276+.0 231𝐹𝐵𝑓𝑟𝑖𝑒𝑛𝑑𝑠
^
Intercept Slope
𝐺𝑀 𝐷𝑒𝑛𝑠𝑖𝑡𝑦=−0.9276+.00231𝐹𝐵𝑓𝑟𝑖𝑒𝑛𝑑𝑠
^
Which is a correct interpretation?
a) The average GM density is -0.9276
b) For every extra 0.00231 Facebook friends, the
predicted GM density increases by 1
c) Predicted GM Density increases by 0.00231 for
each extra Facebook friend
d) For every extra 0.00231 Facebook friends, the
predicted GM density increases by -0.9276
Statistics: Unlocking the Power of Data Lock5
Explanatory and Response
• Unlike correlation, for linear regression it
does matter which is the explanatory
variable and which is the response
𝐺• 𝑀 𝐷𝑒𝑛𝑠𝑖𝑡𝑦=−0.9276+.00231𝐹𝐵𝑓𝑟𝑖𝑒𝑛𝑑𝑠
^
What GM density would you predict for a
person with 100 Facebook friends?
a) Yes
b) No
ACTUAL
• 1 dog year = 7 human years
• Linear: human age = 7×dog age
LINEAR
a) Yes
b) No
statistic t * SE
0.4362 = 0.19