From kirby.urner at gmail.com Mon Feb 19 22:50:28 2018 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 19 Feb 2018 19:50:28 -0800 Subject: [Edu-sig] if I taught high school calculus today... Message-ID: I was a high school calculus teacher (also algebra, geometry, trig) first job outta university, stuck with it for two years. Fast forward to almost age 60, and I'm teaching coding to middle schoolers, thinking it's all still math. [1] Shouldn't take a "computer scientist" to cover this stuff... Algorithms are algorithms after all. Were I to teach calculus today, in light of what I now know, I'd focus on probability density functions right when we get to integration, as "area under the probability curve" is precisely how we figure out chances of something happening. We would use Jupyter Notebooks with SciPy, all free & open source. As I recall, our calc curriculum never did much to bridge to statistics, but in SciPy / NumPy, every continuous probability distribution function (PDF) comes with a cumulative distribution function (CDF) that's defined exactly as a definite integral between A and B, and giving the probability some x in distribution X falls between A and B. Forming a bridge twixt calculus and data science would be another strategy for getting scientific calculators to share the road, with more relevant free tools (always an ulterior motive for me). I don't think a TI is able to do definite integration over a standard normal curve. Actually, I see I'm wrong: http://cfcc.edu/faculty/cmoore/TINormal.htm Oh well, back to the drawing board. I still think a strong tie-in twixt calc and data science makes a lot of sense at the high school level. With or without Jupyter Notebooks. Kirby PS: right now I'm going through Allen Downey's tutorial on Bayesian stats using the above mentioned tools, from Pycon 2016: https://youtu.be/TpgiFIGXcT4 I attended this conference, but didn't manage to make this tutorial. [1] I've shared this before, still relevant: https://medium.com/@kirbyurner/is-code-school-the-new-high-school-30a8874170b Also this blog post: http://mybizmo.blogspot.com/2018/02/magic-squares.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From perrygrossman2008 at gmail.com Tue Feb 20 14:04:19 2018 From: perrygrossman2008 at gmail.com (Perry Grossman) Date: Tue, 20 Feb 2018 14:04:19 -0500 Subject: [Edu-sig] if I taught high school calculus today... (kirby urner) Message-ID: Yes, interesting post. It would be great to see calculus taught in Jupyter notebooks. Allen Downey's work is great. I am watching his SciPy 2017 computational stats talk: https://www.youtube.com/watch?v=He9MCbs1wgE Also, interesting, Christopher Fonnesbeck - Introduction to Statistical Modeling with Python - PyCon 2017: https://youtu.be/TMmSESkhRtI Perry On Tue, Feb 20, 2018 at 12:00 PM, wrote: > Send Edu-sig mailing list submissions to > edu-sig at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/edu-sig > or, via email, send a message with subject or body 'help' to > edu-sig-request at python.org > > You can reach the person managing the list at > edu-sig-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Edu-sig digest..." > > > Today's Topics: > > 1. if I taught high school calculus today... (kirby urner) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 19 Feb 2018 19:50:28 -0800 > From: kirby urner > To: "edu-sig at python.org" > Subject: [Edu-sig] if I taught high school calculus today... > Message-ID: > gmail.com> > Content-Type: text/plain; charset="utf-8" > > I was a high school calculus teacher (also algebra, geometry, trig) first > job outta university, stuck with it for two years. > > Fast forward to almost age 60, and I'm teaching coding to middle schoolers, > thinking it's all still math. [1] > > Shouldn't take a "computer scientist" to cover this stuff... Algorithms are > algorithms after all. > > Were I to teach calculus today, in light of what I now know, I'd focus on > probability density functions right when we get to integration, as "area > under the probability curve" is precisely how we figure out chances of > something happening. > > We would use Jupyter Notebooks with SciPy, all free & open source. > > As I recall, our calc curriculum never did much to bridge to statistics, > but in SciPy / NumPy, every continuous probability distribution function > (PDF) comes with a cumulative distribution function (CDF) that's defined > exactly as a definite integral between A and B, and giving the probability > some x in distribution X falls between A and B. > > Forming a bridge twixt calculus and data science would be another strategy > for getting scientific calculators to share the road, with more relevant > free tools (always an ulterior motive for me). I don't think a TI is able > to do definite integration over a standard normal curve. > > Actually, I see I'm wrong: > http://cfcc.edu/faculty/cmoore/TINormal.htm > > Oh well, back to the drawing board. I still think a strong tie-in twixt > calc and data science makes a lot of sense at the high school level. With > or without Jupyter Notebooks. > > Kirby > > PS: right now I'm going through Allen Downey's tutorial on Bayesian stats > using the above mentioned tools, from Pycon 2016: > https://youtu.be/TpgiFIGXcT4 > I attended this conference, but didn't manage to make this tutorial. > > [1] I've shared this before, still relevant: > https://medium.com/@kirbyurner/is-code-school-the- > new-high-school-30a8874170b > > Also this blog post: > http://mybizmo.blogspot.com/2018/02/magic-squares.html > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: 20180219/d9e2f965/attachment-0001.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > > > ------------------------------ > > End of Edu-sig Digest, Vol 174, Issue 1 > *************************************** > -- PerryGrossman2008 at gmail.com (617) 383-9061 -------------- next part -------------- An HTML attachment was scrubbed... URL: From perrygrossman2008 at gmail.com Tue Feb 20 21:12:19 2018 From: perrygrossman2008 at gmail.com (Perry Grossman) Date: Tue, 20 Feb 2018 21:12:19 -0500 Subject: [Edu-sig] probability and statistics demo for kids Message-ID: I am thinking of doing a simplified interactive presentation on probability and Bayesian statistics for my kids' elementary school. I think it would probably be best for 6-8th graders, but there might be ways to do this for younger students. I'd like to run some Python code to show probability distributions and statistics. I am thinking of simplified examples from these works: Maybe the dice problem, or the cookie problem here: Allen Downey - Bayesian statistics made simple - PyCon 2016 A friend also suggested doing an analysis of how many cards (e.g. pokemon) that one might need to buy to colleft the whole set. Any suggestions on how to make this manageable approachable for kids? Perry On Feb 20, 2018 12:02 PM, wrote: > Send Edu-sig mailing list submissions to > edu-sig at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/edu-sig > or, via email, send a message with subject or body 'help' to > edu-sig-request at python.org > > You can reach the person managing the list at > edu-sig-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Edu-sig digest..." > > > Today's Topics: > > 1. if I taught high school calculus today... (kirby urner) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 19 Feb 2018 19:50:28 -0800 > From: kirby urner > To: "edu-sig at python.org" > Subject: [Edu-sig] if I taught high school calculus today... > Message-ID: > ail.com> > Content-Type: text/plain; charset="utf-8" > > I was a high school calculus teacher (also algebra, geometry, trig) first > job outta university, stuck with it for two years. > > Fast forward to almost age 60, and I'm teaching coding to middle schoolers, > thinking it's all still math. [1] > > Shouldn't take a "computer scientist" to cover this stuff... Algorithms are > algorithms after all. > > Were I to teach calculus today, in light of what I now know, I'd focus on > probability density functions right when we get to integration, as "area > under the probability curve" is precisely how we figure out chances of > something happening. > > We would use Jupyter Notebooks with SciPy, all free & open source. > > As I recall, our calc curriculum never did much to bridge to statistics, > but in SciPy / NumPy, every continuous probability distribution function > (PDF) comes with a cumulative distribution function (CDF) that's defined > exactly as a definite integral between A and B, and giving the probability > some x in distribution X falls between A and B. > > Forming a bridge twixt calculus and data science would be another strategy > for getting scientific calculators to share the road, with more relevant > free tools (always an ulterior motive for me). I don't think a TI is able > to do definite integration over a standard normal curve. > > Actually, I see I'm wrong: > http://cfcc.edu/faculty/cmoore/TINormal.htm > > Oh well, back to the drawing board. I still think a strong tie-in twixt > calc and data science makes a lot of sense at the high school level. With > or without Jupyter Notebooks. > > Kirby > > PS: right now I'm going through Allen Downey's tutorial on Bayesian stats > using the above mentioned tools, from Pycon 2016: > https://youtu.be/TpgiFIGXcT4 > I attended this conference, but didn't manage to make this tutorial. > > [1] I've shared this before, still relevant: > https://medium.com/@kirbyurner/is-code-school-the-new-high- > school-30a8874170b > > Also this blog post: > http://mybizmo.blogspot.com/2018/02/magic-squares.html > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: 19/d9e2f965/attachment-0001.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > > > ------------------------------ > > End of Edu-sig Digest, Vol 174, Issue 1 > *************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From calcpage at aol.com Wed Feb 21 09:33:06 2018 From: calcpage at aol.com (A Jorge Garcia) Date: Wed, 21 Feb 2018 09:33:06 -0500 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: I tried using Jupyter Notebooks last year with my Calc and preCalc students last year. However, I'm using CoCalc.com which is Sage Math Cloud gone commercial. It was free to use for a while. However, if you use it regularly as I have, you get a big red banner across the screen telling you to subscribe for $5 per month per user. Well, I have about 100 students and can't afford $500 per month and neither can my school, so we are back to using sagecell.sagemath.com for now. Regards, AJG ?Sent from BlueMail ? On Feb 21, 2018, 9:03 AM, at 9:03 AM, Perry Grossman wrote: >I am thinking of doing a simplified interactive presentation on >probability >and Bayesian statistics for my kids' elementary school. >I think it would probably be best for 6-8th graders, but there might be >ways to do this for younger students. >I'd like to run some Python code to show probability distributions and >statistics. > >I am thinking of simplified examples from these works: > >Maybe the dice problem, or the cookie problem here: >Allen Downey - Bayesian statistics made simple - PyCon 2016 > > >A friend also suggested doing an analysis of how many cards (e.g. >pokemon) >that one might need to buy to colleft the whole set. > >Any suggestions on how to make this manageable approachable for kids? > >Perry > > >On Feb 20, 2018 12:02 PM, wrote: > >> Send Edu-sig mailing list submissions to >> edu-sig at python.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://mail.python.org/mailman/listinfo/edu-sig >> or, via email, send a message with subject or body 'help' to >> edu-sig-request at python.org >> >> You can reach the person managing the list at >> edu-sig-owner at python.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Edu-sig digest..." >> >> >> Today's Topics: >> >> 1. if I taught high school calculus today... (kirby urner) >> >> >> >---------------------------------------------------------------------- >> >> Message: 1 >> Date: Mon, 19 Feb 2018 19:50:28 -0800 >> From: kirby urner >> To: "edu-sig at python.org" >> Subject: [Edu-sig] if I taught high school calculus today... >> Message-ID: >> > ail.com> >> Content-Type: text/plain; charset="utf-8" >> >> I was a high school calculus teacher (also algebra, geometry, trig) >first >> job outta university, stuck with it for two years. >> >> Fast forward to almost age 60, and I'm teaching coding to middle >schoolers, >> thinking it's all still math. [1] >> >> Shouldn't take a "computer scientist" to cover this stuff... >Algorithms are >> algorithms after all. >> >> Were I to teach calculus today, in light of what I now know, I'd >focus on >> probability density functions right when we get to integration, as >"area >> under the probability curve" is precisely how we figure out chances >of >> something happening. >> >> We would use Jupyter Notebooks with SciPy, all free & open source. >> >> As I recall, our calc curriculum never did much to bridge to >statistics, >> but in SciPy / NumPy, every continuous probability distribution >function >> (PDF) comes with a cumulative distribution function (CDF) that's >defined >> exactly as a definite integral between A and B, and giving the >probability >> some x in distribution X falls between A and B. >> >> Forming a bridge twixt calculus and data science would be another >strategy >> for getting scientific calculators to share the road, with more >relevant >> free tools (always an ulterior motive for me). I don't think a TI is >able >> to do definite integration over a standard normal curve. >> >> Actually, I see I'm wrong: >> http://cfcc.edu/faculty/cmoore/TINormal.htm >> >> Oh well, back to the drawing board. I still think a strong tie-in >twixt >> calc and data science makes a lot of sense at the high school level. >With >> or without Jupyter Notebooks. >> >> Kirby >> >> PS: right now I'm going through Allen Downey's tutorial on Bayesian >stats >> using the above mentioned tools, from Pycon 2016: >> https://youtu.be/TpgiFIGXcT4 >> I attended this conference, but didn't manage to make this tutorial. >> >> [1] I've shared this before, still relevant: >> https://medium.com/@kirbyurner/is-code-school-the-new-high- >> school-30a8874170b >> >> Also this blog post: >> http://mybizmo.blogspot.com/2018/02/magic-squares.html >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: > 19/d9e2f965/attachment-0001.html> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> Edu-sig mailing list >> Edu-sig at python.org >> https://mail.python.org/mailman/listinfo/edu-sig >> >> >> ------------------------------ >> >> End of Edu-sig Digest, Vol 174, Issue 1 >> *************************************** >> > > >------------------------------------------------------------------------ > >_______________________________________________ >Edu-sig mailing list >Edu-sig at python.org >https://mail.python.org/mailman/listinfo/edu-sig -------------- next part -------------- An HTML attachment was scrubbed... URL: From otaviocsilva at gmail.com Wed Feb 21 13:46:38 2018 From: otaviocsilva at gmail.com (Otavio Silva) Date: Wed, 21 Feb 2018 15:46:38 -0300 Subject: [Edu-sig] Python for kids Message-ID: Dear All, I am starting a group of Fathers and Mothers who want to teach their kids code, we decided to start wit python. None of us is a professional in coding, so we think we will need a lot of help... I have two question for the begining: 1- Could anyone suggest some literature that we (the fathers) could begin with? 2- Is here anyone from Brazil or any portuguese speaking country? Thanks a lot! Otavio -------------- next part -------------- An HTML attachment was scrubbed... URL: From nik at naturalnet.de Thu Feb 22 10:29:57 2018 From: nik at naturalnet.de (Dominik George) Date: Thu, 22 Feb 2018 16:29:57 +0100 Subject: [Edu-sig] Python for kids In-Reply-To: References: Message-ID: <20180222152957.GA14042@portux.lan.naturalnet.de> Hi, > 1- Could anyone suggest some literature that we (the fathers) could begin > with? ?Hello, World!? by Warren and Carter Sande (a father and his son) is a very good book for both parents and children. Why not join a local CoderDojo (or create one)? -nik -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 902 bytes Desc: not available URL: From wes.turner at gmail.com Thu Feb 22 10:49:08 2018 From: wes.turner at gmail.com (Wes Turner) Date: Thu, 22 Feb 2018 10:49:08 -0500 Subject: [Edu-sig] Python for kids In-Reply-To: References: Message-ID: https://github.com/quobit/awesome-python-in-education - https://www.codesters.com/curriculum/intro-to-codesters/Bu ilding+your+First+Program/1/ - http://rosalind.info/problems/list-view/ https://learnxinyminutes.com/docs/python3/ https://learnxinyminutes.com/docs/pt-br/python-pt/ https://github.com/adambard/learnxinyminutes-docs/blob/ master/pt-br/python3-pt.html.markdown ... https://learnxinyminutes.com/docs/pt-br/git-pt/ http://wiki.python.org.br/DocumentacaoPython http://wiki.python.org.br/PythonDoc (2009?) PEP 545 -- Python Documentation Translations https://www.python.org/dev/peps/pep-0545/ (No se habla portuguesa, pero) https://blog.pythonbrasil.org.br https://twitter.com/pythonbrasil https://hourofcode.com/us/beyond https://k12cs.org/framework-statements-by-progression/ ? https://westurner.github.io/tools/#conda On Wednesday, February 21, 2018, Otavio Silva wrote: > Dear All, > I am starting a group of Fathers and Mothers who want to teach their kids > code, we decided to start wit python. None of us is a professional in > coding, so we think we will need a lot of help... > I have two question for the begining: > 1- Could anyone suggest some literature that we (the fathers) could begin > with? > 2- Is here anyone from Brazil or any portuguese speaking country? > Thanks a lot! > Otavio > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntoll at ntoll.org Thu Feb 22 12:00:59 2018 From: ntoll at ntoll.org (Nicholas H.Tollervey) Date: Thu, 22 Feb 2018 17:00:59 +0000 Subject: [Edu-sig] Python for kids In-Reply-To: References: Message-ID: Hi Otavio, See my answers below..! :-) N. On 21/02/18 18:46, Otavio Silva wrote: > Dear All, > I am starting a group of Fathers and Mothers who want to teach their > kids code, we decided to start wit python. None of us is a professional > in coding, so we think we will need a lot of help... > I have two question for the begining: > 1- Could anyone suggest some literature that we (the fathers) could > begin with? Look at the educational resources of the Raspberry Pi Foundation (http://raspberrypi.org/) especially their "code club" resources which are designed to be used in club like situations where the person leading the learning may not be a teacher. I also happen to know they're translating their resources into languages other than English and so may be up for some help trying localised educational resources. If this is of interest, drop me a line and I can introduce you to the right people to talk to. > 2- Is here anyone from Brazil or any portuguese speaking country? Oh boy, the Brazilian Python community is famous for its friendliness, energy and ability to get stuff organised. I'll follow up this email (sent to the mailing list) with a private one to just you to introduce you to a Brazilian buddy who, if not able to help you directly, will certainly be able to point to you people in Brazil who can. If you were to run such a club, and were to make the resources you use freely available, perhaps you should ask the Python Software Foundation (http://python.org/psf) for a grant to help cover any costs you may incur. I hope you find it useful and best of luck with your endeavours. N. > Thanks a lot! > Otavio > > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: OpenPGP digital signature URL: From nik at naturalnet.de Thu Feb 22 12:12:20 2018 From: nik at naturalnet.de (Dominik George) Date: Thu, 22 Feb 2018 18:12:20 +0100 Subject: [Edu-sig] Python for kids In-Reply-To: References: Message-ID: <20180222171207.GE14042@portux.lan.naturalnet.de> > If you were to run such a club, and were to make the resources you use > freely available, perhaps you should ask the Python Software Foundation > (http://python.org/psf) for a grant to help cover any costs you may incur. Please do not forget that ?freely available? includes using tools (e.g. Git hosting) that children themselves can use (i.e. terms of service allow chilfren without age restriction, etc., like EduGit.org). -nik -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 902 bytes Desc: not available URL: From fmasanori at gmail.com Thu Feb 22 19:06:09 2018 From: fmasanori at gmail.com (Fernando Masanori Ashikaga) Date: Fri, 23 Feb 2018 00:06:09 +0000 Subject: [Edu-sig] Python for kids In-Reply-To: References: Message-ID: Python Evangelist and teaching Python at CS0 in Brazil here o/ My contacts: https://about.me/fmasanori I write my experiences in a blog post(portuguese): https://medium.com/@fmasanori/hoje-sou-um-professor-feliz-python-no-ensino-de-programa%C3%A7%C3%A3o-26a92ba73dfb Em qui, 22 de fev de 2018 ?s 12:14, Otavio Silva escreveu: > Dear All, > I am starting a group of Fathers and Mothers who want to teach their kids > code, we decided to start wit python. None of us is a professional in > coding, so we think we will need a lot of help... > I have two question for the begining: > 1- Could anyone suggest some literature that we (the fathers) could begin > with? > 2- Is here anyone from Brazil or any portuguese speaking country? > Thanks a lot! > Otavio > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > -- https://about.me/fmasanori -------------- next part -------------- An HTML attachment was scrubbed... URL: From otaviocsilva at gmail.com Thu Feb 22 10:55:52 2018 From: otaviocsilva at gmail.com (Otavio Silva) Date: Thu, 22 Feb 2018 12:55:52 -0300 Subject: [Edu-sig] Python for kids In-Reply-To: References: Message-ID: Thanks Wes and Dominik! Lets study now! 2018-02-22 12:49 GMT-03:00 Wes Turner : > https://github.com/quobit/awesome-python-in-education > > - https://www.codesters.com/curriculum/intro-to-codesters/Bu > ilding+your+First+Program/1/ > - http://rosalind.info/problems/list-view/ > > > https://learnxinyminutes.com/docs/python3/ > https://learnxinyminutes.com/docs/pt-br/python-pt/ > https://github.com/adambard/learnxinyminutes-docs/blob/maste > r/pt-br/python3-pt.html.markdown > ... https://learnxinyminutes.com/docs/pt-br/git-pt/ > > > http://wiki.python.org.br/DocumentacaoPython > http://wiki.python.org.br/PythonDoc (2009?) > > PEP 545 -- Python Documentation Translations > https://www.python.org/dev/peps/pep-0545/ > > (No se habla portuguesa, pero) > > https://blog.pythonbrasil.org.br > > https://twitter.com/pythonbrasil > > > https://hourofcode.com/us/beyond > > https://k12cs.org/framework-statements-by-progression/ > > > ? https://westurner.github.io/tools/#conda > > > On Wednesday, February 21, 2018, Otavio Silva > wrote: > >> Dear All, >> I am starting a group of Fathers and Mothers who want to teach their kids >> code, we decided to start wit python. None of us is a professional in >> coding, so we think we will need a lot of help... >> I have two question for the begining: >> 1- Could anyone suggest some literature that we (the fathers) could begin >> with? >> 2- Is here anyone from Brazil or any portuguese speaking country? >> Thanks a lot! >> Otavio >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Fri Feb 23 12:51:33 2018 From: kirby.urner at gmail.com (kirby urner) Date: Fri, 23 Feb 2018 09:51:33 -0800 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: I'm a big fan of Galton Boards: https://youtu.be/3m4bxse2JEQ (lots more on Youtube) Python + Dice idea = Simple Code http://www.pythonforbeginners.com/code-snippets-source-code/game-rolling-the-dice/ I'd introduce the idea that 1 die = Uniform Probability but 2+ dice = Binomial distribution (because there are more ways to roll some numbers, e.g. 7 than others, e.g. 12). A Python generator for Pascal's Triangle (= Binomial Distribution): def pascal(): row = [1] while True: yield row row = [i+j for i,j in zip([0]+row, row+[0])] gen = pascal() for _ in range(10): print(next(gen)) [1] [1, 1] [1, 2, 1] [1, 3, 3, 1] [1, 4, 6, 4, 1] [1, 5, 10, 10, 5, 1] [1, 6, 15, 20, 15, 6, 1] [1, 7, 21, 35, 35, 21, 7, 1] [1, 8, 28, 56, 70, 56, 28, 8, 1] [1, 9, 36, 84, 126, 126, 84, 36, 9, 1] Kirby On Tue, Feb 20, 2018 at 6:12 PM, Perry Grossman wrote: > I am thinking of doing a simplified interactive presentation on > probability and Bayesian statistics for my kids' elementary school. > I think it would probably be best for 6-8th graders, but there might be > ways to do this for younger students. > I'd like to run some Python code to show probability distributions and > statistics. > > I am thinking of simplified examples from these works: > > Maybe the dice problem, or the cookie problem here: > Allen Downey - Bayesian statistics made simple - PyCon 2016 > > > A friend also suggested doing an analysis of how many cards (e.g. pokemon) > that one might need to buy to colleft the whole set. > > Any suggestions on how to make this manageable approachable for kids? > > Perry > > PS: right now I'm going through Allen Downey's tutorial on Bayesian stats >> using the above mentioned tools, from Pycon 2016: >> https://youtu.be/TpgiFIGXcT4 >> I attended this conference, but didn't manage to make this tutorial. >> >> [1] I've shared this before, still relevant: >> https://medium.com/@kirbyurner/is-code-school-the-new-high-s >> chool-30a8874170b >> >> Also this blog post: >> http://mybizmo.blogspot.com/2018/02/magic-squares.html >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: > 19/d9e2f965/attachment-0001.html> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> Edu-sig mailing list >> Edu-sig at python.org >> https://mail.python.org/mailman/listinfo/edu-sig >> >> >> ------------------------------ >> >> End of Edu-sig Digest, Vol 174, Issue 1 >> *************************************** >> > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wes.turner at gmail.com Fri Feb 23 14:44:06 2018 From: wes.turner at gmail.com (Wes Turner) Date: Fri, 23 Feb 2018 14:44:06 -0500 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: "Seeing Theory: A visual introduction to probability and statistics" http://students.brown.edu/seeing-theory/ https://github.com/seeingtheory/Seeing-Theory These are JavaScript widgets, so not Python but great visual examples that could be implemented with ipywidgets and some JS. explorable.es has a whole catalog of these: http://explorabl.es/math/ Think Stats 2nd edition is free: http://greenteapress.com/wp/think-stats-2e/ The source is also free: https://github.com/AllenDowney/ThinkStats2 https://github.com/AllenDowney/ThinkStats2/blob/master/code/chap01ex.ipynb https://nbviewer.jupyter.org/github/AllenDowney/ThinkStats2/tree/master/code/ On Friday, February 23, 2018, kirby urner wrote: > I'm a big fan of Galton Boards: > > https://youtu.be/3m4bxse2JEQ (lots more on Youtube) > > Python + Dice idea = Simple Code > > http://www.pythonforbeginners.com/code-snippets-source-code/ > game-rolling-the-dice/ > > I'd introduce the idea that 1 die = Uniform Probability but 2+ dice = > Binomial distribution (because there are more ways to roll some numbers, > e.g. 7 than others, e.g. 12). > > A Python generator for Pascal's Triangle (= Binomial Distribution): > > def pascal(): > row = [1] > while True: > yield row > row = [i+j for i,j in zip([0]+row, row+[0])] > > > gen = pascal() > > for _ in range(10): > print(next(gen)) > > [1] > [1, 1] > [1, 2, 1] > [1, 3, 3, 1] > [1, 4, 6, 4, 1] > [1, 5, 10, 10, 5, 1] > [1, 6, 15, 20, 15, 6, 1] > [1, 7, 21, 35, 35, 21, 7, 1] > [1, 8, 28, 56, 70, 56, 28, 8, 1] > [1, 9, 36, 84, 126, 126, 84, 36, 9, 1] > > Kirby > > > On Tue, Feb 20, 2018 at 6:12 PM, Perry Grossman < > perrygrossman2008 at gmail.com> wrote: > >> I am thinking of doing a simplified interactive presentation on >> probability and Bayesian statistics for my kids' elementary school. >> I think it would probably be best for 6-8th graders, but there might be >> ways to do this for younger students. >> I'd like to run some Python code to show probability distributions and >> statistics. >> >> I am thinking of simplified examples from these works: >> >> Maybe the dice problem, or the cookie problem here: >> Allen Downey - Bayesian statistics made simple - PyCon 2016 >> >> >> A friend also suggested doing an analysis of how many cards (e.g. >> pokemon) that one might need to buy to colleft the whole set. >> >> Any suggestions on how to make this manageable approachable for kids? >> >> Perry >> >> PS: right now I'm going through Allen Downey's tutorial on Bayesian stats >>> using the above mentioned tools, from Pycon 2016: >>> https://youtu.be/TpgiFIGXcT4 >>> I attended this conference, but didn't manage to make this tutorial. >>> >>> [1] I've shared this before, still relevant: >>> https://medium.com/@kirbyurner/is-code-school-the-new-high-s >>> chool-30a8874170b >>> >>> Also this blog post: >>> http://mybizmo.blogspot.com/2018/02/magic-squares.html >>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: >> 19/d9e2f965/attachment-0001.html> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> Edu-sig mailing list >>> Edu-sig at python.org >>> https://mail.python.org/mailman/listinfo/edu-sig >>> >>> >>> ------------------------------ >>> >>> End of Edu-sig Digest, Vol 174, Issue 1 >>> *************************************** >>> >> >> _______________________________________________ >> Edu-sig mailing list >> Edu-sig at python.org >> https://mail.python.org/mailman/listinfo/edu-sig >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From blakeelias at gmail.com Fri Feb 23 15:34:23 2018 From: blakeelias at gmail.com (Blake) Date: Fri, 23 Feb 2018 15:34:23 -0500 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: The programs / code examples you all have proposed look great. Perry, I think your idea to teach Bayesian statistics to 6-8th graders sounds great! Just wanted to chime in on a different angle of this: the relevance of the problem(s) that you address. Here is a video of one of my former high school teachers explaining how he teaches reasoning, skepticism, and using probability in the real world. https://www.youtube.com/watch?v=z2HWE6qQ2kI He gives an example of using Bayes Rule which could be a great example for you to use, Perry. And he shows how you can intuitively, visually understand what Bayes Rule tells us for that example, without having to go through the calculations. At the end of that video, he gives a curriculum overview for a year-long course he has developed, called "Human Reasoning", which is about thinking in the real world. I would love to see more people teach the way he does! Curious if people have other examples of this kind of thing, or have ideas of how to use computer simulations specifically for teaching this real-world-focused perspective on mathematics. -- Blake Elias On Fri, Feb 23, 2018 at 2:44 PM, Wes Turner wrote: > "Seeing Theory: A visual introduction to probability and statistics" > http://students.brown.edu/seeing-theory/ > https://github.com/seeingtheory/Seeing-Theory > > These are JavaScript widgets, so not Python but great visual examples that > could be implemented with ipywidgets and some JS. > > explorable.es has a whole catalog of these: > http://explorabl.es/math/ > > Think Stats 2nd edition is free: > http://greenteapress.com/wp/think-stats-2e/ > > The source is also free: > https://github.com/AllenDowney/ThinkStats2 > https://github.com/AllenDowney/ThinkStats2/blob/master/code/chap01ex.ipynb > https://nbviewer.jupyter.org/github/AllenDowney/ > ThinkStats2/tree/master/code/ > > > On Friday, February 23, 2018, kirby urner wrote: > >> I'm a big fan of Galton Boards: >> >> https://youtu.be/3m4bxse2JEQ (lots more on Youtube) >> >> Python + Dice idea = Simple Code >> >> http://www.pythonforbeginners.com/code-snippets-source-code/ >> game-rolling-the-dice/ >> >> I'd introduce the idea that 1 die = Uniform Probability but 2+ dice = >> Binomial distribution (because there are more ways to roll some numbers, >> e.g. 7 than others, e.g. 12). >> >> A Python generator for Pascal's Triangle (= Binomial Distribution): >> >> def pascal(): >> row = [1] >> while True: >> yield row >> row = [i+j for i,j in zip([0]+row, row+[0])] >> >> >> gen = pascal() >> >> for _ in range(10): >> print(next(gen)) >> >> [1] >> [1, 1] >> [1, 2, 1] >> [1, 3, 3, 1] >> [1, 4, 6, 4, 1] >> [1, 5, 10, 10, 5, 1] >> [1, 6, 15, 20, 15, 6, 1] >> [1, 7, 21, 35, 35, 21, 7, 1] >> [1, 8, 28, 56, 70, 56, 28, 8, 1] >> [1, 9, 36, 84, 126, 126, 84, 36, 9, 1] >> >> Kirby >> >> >> On Tue, Feb 20, 2018 at 6:12 PM, Perry Grossman < >> perrygrossman2008 at gmail.com> wrote: >> >>> I am thinking of doing a simplified interactive presentation on >>> probability and Bayesian statistics for my kids' elementary school. >>> I think it would probably be best for 6-8th graders, but there might be >>> ways to do this for younger students. >>> I'd like to run some Python code to show probability distributions and >>> statistics. >>> >>> I am thinking of simplified examples from these works: >>> >>> Maybe the dice problem, or the cookie problem here: >>> Allen Downey - Bayesian statistics made simple - PyCon 2016 >>> >>> >>> A friend also suggested doing an analysis of how many cards (e.g. >>> pokemon) that one might need to buy to colleft the whole set. >>> >>> Any suggestions on how to make this manageable approachable for kids? >>> >>> Perry >>> >>> PS: right now I'm going through Allen Downey's tutorial on Bayesian >>>> stats >>>> using the above mentioned tools, from Pycon 2016: >>>> https://youtu.be/TpgiFIGXcT4 >>>> I attended this conference, but didn't manage to make this tutorial. >>>> >>>> [1] I've shared this before, still relevant: >>>> https://medium.com/@kirbyurner/is-code-school-the-new-high-s >>>> chool-30a8874170b >>>> >>>> Also this blog post: >>>> http://mybizmo.blogspot.com/2018/02/magic-squares.html >>>> -------------- next part -------------- >>>> An HTML attachment was scrubbed... >>>> URL: >>> 19/d9e2f965/attachment-0001.html> >>>> >>>> ------------------------------ >>>> >>>> Subject: Digest Footer >>>> >>>> _______________________________________________ >>>> Edu-sig mailing list >>>> Edu-sig at python.org >>>> https://mail.python.org/mailman/listinfo/edu-sig >>>> >>>> >>>> ------------------------------ >>>> >>>> End of Edu-sig Digest, Vol 174, Issue 1 >>>> *************************************** >>>> >>> >>> _______________________________________________ >>> Edu-sig mailing list >>> Edu-sig at python.org >>> https://mail.python.org/mailman/listinfo/edu-sig >>> >>> >> > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wes.turner at gmail.com Fri Feb 23 18:15:14 2018 From: wes.turner at gmail.com (Wes Turner) Date: Fri, 23 Feb 2018 18:15:14 -0500 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: On Friday, February 23, 2018, Blake wrote: > The programs / code examples you all have proposed look great. > > Perry, I think your idea to teach Bayesian statistics to 6-8th graders > sounds great! > > Just wanted to chime in on a different angle of this: the relevance of the > problem(s) that you address. > > Here is a video of one of my former high school teachers explaining how he > teaches reasoning, skepticism, and using probability in the real world. > https://www.youtube.com/watch?v=z2HWE6qQ2kI > > He gives an example of using Bayes Rule which could be a great example for > you to use, Perry. And he shows how you can intuitively, visually > understand what Bayes Rule tells us for that example, without having to go > through the calculations. > > > At the end of that video, he gives a curriculum overview for a year-long > course he has developed, called "Human Reasoning", which is about thinking > in the real world. I would love to see more people teach the way he does! > > > Curious if people have other examples of this kind of thing, or have ideas > of how to use computer simulations specifically for teaching this > real-world-focused perspective on mathematics. > https://www.khanacademy.org/math/statistics-probability https://github.com/jupyter/jupyter/wiki/a-gallery-of-interesting-jupyter-notebooks#machine-learning-statistics-and-probability http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/ > > > -- > Blake Elias > > On Fri, Feb 23, 2018 at 2:44 PM, Wes Turner wrote: > >> "Seeing Theory: A visual introduction to probability and statistics" >> http://students.brown.edu/seeing-theory/ >> https://github.com/seeingtheory/Seeing-Theory >> >> These are JavaScript widgets, so not Python but great visual examples >> that could be implemented with ipywidgets and some JS. >> >> explorable.es has a whole catalog of these: >> http://explorabl.es/math/ >> >> Think Stats 2nd edition is free: >> http://greenteapress.com/wp/think-stats-2e/ >> >> The source is also free: >> https://github.com/AllenDowney/ThinkStats2 >> https://github.com/AllenDowney/ThinkStats2/blob/master/code/ >> chap01ex.ipynb >> https://nbviewer.jupyter.org/github/AllenDowney/ThinkStats2/ >> tree/master/code/ >> >> >> On Friday, February 23, 2018, kirby urner wrote: >> >>> I'm a big fan of Galton Boards: >>> >>> https://youtu.be/3m4bxse2JEQ (lots more on Youtube) >>> >>> Python + Dice idea = Simple Code >>> >>> http://www.pythonforbeginners.com/code-snippets-source-code/ >>> game-rolling-the-dice/ >>> >>> I'd introduce the idea that 1 die = Uniform Probability but 2+ dice = >>> Binomial distribution (because there are more ways to roll some numbers, >>> e.g. 7 than others, e.g. 12). >>> >>> A Python generator for Pascal's Triangle (= Binomial Distribution): >>> >>> def pascal(): >>> row = [1] >>> while True: >>> yield row >>> row = [i+j for i,j in zip([0]+row, row+[0])] >>> >>> >>> gen = pascal() >>> >>> for _ in range(10): >>> print(next(gen)) >>> >>> [1] >>> [1, 1] >>> [1, 2, 1] >>> [1, 3, 3, 1] >>> [1, 4, 6, 4, 1] >>> [1, 5, 10, 10, 5, 1] >>> [1, 6, 15, 20, 15, 6, 1] >>> [1, 7, 21, 35, 35, 21, 7, 1] >>> [1, 8, 28, 56, 70, 56, 28, 8, 1] >>> [1, 9, 36, 84, 126, 126, 84, 36, 9, 1] >>> >>> Kirby >>> >>> >>> On Tue, Feb 20, 2018 at 6:12 PM, Perry Grossman < >>> perrygrossman2008 at gmail.com> wrote: >>> >>>> I am thinking of doing a simplified interactive presentation on >>>> probability and Bayesian statistics for my kids' elementary school. >>>> I think it would probably be best for 6-8th graders, but there might be >>>> ways to do this for younger students. >>>> I'd like to run some Python code to show probability distributions and >>>> statistics. >>>> >>>> I am thinking of simplified examples from these works: >>>> >>>> Maybe the dice problem, or the cookie problem here: >>>> Allen Downey - Bayesian statistics made simple - PyCon 2016 >>>> >>>> >>>> A friend also suggested doing an analysis of how many cards (e.g. >>>> pokemon) that one might need to buy to colleft the whole set. >>>> >>>> Any suggestions on how to make this manageable approachable for kids? >>>> >>>> Perry >>>> >>>> PS: right now I'm going through Allen Downey's tutorial on Bayesian >>>>> stats >>>>> using the above mentioned tools, from Pycon 2016: >>>>> https://youtu.be/TpgiFIGXcT4 >>>>> I attended this conference, but didn't manage to make this tutorial. >>>>> >>>>> [1] I've shared this before, still relevant: >>>>> https://medium.com/@kirbyurner/is-code-school-the-new-high-s >>>>> chool-30a8874170b >>>>> >>>>> Also this blog post: >>>>> http://mybizmo.blogspot.com/2018/02/magic-squares.html >>>>> -------------- next part -------------- >>>>> An HTML attachment was scrubbed... >>>>> URL: >>>> 19/d9e2f965/attachment-0001.html> >>>>> >>>>> ------------------------------ >>>>> >>>>> Subject: Digest Footer >>>>> >>>>> _______________________________________________ >>>>> Edu-sig mailing list >>>>> Edu-sig at python.org >>>>> https://mail.python.org/mailman/listinfo/edu-sig >>>>> >>>>> >>>>> ------------------------------ >>>>> >>>>> End of Edu-sig Digest, Vol 174, Issue 1 >>>>> *************************************** >>>>> >>>> >>>> _______________________________________________ >>>> Edu-sig mailing list >>>> Edu-sig at python.org >>>> https://mail.python.org/mailman/listinfo/edu-sig >>>> >>>> >>> >> _______________________________________________ >> Edu-sig mailing list >> Edu-sig at python.org >> https://mail.python.org/mailman/listinfo/edu-sig >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wes.turner at gmail.com Fri Feb 23 20:32:47 2018 From: wes.turner at gmail.com (Wes Turner) Date: Fri, 23 Feb 2018 20:32:47 -0500 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: Here's the AP Statistics course page for instructors: https://apcentral.collegeboard.org/courses/ap-statistics https://en.wikipedia.org/wiki/AP_Statistics It's probably worth mentioning nbgrader for grading notebooks and nbval for testing notebooks: https://github.com/jupyter/nbgrader https://github.com/computationalmodelling/nbval On Friday, February 23, 2018, Wes Turner wrote: > > > On Friday, February 23, 2018, Blake wrote: > >> The programs / code examples you all have proposed look great. >> >> Perry, I think your idea to teach Bayesian statistics to 6-8th graders >> sounds great! >> >> Just wanted to chime in on a different angle of this: the relevance of >> the problem(s) that you address. >> >> Here is a video of one of my former high school teachers explaining how >> he teaches reasoning, skepticism, and using probability in the real world. >> https://www.youtube.com/watch?v=z2HWE6qQ2kI >> >> He gives an example of using Bayes Rule which could be a great example >> for you to use, Perry. And he shows how you can intuitively, visually >> understand what Bayes Rule tells us for that example, without having to go >> through the calculations. >> >> >> At the end of that video, he gives a curriculum overview for a year-long >> course he has developed, called "Human Reasoning", which is about thinking >> in the real world. I would love to see more people teach the way he does! >> >> >> Curious if people have other examples of this kind of thing, or have >> ideas of how to use computer simulations specifically for teaching this >> real-world-focused perspective on mathematics. >> > > https://www.khanacademy.org/math/statistics-probability > > https://github.com/jupyter/jupyter/wiki/a-gallery-of- > interesting-jupyter-notebooks#machine-learning-statistics-and-probability > > http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian- > Methods-for-Hackers/ > > > >> >> >> -- >> Blake Elias >> >> On Fri, Feb 23, 2018 at 2:44 PM, Wes Turner wrote: >> >>> "Seeing Theory: A visual introduction to probability and statistics" >>> http://students.brown.edu/seeing-theory/ >>> https://github.com/seeingtheory/Seeing-Theory >>> >>> These are JavaScript widgets, so not Python but great visual examples >>> that could be implemented with ipywidgets and some JS. >>> >>> explorable.es has a whole catalog of these: >>> http://explorabl.es/math/ >>> >>> Think Stats 2nd edition is free: >>> http://greenteapress.com/wp/think-stats-2e/ >>> >>> The source is also free: >>> https://github.com/AllenDowney/ThinkStats2 >>> https://github.com/AllenDowney/ThinkStats2/blob/master/code/ >>> chap01ex.ipynb >>> https://nbviewer.jupyter.org/github/AllenDowney/ThinkStats2/ >>> tree/master/code/ >>> >>> >>> On Friday, February 23, 2018, kirby urner wrote: >>> >>>> I'm a big fan of Galton Boards: >>>> >>>> https://youtu.be/3m4bxse2JEQ (lots more on Youtube) >>>> >>>> Python + Dice idea = Simple Code >>>> >>>> http://www.pythonforbeginners.com/code-snippets-source-code/ >>>> game-rolling-the-dice/ >>>> >>>> I'd introduce the idea that 1 die = Uniform Probability but 2+ dice = >>>> Binomial distribution (because there are more ways to roll some numbers, >>>> e.g. 7 than others, e.g. 12). >>>> >>>> A Python generator for Pascal's Triangle (= Binomial Distribution): >>>> >>>> def pascal(): >>>> row = [1] >>>> while True: >>>> yield row >>>> row = [i+j for i,j in zip([0]+row, row+[0])] >>>> >>>> >>>> gen = pascal() >>>> >>>> for _ in range(10): >>>> print(next(gen)) >>>> >>>> [1] >>>> [1, 1] >>>> [1, 2, 1] >>>> [1, 3, 3, 1] >>>> [1, 4, 6, 4, 1] >>>> [1, 5, 10, 10, 5, 1] >>>> [1, 6, 15, 20, 15, 6, 1] >>>> [1, 7, 21, 35, 35, 21, 7, 1] >>>> [1, 8, 28, 56, 70, 56, 28, 8, 1] >>>> [1, 9, 36, 84, 126, 126, 84, 36, 9, 1] >>>> >>>> Kirby >>>> >>>> >>>> On Tue, Feb 20, 2018 at 6:12 PM, Perry Grossman < >>>> perrygrossman2008 at gmail.com> wrote: >>>> >>>>> I am thinking of doing a simplified interactive presentation on >>>>> probability and Bayesian statistics for my kids' elementary school. >>>>> I think it would probably be best for 6-8th graders, but there might >>>>> be ways to do this for younger students. >>>>> I'd like to run some Python code to show probability distributions and >>>>> statistics. >>>>> >>>>> I am thinking of simplified examples from these works: >>>>> >>>>> Maybe the dice problem, or the cookie problem here: >>>>> Allen Downey - Bayesian statistics made simple - PyCon 2016 >>>>> >>>>> >>>>> A friend also suggested doing an analysis of how many cards (e.g. >>>>> pokemon) that one might need to buy to colleft the whole set. >>>>> >>>>> Any suggestions on how to make this manageable approachable for kids? >>>>> >>>>> Perry >>>>> >>>>> PS: right now I'm going through Allen Downey's tutorial on Bayesian >>>>>> stats >>>>>> using the above mentioned tools, from Pycon 2016: >>>>>> https://youtu.be/TpgiFIGXcT4 >>>>>> I attended this conference, but didn't manage to make this tutorial. >>>>>> >>>>>> [1] I've shared this before, still relevant: >>>>>> https://medium.com/@kirbyurner/is-code-school-the-new-high-s >>>>>> chool-30a8874170b >>>>>> >>>>>> Also this blog post: >>>>>> http://mybizmo.blogspot.com/2018/02/magic-squares.html >>>>>> -------------- next part -------------- >>>>>> An HTML attachment was scrubbed... >>>>>> URL: >>>>> 19/d9e2f965/attachment-0001.html> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> Subject: Digest Footer >>>>>> >>>>>> _______________________________________________ >>>>>> Edu-sig mailing list >>>>>> Edu-sig at python.org >>>>>> https://mail.python.org/mailman/listinfo/edu-sig >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> End of Edu-sig Digest, Vol 174, Issue 1 >>>>>> *************************************** >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Edu-sig mailing list >>>>> Edu-sig at python.org >>>>> https://mail.python.org/mailman/listinfo/edu-sig >>>>> >>>>> >>>> >>> _______________________________________________ >>> Edu-sig mailing list >>> Edu-sig at python.org >>> https://mail.python.org/mailman/listinfo/edu-sig >>> >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From wes.turner at gmail.com Fri Feb 23 20:36:42 2018 From: wes.turner at gmail.com (Wes Turner) Date: Fri, 23 Feb 2018 20:36:42 -0500 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: On Wednesday, February 21, 2018, A Jorge Garcia via Edu-sig < edu-sig at python.org> wrote: > I tried using Jupyter Notebooks last year with my Calc and preCalc > students last year. However, I'm using CoCalc.com which is Sage Math > Cloud gone commercial. It was free to use for a while. However, if you use > it regularly as I have, you get a big red banner across the screen telling > you to subscribe for $5 per month per user. Well, I have about 100 students > and can't afford $500 per month and neither can my school, so we are back > to using sagecell.sagemath.com for now. > How many quota'd Docker container does it take to serve JupyterHub for 100 students? It may be easier to copy a configured conda env ZIP to each PC? https://jupyterhub.readthedocs.io/en/latest/ > Regards, > AJG > > Sent from BlueMail > On Feb 21, 2018, at 9:03 AM, Perry Grossman > wrote: >> >> I am thinking of doing a simplified interactive presentation on >> probability and Bayesian statistics for my kids' elementary school. >> I think it would probably be best for 6-8th graders, but there might be >> ways to do this for younger students. >> I'd like to run some Python code to show probability distributions and >> statistics. >> >> I am thinking of simplified examples from these works: >> >> Maybe the dice problem, or the cookie problem here: >> Allen Downey - Bayesian statistics made simple - PyCon 2016 >> >> >> A friend also suggested doing an analysis of how many cards (e.g. >> pokemon) that one might need to buy to colleft the whole set. >> >> Any suggestions on how to make this manageable approachable for kids? >> >> Perry >> >> >> On Feb 20, 2018 12:02 PM, wrote: >> >>> Send Edu-sig mailing list submissions to >>> edu-sig at python.org >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> https://mail.python.org/mailman/listinfo/edu-sig >>> or, via email, send a message with subject or body 'help' to >>> edu-sig-request at python.org >>> >>> You can reach the person managing the list at >>> edu-sig-owner at python.org >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of Edu-sig digest..." >>> >>> >>> Today's Topics: >>> >>> 1. if I taught high school calculus today... (kirby urner) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Mon, 19 Feb 2018 19:50:28 -0800 >>> From: kirby urner >>> To: "edu-sig at python.org" >>> Subject: [Edu-sig] if I taught high school calculus today... >>> Message-ID: >>> >> ail.com> >>> Content-Type: text/plain; charset="utf-8" >>> >>> I was a high school calculus teacher (also algebra, geometry, trig) first >>> job outta university, stuck with it for two years. >>> >>> Fast forward to almost age 60, and I'm teaching coding to middle >>> schoolers, >>> thinking it's all still math. [1] >>> >>> Shouldn't take a "computer scientist" to cover this stuff... Algorithms >>> are >>> algorithms after all. >>> >>> Were I to teach calculus today, in light of what I now know, I'd focus on >>> probability density functions right when we get to integration, as "area >>> under the probability curve" is precisely how we figure out chances of >>> something happening. >>> >>> We would use Jupyter Notebooks with SciPy, all free & open source. >>> >>> As I recall, our calc curriculum never did much to bridge to statistics, >>> but in SciPy / NumPy, every continuous probability distribution function >>> (PDF) comes with a cumulative distribution function (CDF) that's defined >>> exactly as a definite integral between A and B, and giving the >>> probability >>> some x in distribution X falls between A and B. >>> >>> Forming a bridge twixt calculus and data science would be another >>> strategy >>> for getting scientific calculators to share the road, with more relevant >>> free tools (always an ulterior motive for me). I don't think a TI is >>> able >>> to do definite integration over a standard normal curve. >>> >>> Actually, I see I'm wrong: >>> http://cfcc.edu/faculty/cmoore/TINormal.htm >>> >>> Oh well, back to the drawing board. I still think a strong tie-in twixt >>> calc and data science makes a lot of sense at the high school level. With >>> or without Jupyter Notebooks. >>> >>> Kirby >>> >>> PS: right now I'm going through Allen Downey's tutorial on Bayesian >>> stats >>> using the above mentioned tools, from Pycon 2016: >>> https://youtu.be/TpgiFIGXcT4 >>> I attended this conference, but didn't manage to make this tutorial. >>> >>> [1] I've shared this before, still relevant: >>> https://medium.com/@kirbyurner/is-code-school-the-new-high-s >>> chool-30a8874170b >>> >>> Also this blog post: >>> http://mybizmo.blogspot.com/2018/02/magic-squares.html >>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: >> 19/d9e2f965/attachment-0001.html> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> Edu-sig mailing list >>> Edu-sig at python.org >>> https://mail.python.org/mailman/listinfo/edu-sig >>> >>> >>> ------------------------------ >>> >>> End of Edu-sig Digest, Vol 174, Issue 1 >>> *************************************** >>> >> ------------------------------ >> >> Edu-sig mailing list >> Edu-sig at python.org >> https://mail.python.org/mailman/listinfo/edu-sig >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Sat Feb 24 19:02:09 2018 From: kirby.urner at gmail.com (kirby urner) Date: Sat, 24 Feb 2018 16:02:09 -0800 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: ?In terms of Machine Learning more generally, I want to give special recognition to Jake VanderPlas, an astronomer who dives deep into scikit-learn in some multi-hour Youtube-shared tutorials. Example: https://youtu.be/L7R4HUQ-eQ0 His excellent keynote at Pycon2017: https://youtu.be/ZyjCqQEUa8o Jake does a super-excellent job of showing off the internal consistency of the scikit-learn API, where you can basically use the same code while just swapping in one classifier or regressor for another. He also speaks the jargon pretty flawlessly, to my ears at least, in terms of what's a feature (label) and what's an observation etc., going into both supervised and unsupervised learning scenarios (scikit-learn handles both). Bravo Jake. Allen Downey has great complementary tutorials which go deeper into the statistical thinking behind these ML models. ThinkBayes is fantastic. It's tempting to just mindlessly throw models at data looking for a best fit, and maybe that's all some underpaid cube farmer has time for, but VanderPlas, along with Downey, wisely counsels against that. Stats more than most is a minefield of pitfalls, such as overfitting. If your aim is authentic research, then mindless model-slinging will quickly come up against its own limitations. That's the message I keep getting from experts in the field. Kirby PS: thanks to Steve Holden, I got to visit the astronomy world up close, the form of the Hubble Space Telescope instrumentation team, eager for Python knowledge. These were already programmers, experts with IDL, but IDL is not the hard currency Python is, in the wider job market. For many reasons, astronomers can't put all their eggs in one basket. The Python ecosystem has been a godsend. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From wes.turner at gmail.com Sat Feb 24 20:21:21 2018 From: wes.turner at gmail.com (Wes Turner) Date: Sat, 24 Feb 2018 20:21:21 -0500 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: On Saturday, February 24, 2018, kirby urner wrote: > > ?In terms of Machine Learning more generally, I want to give special > recognition to Jake VanderPlas, an astronomer who dives deep into > scikit-learn in some multi-hour Youtube-shared tutorials. > > Example: > https://youtu.be/L7R4HUQ-eQ0 > > His excellent keynote at Pycon2017: > https://youtu.be/ZyjCqQEUa8o > > Jake does a super-excellent job of showing off the internal consistency of > the scikit-learn API, where you can basically use the same code while just > swapping in one classifier or regressor for another. > > He also speaks the jargon pretty flawlessly, to my ears at least, in terms > of what's a feature (label) and what's an observation etc., going into both > supervised and unsupervised learning scenarios (scikit-learn handles both). > > Bravo Jake. > +1. "Python Data Science Handbook" (by Jake VanderPlas) is available in print and as free Jupyter notebooks: https://github.com/jakevdp/PythonDataScienceHandbook It covers IPython, NumPy, Pandas, Matplotlib, and Scikit-Learn. > Allen Downey has great complementary tutorials which go deeper into the > statistical thinking behind these ML models. ThinkBayes is fantastic. > > It's tempting to just mindlessly throw models at data looking for a best > fit, and maybe that's all some underpaid cube farmer has time for, but > VanderPlas, along with Downey, wisely counsels against that. > > Stats more than most is a minefield of pitfalls, such as overfitting. If > your aim is authentic research, then mindless model-slinging will quickly > come up against its own limitations. That's the message I keep getting > from experts in the field. > > Kirby > > PS: thanks to Steve Holden, I got to visit the astronomy world up close, > the form of the Hubble Space Telescope instrumentation team, eager for > Python knowledge. These were already programmers, experts with IDL, but > IDL is not the hard currency Python is, in the wider job market. For many > reasons, astronomers can't put all their eggs in one basket. The Python > ecosystem has been a godsend. > > > > > ? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Sat Feb 24 21:28:32 2018 From: kirby.urner at gmail.com (kirby urner) Date: Sat, 24 Feb 2018 18:28:32 -0800 Subject: [Edu-sig] probability and statistics demo for kids In-Reply-To: References: Message-ID: On Sat, Feb 24, 2018 at 5:21 PM, Wes Turner wrote: > > > +1. "Python Data Science Handbook" (by Jake VanderPlas) is available in > print and as free Jupyter notebooks: > https://github.com/jakevdp/PythonDataScienceHandbook > > It covers IPython, NumPy, Pandas, Matplotlib, and Scikit-Learn. > > > ?Yes! Open on my desk in front of me. Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: