SlideShare a Scribd company logo
1 of 16
Lab 4
Fitting and Using Models
The point of this lab
• Say we want to get really good at guessing the
number of jelly beans in a jar
• So we decide to practice with a bunch of
different jars of jelly beans
The point of this lab
• First, we record our guess of number of jellybeans in each jar
• Next, we record the actual number of jellybeans
• Based on how off our guesses are, we can know how to “correct” them in
the future to get a more accurate prediction
Jar
Our Guess 252 90 135 63 720 100
Actual # 125 48 70 31 355
Based on how off our guesses were for the first 5
jars, what would you predict the actual # is here?
The point of this lab
Jar
Our Guess 252 90 135 63 720 100
Actual # 125 48 70 31 355
We can make a formula to “correct” our guess:
𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑 𝑔𝑢𝑒𝑠𝑠 =
1
2
× (𝑜𝑢𝑟 𝑔𝑢𝑒𝑠𝑠)
The point of this lab
Another example…
• Say we want to get really good at guessing the number
of wins the gamecocks will have in their season
• We decide to practice guessing for a few seasons to
“hone our model”
The point of this lab
Season 2017 2018 2019 2020 2021 2022
Our Guess 5 6 8 2 4 7
Actual # 8 9 11 5 7
Once again, we can make a formula to “correct” our guess:
𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑 𝑔𝑢𝑒𝑠𝑠 = 𝑜𝑢𝑟 𝑔𝑢𝑒𝑠𝑠 + 3
What you should learn
• What is the meaning of predictor variable and response variable?
• How can we use a fitted model (like 𝒚 = 0.5𝒙 + 3 ) to give us a prediction?
• Given a fitted model (like 𝒚 = 0.5𝒙 + 3 ), and some data (values for x,y),
how do we calculate the residuals?
• In the context of predictions, what is the empirical rule for standard
deviation?
• What does it mean to be a biased guesser?
Now type your table 4.1 in statcrunch like so…
Graph → Scatterplot → X variable: Guessed, Y variable: True → Compute
Paste this graph to your word document &
answer question 2 based on this graph
Graph → Scatterplot → X variable: Guessed, Y variable: True →
→ Overlay function of x: x → Compute
Paste this graph to your word document &
answer question 3 based on this graph
Stats → Regression → Simple Linear → X variable: Guessed, Y variable: True
→ Compute
Paste the output (tables and such AS WELL as
the graph) into your word document
Paste the output (tables and such AS WELL as
the graph) into your word document
Stats → Regression → Polynomial → X variable: Guessed, Y variable: True
→ Compute
Look at the plot that you made on slide 12
of this powerpoint (NOT SLIDE 10 or 11) and
use that to answer the question
Look at the plot that you made on slide 13
of this powerpoint and use that to answer
the question
You found s in the cell to
the left of this… just
multiply it by 2
You found s in the cell to
the left of this… just
multiply it by 2
Write which model (Linear or Quadratic) you found to be best for
your data. You will justify this choice later.
Circle the reason(s) that made you
choose Linear vs. Quadratic
This formula can be found on the outputs that you made on slide 12 or 13
(depending if you chose linear or polynomial model) it looks like True = Blah blah
Write your guess for
the 11th object here.
… now plug that x value into the formula that you
just wrote, and see what value it spits out for True.
I will tell you this value (so you can compare it with your model’s
prediction)
Calculate this by subtracting your model’s prediction of the weight (value in
row 4) from the true weight (value in row 5).
Find the value of 2s in table 4.2 (make sure you use the 2s from your chosen
model). See if your error value from the row above falls into the interval
(−2𝑠, 2𝑠)
What each person needs to turn in:
• Tables 4.1, 4.2, 4.3
• Completed discussion questions
• Plots & tables etc. that we made on slides 10 - 13

More Related Content

What's hot

What's hot (19)

Percentages
PercentagesPercentages
Percentages
 
Multiply and divide numbers between 0 and 1
Multiply and divide numbers between 0 and 1Multiply and divide numbers between 0 and 1
Multiply and divide numbers between 0 and 1
 
