What is this song?
(Discuss with your neighbour)
This is a course on introduction to data, modelling, and computing.
This is a course on introduction to data, modelling, and computing.
You can also think of it as introduction to data science or introduction to data analysis.
Q - What data analysis background does this course assume?
A - None.
Q - What data analysis background does this course assume?
A - None.
Q - Is this an intro stat course?
A - Statistics β data science. BUT they are closely related. This course is a great way to get started with statistics. But is not your typical high school statistics course.
Q - Will we be doing computing?
A - Yes.
Q - Will we be doing computing?
A - Yes.
Q - Is this an intro Computer Science course?
A - No, but there are some shared themes.
Q - What computing language will we learn?
A - R.
Q - What computing language will we learn?
A - R.
Q: Why not language X?
A: We can discuss that over β.
Taught as a lectorial (Lecture + Tutorial)
Taught as a lectorial (Lecture + Tutorial)
It is not recorded because you are doing work
About your instructors
naniar
, visdat
, #rstats
π€: Credibly Curious w Saskia Freytag03:00
The language of data analysis
This course is brought to you today by the letter "R"!
Grover image sourced from https://en.wikipedia.org/wiki/Grover.
R is a language for data analysis. If R seems a bit confusing, disorganized, and perhaps incoherent at times, in some ways that's because so is data analysis.
-- Roger Peng, 12/07/2018
R Consortium conducted a survey of users 2017.
These are the locations of respondents to an R Consortium survey conducted in 2017.
8% of R users are between 18-24 BUT 45% of R users are between 25-34!
ABS, CSIRO, ATO, Microsoft, Energy Qld, Auto and General, Bank of Qld, BHP, AEMO, Google, Flight Centre, Youi, Amadeus Investment Partners, Yahoo, Sydney Trains, Tennis Australia, Rio Tinto, Reserve Bank of Australia, PwC, Oracle, Netflix, NOAA Fisheries, NAB, Menulog, Macquarie Bank, Honeywell, Geoscience Australia, DFAT, DPI, CBA, Bank of Italy, Australian Red Cross Blood Service, Amazon, Bunnings.
--
--
--
Go to bit.ly/ask-nick to log in to RStudio cloud.
Log in with Google / GitHub / other credentials.
If you have questions, place a red sticky note on your laptop.
If you are done, place a green sticky on your laptop
This section is based on an exercise from data science in a box by Mine Γetinkaya-Rundel
unvotes.Rmd
. Open it, and then click on the "Knit" button.yaml
-- we'll talk about what this means later) and knit again.If you have questions or issues, place a sticky note on the laptop
Some of our best final projects:
What you need to learn
Data preparation accounts for about 80% of the work of data scientists
Data Preparation
The learning goals associated with this unit are to:
What could this image say about R?
03:00
If you feed a person a fish, they eat for a day. If you teach a person to fish, they eat for a lifetime.
Whatever I do in the data analysis that is shown to you during the class, you can do it, too.
You can use the rstudio cloud server.
In the future we will have R and Rstudio installed locally.
When this happens, you can use USB stick, attach to the borrowed laptop, and install R, RStudio and all your packages on this. Use can then use the USB stick as your working environment, with the borrowed laptop simply as the computing engine.
Assessment | Weight | Task |
---|---|---|
Reading Quiz | 5% | Complete prior to each class, for the first 8 weeks on ED. Quiz needs to be completed by class time. No mulligans. One can be missed without penalty. |
Lab Exercise | 5% | Each class period will have a quiz to be completed individually. Two can be missed without penalty. |
There is time at the end of class to complete lab exercise on ED:
Assessment | Weight | Task |
---|---|---|
Assignment | 12% | Teamwork, data analysis challenge, due in weeks 3, 5, 9 |
Mid-Sem Theory + Concept exam | 8% | Due week 6 |
Data Analysis Exam | 10% | Due week 11 |
Project | 10% | Due week 11 |
Final Exam | 50% | TBA |
Remember:
Remember:
All information is on the website π
Remember:
All information is on the website π
Post questions on ED over email
Ed System
DEMO
Error: could not find function "ggplot"
"Intent: Students from all diverse backgrounds and perspectives be well-served by this course, that students' learning needs be addressed both in and out of class, and that the diversity that the students bring to this class be viewed as a resource, strength and benefit. It is my intent to present materials and activities that are respectful of diversity: gender identity, sexuality, disability, age, socioeconomic status, ethnicity, race, nationality, religion, and culture. Let me know ways to improve the effectiveness of the course for you personally, or for other students or student groups.
If you have a name and/or set of pronouns that differ from those that appear in your official Monash records, please let me know!
If you feel like your performance in the class is being impacted by your experiences outside of class, please don't hesitate to come and talk with me. I want to be a resource for you. If you prefer to speak with someone outside of the course, talk to Di Cook, or look at the services available to you in the Monash student support services.
I (like many people) am still in the process of learning about diverse perspectives and identities. If something was said in class (by anyone) that made you feel uncomfortable, please talk to me about it.
Assignment 1 will be announced this Friday.
Conducted according to the Monash policies.
What we expect:
Each student will be randomly assigned another team's submission to provide feedback on three things:
R and RStudio
What is R/RStudio?
R is a statistical programming language
RStudio is a convenient interface for R (an integrated development environment, IDE)
What is R/RStudio?
If R were an airplane, RStudio would be the airport, providing many, many supporting services that make it easier for you, the pilot, to take off and go to awesome places. Sure, you can fly an airplane without an airport, but having those runways and supporting infrastructure is a game-changer
Let's take a tour - R / RStudio
DEMO
do_this(to_this)do_that(to_this, to_that, with_those)
do_this(to_this)do_that(to_this, to_that, with_those)
$
:dataframe$var_name
do_this(to_this)do_that(to_this, to_that, with_those)
$
:dataframe$var_name
install.packages
function and loaded with the library
function, once per session:install.packages("package_name")library(package_name)
Concepts introduced:
Check your knowledge and comprehension by taking your first lab quiz on Ed
Go to the ED page, and complete the lab quiz.
NOTE: Reading assignment on ED site due by 8am before Class on Friday
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
RStudio started a trend by writing really concise summaries, and others have added to the collection. You can find the RStudio collection in the "Help" menu on the IDE, and at https://www.rstudio.com/resources/cheatsheets/.
Start with the RStudio IDE cheatsheet.
What is this song?
(Discuss with your neighbour)
Keyboard shortcuts
β, β, Pg Up, k | Go to previous slide |
β, β, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
Esc | Back to slideshow |