Skip to content

cclairela/2024

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

STAT 2255: Statistical Programming

<2024-08-26 Mon> - <2024-12-06 Fri>

1 Course Information

  • Time and Location
    • Time: TuTh 9:30AM-10:45AM
    • Location: AUST 344
  • Instructor: HaiYing (Ben) Wang
    • Office Hours: TuTh 11:00AM - 12:00PM, Aust 319, or by appointment
    • Email: haiying.wang@uconn.edu
    • GitHub: Ossifragus
  • Grader: Riyanka Bhowal
    • Email: dvk24005@uconn.edu
  • Notes: will be posted on this GitHub repo: https://github.com/stat2255/2024.

    Students should “watch” this repository to receive notifications for any updates. It is highly recommended that students “fork” this repository and make “pull requests”. Course materials such as notes and source code files will be posted at this repository.

  • Prerequisite: MATH 1132Q, or instructor consent.

2 Course objectives

Introduction to statistical programming via Python including data types, control flow, object-oriented programming, and graphical user interface-driven applications such as Jupyter notebooks. Emphasis on algorithmic thinking, efficient implementation of different data structures, control and data abstraction, file processing, and data analysis and visualization.

3 About Generative AI

Be careful when using generative AI such as ChatGPT, CoPilot, and Gemini. They can be helpful for checking your code or explaining codes you don’t understand, but they should not be relied upon to generate your code. It’s crucial to fully understand the code you write and be able to code without access to generative AI.

4 Python

An easy way to setup Python is to use conda by installing miniconda or anaconda. Here is are some comparisons between the two distribution anaconda vs miniconda.

5 Grading

CategoryWeight
Homework30%
Midterm30%
Final40%

6 Exams

The midterm exam will be held in class on Thursday, and the final exam will be held at UConn scheduled date. They are closed book and closed notes. No Make-up Exams! The following is tentative exam schedule.

  • Midterm (Tentative): <2024-10-10 Thu>, in class.
  • Final: TBA

7 Homework:

Unless stated, homework should be submitted through HuskyCT. Homework submissions must contains a .pdf file along with source code in .ipynb, .md, or .py format.

Late submissions within the 2-day grace period will only be worth 50% - 95% of the points. Submissions beyond 2 days will not be graded and will receive no credit. No homework grade will be dropped.

7.1 Generate pdf files

You need pandoc and xelatex to export pdf files from jupyter book.

7.1.1 Install pandoc and xelatex

  • Download and install pandoc here. Choose the .pkg version for Mac and the .msi version for Windows.
  • Download and install MiKTeX (better with Windows) or MacTeX (Mac only).
  • You may need to restart your anaconda prompt and/or shell for the two newly installed software to work.
  • With MiKTeX the fist time you export a pdf file, you need to wait for a while, because it needs to fetch necessary packages online.

7.1.2 A temp ad-hoc solution – print the webpage

Be sure to adjust the width of your browser to make the pdf print look better.

8 Material coverage (subject to change)

  1. Virtual Environment, Markdown (maybe Git and GitHub)
  2. Object Types and Statements
  3. Modules
  4. Numpy
  5. Object-Oriented Programming
  6. Testing and Exception Handling
  7. Running Time Analysis
  8. Root Finding
  9. Pandas
  10. Data Visualization and Hypothesis Testing
  11. Random Variable Generation

9 References

  1. Devroye, Luc. (2013). Non-Uniform Random Variate Generation. Springer-Verlag.
  2. Lutz, Mark. (2013). Learning Python: Powerful Object-Oriented Programming. United States: O’Reilly Media.
  3. McKinney, Wes. (2013). Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython. O’Reilly Media. ISBN: 9789351100065.
  4. Sheehy, Donald R. (2022). A First Course on Data Structures in Python.

9.1 Two quick reference cards

9.2 Python exercises with sample solutions

9.3 Python Tutor

10 Academic Integrity

A fundamental tenet of all educational institutions is academic honesty; academic work depends upon respect for and acknowledgement of the research and ideas of others. Misrepresenting someone else’s work as one’s own is a serious offense in any academic setting and it will not be condoned. Academic misconduct includes, but is not limited to, providing or receiving assistance in a manner not authorized by the instructor in the creation of work to be submitted for academic evaluation (e.g. papers, projects, and examinations); any attempt to influence improperly (e.g. bribery, threats) any member of the faculty, staff, or administration of the University in any matter pertaining to academics or research; presenting, as one’s own,the ideas or words of another for academic evaluation; doing unauthorized academic work for which another person will receive credit or be evaluated; and presenting the same or substantially the same papers or projects in two or more courses without the explicit permission of the instructors involved. A student who knowingly assists another student in committing an act of academic misconduct shall be equally accountable for the violation, and shall be subject to the sanctions and other remedies described in The Student Code.

11 Support Services

12 Disclaimer

The instructor reserves the right to make changes to the syllabus as necessitated by circumstances.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%