7.8 simple probability 2
7.8 simple probability   27.8 simple probability   2
7.8 simple probability 2
 
G6 m4-g-lesson 26-s
G6 m4-g-lesson 26-sG6 m4-g-lesson 26-s
G6 m4-g-lesson 26-s
 
MULTIPLICATION
MULTIPLICATIONMULTIPLICATION
MULTIPLICATION
 
May 8, 2014
May 8, 2014May 8, 2014
May 8, 2014
 
Multiplication
MultiplicationMultiplication
Multiplication
 
Multiplication W Sound
Multiplication W SoundMultiplication W Sound
Multiplication W Sound
 
Core 3 Numerical Methods 2
Core 3 Numerical Methods 2Core 3 Numerical Methods 2
Core 3 Numerical Methods 2
 
Mental Math Strategies for Grade 3
Mental Math Strategies for Grade 3Mental Math Strategies for Grade 3
Mental Math Strategies for Grade 3
 
Percentages
PercentagesPercentages
Percentages
 
multiplication with carrying
multiplication with carryingmultiplication with carrying
multiplication with carrying
 
Beauty Of Mathematics
Beauty Of MathematicsBeauty Of Mathematics
Beauty Of Mathematics
 
Multiplication
MultiplicationMultiplication
Multiplication
 
1628 statistics
1628 statistics1628 statistics
1628 statistics
 
The Beauty Of Mathematics
The Beauty Of MathematicsThe Beauty Of Mathematics
The Beauty Of Mathematics
 
0,1,10x add subcurrent
0,1,10x add subcurrent0,1,10x add subcurrent
0,1,10x add subcurrent
 
Math facts (math)
Math facts (math)Math facts (math)
Math facts (math)
 
Digital textbook std ix
Digital textbook std ixDigital textbook std ix
Digital textbook std ix
 

Similar to Lab4 2022

A General Manger of Harley-Davidson has to decide on the size of a.docx
A General Manger of Harley-Davidson has to decide on the size of a.docxA General Manger of Harley-Davidson has to decide on the size of a.docx
A General Manger of Harley-Davidson has to decide on the size of a.docxevonnehoggarth79783
 
De vry math 221 all discussion+ilbs latest 2016 november
De vry math 221 all discussion+ilbs latest 2016 novemberDe vry math 221 all discussion+ilbs latest 2016 november
De vry math 221 all discussion+ilbs latest 2016 novemberlenasour
 
Maths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paperMaths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paperFabian Hkb
 
Statistical tests
Statistical testsStatistical tests
Statistical testsmartyynyyte
 
De vry math 221 all discussion+ilbs latest 2016 november 1
De vry math 221 all discussion+ilbs latest 2016 november 1De vry math 221 all discussion+ilbs latest 2016 november 1
De vry math 221 all discussion+ilbs latest 2016 november 1lenasour
 
De vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 novemberDe vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 novemberlenasour
 
Week 6 lecture_math_221_dec_2012
Week 6 lecture_math_221_dec_2012Week 6 lecture_math_221_dec_2012
Week 6 lecture_math_221_dec_2012Brent Heard
 
De vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 novemberDe vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 novemberlenasour
 
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docxPage 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docxbunyansaturnina
 
De vry math 399 all ilabs latest 2016 november
De vry math 399 all ilabs latest 2016 novemberDe vry math 399 all ilabs latest 2016 november
De vry math 399 all ilabs latest 2016 novemberlenasour
 
Tutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitiesTutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitieskhyps13
 
Week 6 lecture_math_221_apr_2012
Week 6 lecture_math_221_apr_2012Week 6 lecture_math_221_apr_2012
Week 6 lecture_math_221_apr_2012Brent Heard
 
Math 221 week 6 lecture april 2015
Math 221 week 6 lecture april 2015Math 221 week 6 lecture april 2015
Math 221 week 6 lecture april 2015Katherine Applegarth
 
SAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docxSAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docxanhlodge
 
Chapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfChapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfMinaSaflor
 
De vry math 399 ilabs & discussions latest 2016
De vry math 399 ilabs & discussions latest 2016De vry math 399 ilabs & discussions latest 2016
De vry math 399 ilabs & discussions latest 2016lenasour
 
De vry math 399 ilabs & discussions latest 2016 november
De vry math 399 ilabs & discussions latest 2016 novemberDe vry math 399 ilabs & discussions latest 2016 november
De vry math 399 ilabs & discussions latest 2016 novemberlenasour
 
GRADE 9 Proportion PowerPoint Presentation
GRADE 9 Proportion PowerPoint PresentationGRADE 9 Proportion PowerPoint Presentation
GRADE 9 Proportion PowerPoint Presentationmelvinverdadero
 
SAMPLING MEAN DEFINITION The term sampling mean is.docx
SAMPLING MEAN  DEFINITION  The term sampling mean is.docxSAMPLING MEAN  DEFINITION  The term sampling mean is.docx
SAMPLING MEAN DEFINITION The term sampling mean is.docxagnesdcarey33086
 
5.3 Graphs of Polynomial Functions
5.3 Graphs of Polynomial Functions5.3 Graphs of Polynomial Functions
5.3 Graphs of Polynomial Functionssmiller5
 

Similar to Lab4 2022 (20)

A General Manger of Harley-Davidson has to decide on the size of a.docx
A General Manger of Harley-Davidson has to decide on the size of a.docxA General Manger of Harley-Davidson has to decide on the size of a.docx
A General Manger of Harley-Davidson has to decide on the size of a.docx
 
De vry math 221 all discussion+ilbs latest 2016 november
De vry math 221 all discussion+ilbs latest 2016 novemberDe vry math 221 all discussion+ilbs latest 2016 november
De vry math 221 all discussion+ilbs latest 2016 november
 
Maths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paperMaths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paper
 
Statistical tests
Statistical testsStatistical tests
Statistical tests
 
De vry math 221 all discussion+ilbs latest 2016 november 1
De vry math 221 all discussion+ilbs latest 2016 november 1De vry math 221 all discussion+ilbs latest 2016 november 1
De vry math 221 all discussion+ilbs latest 2016 november 1
 
De vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 novemberDe vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 november
 
Week 6 lecture_math_221_dec_2012
Week 6 lecture_math_221_dec_2012Week 6 lecture_math_221_dec_2012
Week 6 lecture_math_221_dec_2012
 
De vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 novemberDe vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 november
 
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docxPage 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
Page 1 of 7  Pre‐calculus 12 Final Assignment (22 mark.docx
 
De vry math 399 all ilabs latest 2016 november
De vry math 399 all ilabs latest 2016 novemberDe vry math 399 all ilabs latest 2016 november
De vry math 399 all ilabs latest 2016 november
 
Tutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitiesTutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalities
 
Week 6 lecture_math_221_apr_2012
Week 6 lecture_math_221_apr_2012Week 6 lecture_math_221_apr_2012
Week 6 lecture_math_221_apr_2012
 
Math 221 week 6 lecture april 2015
Math 221 week 6 lecture april 2015Math 221 week 6 lecture april 2015
Math 221 week 6 lecture april 2015
 
SAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docxSAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docx
 
Chapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfChapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdf
 
De vry math 399 ilabs & discussions latest 2016
De vry math 399 ilabs & discussions latest 2016De vry math 399 ilabs & discussions latest 2016
De vry math 399 ilabs & discussions latest 2016
 
De vry math 399 ilabs & discussions latest 2016 november
De vry math 399 ilabs & discussions latest 2016 novemberDe vry math 399 ilabs & discussions latest 2016 november
De vry math 399 ilabs & discussions latest 2016 november
 
GRADE 9 Proportion PowerPoint Presentation
GRADE 9 Proportion PowerPoint PresentationGRADE 9 Proportion PowerPoint Presentation
GRADE 9 Proportion PowerPoint Presentation
 
SAMPLING MEAN DEFINITION The term sampling mean is.docx
SAMPLING MEAN  DEFINITION  The term sampling mean is.docxSAMPLING MEAN  DEFINITION  The term sampling mean is.docx
SAMPLING MEAN DEFINITION The term sampling mean is.docx
 
5.3 Graphs of Polynomial Functions
5.3 Graphs of Polynomial Functions5.3 Graphs of Polynomial Functions
5.3 Graphs of Polynomial Functions
 

Recently uploaded

How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 

Recently uploaded (20)

How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 

Lab4 2022

  • 1. Lab 4 Fitting and Using Models
  • 2. The point of this lab • Say we want to get really good at guessing the number of jelly beans in a jar • So we decide to practice with a bunch of different jars of jelly beans
  • 3. The point of this lab • First, we record our guess of number of jellybeans in each jar • Next, we record the actual number of jellybeans • Based on how off our guesses are, we can know how to “correct” them in the future to get a more accurate prediction Jar Our Guess 252 90 135 63 720 100 Actual # 125 48 70 31 355 Based on how off our guesses were for the first 5 jars, what would you predict the actual # is here?
  • 4. The point of this lab Jar Our Guess 252 90 135 63 720 100 Actual # 125 48 70 31 355 We can make a formula to “correct” our guess: 𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑 𝑔𝑢𝑒𝑠𝑠 = 1 2 × (𝑜𝑢𝑟 𝑔𝑢𝑒𝑠𝑠)
  • 5. The point of this lab Another example… • Say we want to get really good at guessing the number of wins the gamecocks will have in their season • We decide to practice guessing for a few seasons to “hone our model”
  • 6. The point of this lab Season 2017 2018 2019 2020 2021 2022 Our Guess 5 6 8 2 4 7 Actual # 8 9 11 5 7 Once again, we can make a formula to “correct” our guess: 𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑 𝑔𝑢𝑒𝑠𝑠 = 𝑜𝑢𝑟 𝑔𝑢𝑒𝑠𝑠 + 3
  • 7. What you should learn • What is the meaning of predictor variable and response variable? • How can we use a fitted model (like 𝒚 = 0.5𝒙 + 3 ) to give us a prediction? • Given a fitted model (like 𝒚 = 0.5𝒙 + 3 ), and some data (values for x,y), how do we calculate the residuals? • In the context of predictions, what is the empirical rule for standard deviation? • What does it mean to be a biased guesser?
  • 8.
  • 9. Now type your table 4.1 in statcrunch like so…
  • 10. Graph → Scatterplot → X variable: Guessed, Y variable: True → Compute Paste this graph to your word document & answer question 2 based on this graph
  • 11. Graph → Scatterplot → X variable: Guessed, Y variable: True → → Overlay function of x: x → Compute Paste this graph to your word document & answer question 3 based on this graph
  • 12. Stats → Regression → Simple Linear → X variable: Guessed, Y variable: True → Compute Paste the output (tables and such AS WELL as the graph) into your word document
  • 13. Paste the output (tables and such AS WELL as the graph) into your word document Stats → Regression → Polynomial → X variable: Guessed, Y variable: True → Compute
  • 14. Look at the plot that you made on slide 12 of this powerpoint (NOT SLIDE 10 or 11) and use that to answer the question Look at the plot that you made on slide 13 of this powerpoint and use that to answer the question You found s in the cell to the left of this… just multiply it by 2 You found s in the cell to the left of this… just multiply it by 2
  • 15. Write which model (Linear or Quadratic) you found to be best for your data. You will justify this choice later. Circle the reason(s) that made you choose Linear vs. Quadratic This formula can be found on the outputs that you made on slide 12 or 13 (depending if you chose linear or polynomial model) it looks like True = Blah blah Write your guess for the 11th object here. … now plug that x value into the formula that you just wrote, and see what value it spits out for True. I will tell you this value (so you can compare it with your model’s prediction) Calculate this by subtracting your model’s prediction of the weight (value in row 4) from the true weight (value in row 5). Find the value of 2s in table 4.2 (make sure you use the 2s from your chosen model). See if your error value from the row above falls into the interval (−2𝑠, 2𝑠)
  • 16. What each person needs to turn in: • Tables 4.1, 4.2, 4.3 • Completed discussion questions • Plots & tables etc. that we made on slides 10 - 13