SlideShare a Scribd company logo
1 of 32
Adventures in using R
to teach mathematics
Paul G. Bamberg
Senior Lecturer on
Mathematics
Harvard University
O P E N
D A T A
S C I E N C E
C O N F E R E N C E
BOSTON
2015
@opendatasci
Prologue – Data Science in the 1980s
• Given recordings of several thousand English
words and the phonetic spelling of each word,
build an acoustic model for each phoneme of
English in each possible phonetic context.
• Given electronic versions of several years of the
Boston Globe and other text, make a table of the
frequency of occurrence of all pairs of English
words.
• The result: DragonDictate for MS-DOS, with a
64,000 word vocabulary, running on an Intel
80286 processor.
Act I
• You can fool almost all of the people
almost all of the time.
• Bob Marley
• Mathematics E-156, Spring 2014
• Prerequisites
Why choose open-source software?
Misadventures with the alternative:
• Windows GUI programming
Microsoft Visual C++ 6
(taken off the market in favor of .NET)
• Linux GUI programming
Red Hat Linux
(versions for individual use discontinued)
• Computer algebra
Mathematica
(free, but only for enrolled undergraduates)
The mathematical side
• Proof of the week
R Scripts for Lecture
• Exploratory Data Analysis
• Support for a Proof
• Confidence Intervals
• Beta Distributions for Bayesian Analysis
Homework is submitted as R scripts
• Sample Homework Problems
Midterm and Final Projects
• Analysis of Demographics and Socioeconomic Factors
of Countries
• Analysis of Gene Expression Data
• Analysis of Global and National Data on Public Health
Issues of Substance Abuse
• Analysis of IT Satisfaction Survey
• Experimental parameters in high-throughput gene
expression
• etc………
Was the course a success?
• Evaluation results
• “Very rigorous treatment of material. The R
scripting gave useful examples that can be
applied to real world problems.”
• “The use of the R Programming Language in
understanding key statistics concepts really
helped. Doing the homework manually (as
opposed to using the built-in methods) was
extremely helpful in my understanding of the
core concepts.”
Act II
• Summer School is Y-coming in
• National Youth choir
• Mathematics S-323,Harvard Summer School
• Course description
Use of R in Math S-323
• No statistical functions!
• No data frames!
• Much use of built-in vector operations
• Diagrams for geometry and trig.
• Inversion and row reduction of large matrices.
• Spherical geometry (fascinating, but
computationally messy if done by hand).
Scripts used during lecture
• Points and vectors
• Matrix for a Markov Process
• Theorem of Menelaus
R scripts in problems
• Students broke up into three teams of four to
solve these problems during class, then each
team uploaded its solution to the Web site.
• Three problems from day 2
• Solution to problem 3
• Solution to a problem on the midterm
Was a math course with R
OK for high-school math teachers?
• Summer School evaluations
Act 3
• What is sauce for the goose may not be sauce
for the gander.
Math 23a/E-23a, Fall 2014
• Irish Chieftains
If Harvard freshman math
were football instead…
• Math 55a = All-Americans
• Math 25a = Starters on the varsity
• Math 21a = Intramural sports
• Math 18 and 19 = Just spectators
A week of Math 23a materials
• Samples from Week 4
Perhaps R will go viral on YouTube
• Introductory script on eigenvectors
Using R to present a proof
• Georg Cantor's proof that the real numbers
between 0 and 1 are an uncountably infinite
set
Using R to do real analysis
• The Bolzano-Weierstrass theorem: on a closed
interval, every infinite sequence of real
numbers has a convergent subsequence.
Using R to explain divergence and curl
• Derivative of a vector field
Was a math course with R
OK for Extension students?
• Math E-23a evaluations
Was a math course with R
OK for Harvard freshmen?
• My worst evaluations in 15 years
Is the difference in evaluations
between adult learners and freshmen
statistically significant?
Permutation test on the data
Conclusion: the probability that such a large
difference between Extension and freshman
evaluation scores would arise by chance is less
than 1%.
How could this course be improved?
• Less use of R would facilitate better understanding of the material.
• The R-scripts, while beautiful and illustrative, were not extremely helpful .
• Get rid of R for lecture.
• Maybe less use of the R studio. Many students don't like using R.
• I think this course might be improved by relying way more on pencil and
paper to explain material than by relying on R.
• R was a good addition to the course (esp. on homework) ... but too much
lecture time was spent on it.
• The use of the programming language R is superfluous and hinders
understanding of the material.
• The R coding element is great for demonstrations, but is tedious when on
problem sets.
• etc…… The message is clear.
One Extension student’s interpretation
• “Most students in this class were freshmen and
their entire experience with math is stuff they can
do by hand. They want to just know how to do it
and then solve the problem and get an answer.
But I can't think of a single job the students
would have in the future where they'd be doing
math by hand. You absolutely need to know how
math can be done through programming to solve
hard problems. Those are super marketable skills
-- row reducing by hand is not. I certainly didn't
know or appreciate this as an 18 year old. I do
now.”
Act 4
• Did I throw out the baby with the bathwater?
• Math 23b/E-23b, Spring 2015
• Eddie Burns
Clap if you want to save Tinker Bell
• Email to the class: no R scripts during lecture
in Math 23b.
• I emailed all the students who had done term
projects in R to let me know if I should make
YouTube videos of R scripts for Math 23b and
if they wanted optional homework problems
and term projects using R. Only a handful
replied.
A survey with a 100% response rate
• For 1 point on the final exam: what did you like better in the fall
than in the spring?
• “R was an opportunity to visualize concepts.”
• “I thought the use of R was quite effective in the fall term.”
• “Learning R to do the problem sets was a useful skill and I wish I’d
done more of it.”
• “Extra credit R project was good. R for extra credit is ideal.”
• “Using R with concepts of real analysis helped me visualize limits
better.”
• “Concepts were made clear through the use of R for in-class
demonstrations, particularly those in need of heavy computation. R
also allowed application examples to be done in lecture.”
Spring term evaluations
• Freshmen: up by 0.4
• Extension: up by 0.2
• Under “strengths of the course:”
• “No R scripts.”
• “I’m so glad there was no R.”
• “Not using R made Math 23 so much better.
Tentative conclusions
• With students who know they are going to be using R
professionally, lectures based on R scripts are
effective and well received.
• Non-programmers like R for visualization and
eliminating tedious computation, but explaining
scripts line-by-line is a no-no.
• For presenting R scripts, YouTube is as effective as a
live lecture.
• Homework problems that only require modifying
existing R scripts can be done by anyone.
You can do this next year
• Math E-23a and Math E-23b will be offered again,
and for the first time there is an online-only
option. R is used only for linear algebra.
• Math S-323 starts on June 20.
• I am looking for a statistician with teaching
experience to take over Math E-156. Email a
resume to bamberg@tiac.net if interested. If no
one applies, I will probably teach the course
myself Wednesdays 5:30-7:30 in the spring.
• Harvard Extension School offers a graduate
certificate in data science.

More Related Content

Similar to Adventures in using R to teach mathematics

Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)
bryan
 
Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)
bryan
 
Launie, Ariana Geometry
Launie, Ariana GeometryLaunie, Ariana Geometry
Launie, Ariana Geometry
aflaunie11
 
Numeracy worked example 15th dec 2012 0
Numeracy worked example 15th dec 2012 0Numeracy worked example 15th dec 2012 0
Numeracy worked example 15th dec 2012 0
Martin Brown
 
Xmss ict lesson template
Xmss  ict lesson templateXmss  ict lesson template
Xmss ict lesson template
bryan
 

Similar to Adventures in using R to teach mathematics (20)

210426_impact_webinar_mag
210426_impact_webinar_mag210426_impact_webinar_mag
210426_impact_webinar_mag
 
Presentation1
Presentation1Presentation1
Presentation1
 
Standards-based assessment in math
Standards-based assessment in mathStandards-based assessment in math
Standards-based assessment in math
 
Keynote Sally Jordan - Computer-based assessment friend or foe? - OWD14
Keynote Sally Jordan - Computer-based assessment friend or foe? - OWD14Keynote Sally Jordan - Computer-based assessment friend or foe? - OWD14
Keynote Sally Jordan - Computer-based assessment friend or foe? - OWD14
 
Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)
 
Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)Ict lesson plan for sec 1 e (fuctions and graphs)
Ict lesson plan for sec 1 e (fuctions and graphs)
 
Saibsa math hl job alike
Saibsa math hl job alikeSaibsa math hl job alike
Saibsa math hl job alike
 
Launie, Ariana Geometry
Launie, Ariana GeometryLaunie, Ariana Geometry
Launie, Ariana Geometry
 
Video lectures
Video lecturesVideo lectures
Video lectures
 
Graphing Performance Task
Graphing Performance TaskGraphing Performance Task
Graphing Performance Task
 
Hybrid Statistics Course Development
Hybrid Statistics Course DevelopmentHybrid Statistics Course Development
Hybrid Statistics Course Development
 
2CPP01 - Intro to Module
2CPP01 - Intro to Module2CPP01 - Intro to Module
2CPP01 - Intro to Module
 
Teaching Fractions Using Technology
Teaching Fractions Using Technology Teaching Fractions Using Technology
Teaching Fractions Using Technology
 
Numeracy worked example 15th dec 2012 0
Numeracy worked example 15th dec 2012 0Numeracy worked example 15th dec 2012 0
Numeracy worked example 15th dec 2012 0
 
Algebra
AlgebraAlgebra
Algebra
 
Lec 01 introduction
Lec 01   introductionLec 01   introduction
Lec 01 introduction
 
Portfolio - just some things I'm working on - July 2021
Portfolio - just some things I'm working on - July 2021Portfolio - just some things I'm working on - July 2021
Portfolio - just some things I'm working on - July 2021
 
Five authentic assessment strategies
Five authentic assessment strategies Five authentic assessment strategies
Five authentic assessment strategies
 
Xmss ict lesson template
Xmss  ict lesson templateXmss  ict lesson template
Xmss ict lesson template
 
Rutgers Invited Talk: Creative Expression to Motivate Interest in Computing
Rutgers Invited Talk: Creative Expression to Motivate Interest in ComputingRutgers Invited Talk: Creative Expression to Motivate Interest in Computing
Rutgers Invited Talk: Creative Expression to Motivate Interest in Computing
 

More from odsc

Kaggle The Home of Data Science
Kaggle The Home of Data ScienceKaggle The Home of Data Science
Kaggle The Home of Data Science
odsc
 
The Art of Data Science
The Art of Data Science The Art of Data Science
The Art of Data Science
odsc
 
Frontiers of Open Data Science Research
Frontiers of Open Data Science ResearchFrontiers of Open Data Science Research
Frontiers of Open Data Science Research
odsc
 

More from odsc (20)

Understanding the Chief Data Officer
Understanding the Chief Data Officer Understanding the Chief Data Officer
Understanding the Chief Data Officer
 
Machine-In-The-Loop for Knowledge Discovery
Machine-In-The-Loop for Knowledge DiscoveryMachine-In-The-Loop for Knowledge Discovery
Machine-In-The-Loop for Knowledge Discovery
 
API Driven Development
API Driven Development API Driven Development
API Driven Development
 
Mobile technology Usage by Humanitarian Programs: A Metadata Analysis
Mobile technology Usage by Humanitarian Programs: A Metadata AnalysisMobile technology Usage by Humanitarian Programs: A Metadata Analysis
Mobile technology Usage by Humanitarian Programs: A Metadata Analysis
 
Productionizing Deep Learning From the Ground Up
Productionizing Deep Learning From the Ground UpProductionizing Deep Learning From the Ground Up
Productionizing Deep Learning From the Ground Up
 
Big Data Infrastructure: Introduction to Hadoop with MapReduce, Pig, and Hive
Big Data Infrastructure: Introduction to Hadoop with MapReduce, Pig, and HiveBig Data Infrastructure: Introduction to Hadoop with MapReduce, Pig, and Hive
Big Data Infrastructure: Introduction to Hadoop with MapReduce, Pig, and Hive
 
Think Breadth, Not Depth
Think Breadth, Not DepthThink Breadth, Not Depth
Think Breadth, Not Depth
 
Data Science at Dow Jones: Monetizing Data, News and Information
Data Science at Dow Jones: Monetizing Data, News and InformationData Science at Dow Jones: Monetizing Data, News and Information
Data Science at Dow Jones: Monetizing Data, News and Information
 
Spark, Python and Parquet
Spark, Python and Parquet Spark, Python and Parquet
Spark, Python and Parquet
 
Building a Predictive Analytics Solution with Azure ML
Building a Predictive Analytics Solution with Azure MLBuilding a Predictive Analytics Solution with Azure ML
Building a Predictive Analytics Solution with Azure ML
 
Beyond Names
Beyond NamesBeyond Names
Beyond Names
 
How Woman are Conquering the S&P 500
How Woman are Conquering the S&P 500How Woman are Conquering the S&P 500
How Woman are Conquering the S&P 500
 
Domain Expertise and Unstructured Data
Domain Expertise and Unstructured DataDomain Expertise and Unstructured Data
Domain Expertise and Unstructured Data
 
Kaggle The Home of Data Science
Kaggle The Home of Data ScienceKaggle The Home of Data Science
Kaggle The Home of Data Science
 
Open Source Tools & Data Science Competitions
Open Source Tools & Data Science Competitions Open Source Tools & Data Science Competitions
Open Source Tools & Data Science Competitions
 
Machine Learning with scikit-learn
Machine Learning with scikit-learnMachine Learning with scikit-learn
Machine Learning with scikit-learn
 
Bridging the Gap Between Data and Insight using Open-Source Tools
Bridging the Gap Between Data and Insight using Open-Source ToolsBridging the Gap Between Data and Insight using Open-Source Tools
Bridging the Gap Between Data and Insight using Open-Source Tools
 
Top 10 Signs of the Textpocalypse
Top 10 Signs of the TextpocalypseTop 10 Signs of the Textpocalypse
Top 10 Signs of the Textpocalypse
 
The Art of Data Science
The Art of Data Science The Art of Data Science
The Art of Data Science
 
Frontiers of Open Data Science Research
Frontiers of Open Data Science ResearchFrontiers of Open Data Science Research
Frontiers of Open Data Science Research
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Adventures in using R to teach mathematics

  • 1. Adventures in using R to teach mathematics Paul G. Bamberg Senior Lecturer on Mathematics Harvard University O P E N D A T A S C I E N C E C O N F E R E N C E BOSTON 2015 @opendatasci
  • 2. Prologue – Data Science in the 1980s • Given recordings of several thousand English words and the phonetic spelling of each word, build an acoustic model for each phoneme of English in each possible phonetic context. • Given electronic versions of several years of the Boston Globe and other text, make a table of the frequency of occurrence of all pairs of English words. • The result: DragonDictate for MS-DOS, with a 64,000 word vocabulary, running on an Intel 80286 processor.
  • 3. Act I • You can fool almost all of the people almost all of the time. • Bob Marley • Mathematics E-156, Spring 2014 • Prerequisites
  • 4. Why choose open-source software? Misadventures with the alternative: • Windows GUI programming Microsoft Visual C++ 6 (taken off the market in favor of .NET) • Linux GUI programming Red Hat Linux (versions for individual use discontinued) • Computer algebra Mathematica (free, but only for enrolled undergraduates)
  • 5. The mathematical side • Proof of the week
  • 6. R Scripts for Lecture • Exploratory Data Analysis • Support for a Proof • Confidence Intervals • Beta Distributions for Bayesian Analysis
  • 7. Homework is submitted as R scripts • Sample Homework Problems
  • 8. Midterm and Final Projects • Analysis of Demographics and Socioeconomic Factors of Countries • Analysis of Gene Expression Data • Analysis of Global and National Data on Public Health Issues of Substance Abuse • Analysis of IT Satisfaction Survey • Experimental parameters in high-throughput gene expression • etc………
  • 9. Was the course a success? • Evaluation results • “Very rigorous treatment of material. The R scripting gave useful examples that can be applied to real world problems.” • “The use of the R Programming Language in understanding key statistics concepts really helped. Doing the homework manually (as opposed to using the built-in methods) was extremely helpful in my understanding of the core concepts.”
  • 10. Act II • Summer School is Y-coming in • National Youth choir • Mathematics S-323,Harvard Summer School • Course description
  • 11. Use of R in Math S-323 • No statistical functions! • No data frames! • Much use of built-in vector operations • Diagrams for geometry and trig. • Inversion and row reduction of large matrices. • Spherical geometry (fascinating, but computationally messy if done by hand).
  • 12. Scripts used during lecture • Points and vectors • Matrix for a Markov Process • Theorem of Menelaus
  • 13. R scripts in problems • Students broke up into three teams of four to solve these problems during class, then each team uploaded its solution to the Web site. • Three problems from day 2 • Solution to problem 3 • Solution to a problem on the midterm
  • 14. Was a math course with R OK for high-school math teachers? • Summer School evaluations
  • 15. Act 3 • What is sauce for the goose may not be sauce for the gander. Math 23a/E-23a, Fall 2014 • Irish Chieftains
  • 16. If Harvard freshman math were football instead… • Math 55a = All-Americans • Math 25a = Starters on the varsity • Math 21a = Intramural sports • Math 18 and 19 = Just spectators
  • 17. A week of Math 23a materials • Samples from Week 4
  • 18. Perhaps R will go viral on YouTube • Introductory script on eigenvectors
  • 19. Using R to present a proof • Georg Cantor's proof that the real numbers between 0 and 1 are an uncountably infinite set
  • 20. Using R to do real analysis • The Bolzano-Weierstrass theorem: on a closed interval, every infinite sequence of real numbers has a convergent subsequence.
  • 21. Using R to explain divergence and curl • Derivative of a vector field
  • 22. Was a math course with R OK for Extension students? • Math E-23a evaluations
  • 23. Was a math course with R OK for Harvard freshmen? • My worst evaluations in 15 years
  • 24. Is the difference in evaluations between adult learners and freshmen statistically significant? Permutation test on the data Conclusion: the probability that such a large difference between Extension and freshman evaluation scores would arise by chance is less than 1%.
  • 25. How could this course be improved? • Less use of R would facilitate better understanding of the material. • The R-scripts, while beautiful and illustrative, were not extremely helpful . • Get rid of R for lecture. • Maybe less use of the R studio. Many students don't like using R. • I think this course might be improved by relying way more on pencil and paper to explain material than by relying on R. • R was a good addition to the course (esp. on homework) ... but too much lecture time was spent on it. • The use of the programming language R is superfluous and hinders understanding of the material. • The R coding element is great for demonstrations, but is tedious when on problem sets. • etc…… The message is clear.
  • 26. One Extension student’s interpretation • “Most students in this class were freshmen and their entire experience with math is stuff they can do by hand. They want to just know how to do it and then solve the problem and get an answer. But I can't think of a single job the students would have in the future where they'd be doing math by hand. You absolutely need to know how math can be done through programming to solve hard problems. Those are super marketable skills -- row reducing by hand is not. I certainly didn't know or appreciate this as an 18 year old. I do now.”
  • 27. Act 4 • Did I throw out the baby with the bathwater? • Math 23b/E-23b, Spring 2015 • Eddie Burns
  • 28. Clap if you want to save Tinker Bell • Email to the class: no R scripts during lecture in Math 23b. • I emailed all the students who had done term projects in R to let me know if I should make YouTube videos of R scripts for Math 23b and if they wanted optional homework problems and term projects using R. Only a handful replied.
  • 29. A survey with a 100% response rate • For 1 point on the final exam: what did you like better in the fall than in the spring? • “R was an opportunity to visualize concepts.” • “I thought the use of R was quite effective in the fall term.” • “Learning R to do the problem sets was a useful skill and I wish I’d done more of it.” • “Extra credit R project was good. R for extra credit is ideal.” • “Using R with concepts of real analysis helped me visualize limits better.” • “Concepts were made clear through the use of R for in-class demonstrations, particularly those in need of heavy computation. R also allowed application examples to be done in lecture.”
  • 30. Spring term evaluations • Freshmen: up by 0.4 • Extension: up by 0.2 • Under “strengths of the course:” • “No R scripts.” • “I’m so glad there was no R.” • “Not using R made Math 23 so much better.
  • 31. Tentative conclusions • With students who know they are going to be using R professionally, lectures based on R scripts are effective and well received. • Non-programmers like R for visualization and eliminating tedious computation, but explaining scripts line-by-line is a no-no. • For presenting R scripts, YouTube is as effective as a live lecture. • Homework problems that only require modifying existing R scripts can be done by anyone.
  • 32. You can do this next year • Math E-23a and Math E-23b will be offered again, and for the first time there is an online-only option. R is used only for linear algebra. • Math S-323 starts on June 20. • I am looking for a statistician with teaching experience to take over Math E-156. Email a resume to bamberg@tiac.net if interested. If no one applies, I will probably teach the course myself Wednesdays 5:30-7:30 in the spring. • Harvard Extension School offers a graduate certificate in data science.