# Stat. 316: Statistics and Probability for Science and Engineering

Department of Statistics and Biostatistics, CSU East Bay

**Spring 2024:**

**Week 15:**

**Topics:**Two Sample Hypothesis Testing, Linear Regression.**Review:**Review for the Final Exam.

**Week 14:**

**Topics:**Hypothesis Testing, Type I Error, Type II Error, Power.**Project:**The Project has been posted in Canvas > Files > Project.**Quiz03:**Quiz03 has been posted in Canvas > Files > Quiz03.

**Week 13:**

**Topics:**Confidence Intervals, Hypothesis Testing.**Assignment:**Homework 11 has been posted.

**Week 12:**

**Midterm 2 Take-Home:**The take-home part of Midterm 2 is posted in Canvas and is due Friday 4/12/2024.**Topics:**Central Limit Theorem, Sampling Distribution.**Assignment:**Homework 10 has been posted.

**Week 11:**

**Dates:**Midterm02 is on Wednesday March 27, 2024.**Quiz 2:**Go over the solution.**Midterm 2:**Wednesday March 27, 2024, in-class, closed book 4 pages of notes. Study Chapters 2, 3, 4, and 5. The midterm will cover the following topics: Probability Rules, Probability Mass Functions, Expectation and Variance, Discrete Random Variables, Binomial, Poisson, Hypergeometric, Geometric, Negative Binomial, Continuous Random Variables, Uniform, Normal, Exponential, Central Limit Theorem.**Topics:**Central Limit Theorem.**Assignment:**Homework 9 has been posted.

**Week 10:**

**Dates:**Quiz02 is on Wednesday March 20, 2024. Midterm02 is on Wednesday March 27, 2024.**Quiz 2:**Wednesday March 20, 2024, in-class, closed book 3 pages of notes. Study Chapters 2, 3, and 4. The quiz will cover the following topics: Probability Rules, Discrete Random Variables, Binomial, Poisson, Hypergeometric, Geometric, Negative Binomial. Review Midterm 1 and Homework problems 3.17, 3.18.**Midterm 2:**Wednesday March 27, 2024, in-class, closed book 4 pages of notes. Study Chapters 2, 3, 4, and 5. The midterm will cover the following topics: Probability Rules, Probability Mass Functions, Expectation and Variance, Discrete Random Variables, Binomial, Poisson, Hypergeometric, Geometric, Negative Binomial, Continuous Random Variables, Uniform, Normal, Exponential, Central Limit Theorem.**Topics:**Continuous Random Variables, Normal, Uniform, Exponential, Central Limit Theorem.**Assignment:**Homework 8 and Homework 9 has been posted.**Assignment:**Quiz02 Take-home has been posted. Due Monday March 25, 2024.

**Week 9:**

**Class online:**Wednesday March 13 class online.**Dates:**Quiz02 is on Wednesday March 20, 2024. Midterm02 is on Wednesday March 27, 2024.**Topics:**Continuous Random Variables, Uniform, Normal.**Assignment:**Homework 7 has been posted.

**Week 8:**

**Topics:**Poisson, Hypergeometric, Geometric, and Negative Binomial.**Assignment:**Homework 6 due date has been extended until next week.

**Week 7:**

**Topics:**Go over Quiz solution, answer questions about Homework 5, answer questions about previous Homework assignments, further review for the Midterm.**Assignment:**Homework 6 has been posted.**Midterm:**Wednesday February 28, 2024, part in-class, part take-home. The in-class is closed book 4 pages of notes, take-home open book, use of the computer is allowed. Study Chapters 1, 2, and 3.**CHANGE OF PLANS**Please see Canvas and the email sent from the instructor yesterday. All of the Midterm will be take-home.

**Week 6:**

**Topics:**Expected Value, Variance, Standard Deviation, Bernoulli, Binomial, Geometric, Functions of Random Variables, Independent Random Variables.**Assignment:**Homework 5 has been posted.**Quiz 1:**Wednesday February 21, 2024, in-class, closed book 3 pages of notes. Study Chapters 1, 2, and the beginning of 3.**Midterm:**Wednesday February 28, 2024, part in-class, part take-home. The in-class is closed book 4 pages of notes, take-home open book, use of the computer is allowed. Study Chapters 1, 2, and 3.

**Week 5:**

**Tuesday iPad Problem:**Sorry about yesterday, it turns out there was a software update for the iPad that needed to be installed. I have re-written the notes from yesterday, please see the new link on the Jamboards page. The Bayes Problem is there and the notes from the start of the Random Vairables discusion. I have also added one handout displaying the PDF and CDF of the discrete random variable \(X = {\tt the\ sum\ of\ the\ dots\ on\ the\ two\ dice}\), see the Handouts page, Week05.**Book Errata:**I have started an Errata document to send to the authors of the book at the end of the semester. If you catch any mistakes please send me an email and I will add it to the list. Errata**Reminder:**On Mondays class is online on Zoom. See Canvas > Zoom for the link to the Zoom meeting.**Topics:**Random Variables, Discrete Random Variables, Probability Mass Function, Cumulative Distribution Function.**Assignments:**All homework problems have been notated with (“math” or “comp” or “math and comp”) to help focus on what problems should be done by hand in preparation for the quiz and midterm. The problems notated with “comp” are to help focus on what problems should be done on the computer in preparation for the take-home part of the midterm.**Assignment:**Homework 4 has been posted.

**Handouts:**bayes_problem.html, pmf_cdf_dice.R**Quiz 1:**Wednesday February 21, 2024, in-class, closed book 3 pages of notes**Midterm:**Wednesday February 28, 2024, part in-class, part take-home. in-class is closed book 4 pages of notes, take-home open book, use of the computer is allowed

**Week 4:**

**Reminder:**On Mondays class is online on Zoom. See Canvas > Zoom for the link to the Zoom meeting.**Topics:**Permutations, Combinations, Conditional Probability, Independence, Bayes’ Theorem, Law of Total Probability, Bayes’ Theorem. R code replications() and crossing().**Wikipedia:**Brute Force Birthday Attack collisions in hashing**Assignment:**Homework 3 has been posted.**Handouts:**bayes.R

**Week 3:**

**Reminder:**On Mondays class is online on Zoom. See Canvas > Zoom for the link to the Zoom meeting.**Topics:**Sample Space, Outcome, Event, Axioms of Probability, Counting Methods, Multiplication Rule, Classical Probability, Long-Run Relative Frequency, Simulation.**Assignment:**Homework 2 has been posted.**Handouts:**prog7.R**Reminder:**You should finish the assignment by the due date on the class website. You can ask questions that day and then fix anything that needs to be updated and submit by the end of the week. Does this make sense? I expect you to finish the homework by the due date, it would be best to turn it in soon after but no later then the date on Canvas. I want everyone to reflect on their work and finalize it after asking questions and letting me suggest some ideas if needed. And I do not want to be asked about extending the due date, as everyone has gotten 4 extra days to submit.

**Week 2:**

**CSU Faculty Strike:**No in person class Monday. Strike is over. We will meet Wednesday on campus.

**Classroom change:**We will now be meeting across the hall in SSc 204 on Wednesdays.**Announcement:**I have decided to use my university website to organize the class materials online, rather than posting the material in Canvas > Files. So we will begin each class on my university website. I will use Canvas to collect homework, post grades, and to post solutions to homework, quizzes, and exams. I will also use Canvas to post announcements.

**Topics:**We will go over the class syllabus again, how to download R and RStudio, we will go over the class survey and how to type comments into a .qmd Quarto Notebook, introduction to R code, R scripts vs R Quarto Notebooks, dataframes in R.**Assignment:**Homework 1 has been posted.**Handouts:**prog1.R through prog6.R

**Week 1:**

**Book:**Probability, Statistics, and Data: A Fresh Approach Using R**Assignment:**Homework 1 has been posted.**Spotlight Software:**