Wayne's Github Page

A place to learn about statistics

Learning Programming through Examples and Errors (for Non-programmers)

At this very moment, I only have notes for R. I will expand these to Python eventually.

What do you mean by teaching R via examples and errors?

The biggest challenge and annoyance for many non-programmers who want to learn programming is:

This is written to strike a balance for people who feel both problems. To achieve this, we will introduce the programming concepts that immediately benefit some data analysis. We will also introduce examples and errors that will help correct your misconceptions of the code. We will constantly ask you to predict/guess what would happen under a different scenario to deepen your understanding.

Specifically, we will focus on data wrangling and simulations (e.g. working with non-rectangular data, joins, for-loops) but will not focus on data structures and algorithms efficiencies (e.g. sorting, recursion, differences between long vs double).

My assumptions

My assumption is that you have been exposed to

Computer setting up

I encourage you to set up Jupyter Notebooks on your computer so you could learn R, Python, or Julia in the future.

Problems

What we won’t cover

What we won’t cover that you should learn in other computing courses: