Welcome to STA 511

Lecture 1

Dr. Elijah Meyer

NC State University
ST 511 - Fall 2025

2025-08-18

Welcome

Goals for Day 1

Get organized

There is a lot of information today! The first week will be getting set up with everything

– Get to know the professor

– Get to know each other

– Course overview

– Access R + RStudio

– Register with GitHub

Who Am I?

 

Who Are You?

Please share with the class

– Name

– Major

– Year (Freshman, Sophomore, etc.)

– Why you are taking this course

– Anything else

Why Statistics?

Why Statistics?

– helps quantify uncertainty (fundamental for research)

– helps understand patterns and trends in data

– helps make informed decisions

Data literacy

Data Literacy

Data Literacy

Our Course

Our Classroom

– Community

– Communication

– Respect

Course objectives

– Learn to explore, visualize, and analyze data in a reproducible and shareable manner

– Gain experience in data wrangling, exploratory data analysis, predictive modeling, and data visualization

– Work on problems and case studies inspired by and based on real-world questions and data

– Learn to effectively communicate results through written assignments and final project presentation

Workflow & Websites

Moodle

ST 511 Website

Before Class

– Watch lecture content videos

– Complete any readings

Videos

During Class

– Download class activity (right before class)

  > link found on Moodle 
  
  > clone a GitHub repo for your activity

– Warm up question

– Mix of lecture and interaction

Other information

– You will use GitHub to download (clone) your assessments in this course. We will practice how to do this many times together as a class.

– We will use Gradescope to turn in assessments

– We will use Moodle for any class announcements, our Gradebook, and have a weekly discussion forum where we can ask questions + have a conversation about technology, content, etc.

Please bring your laptops if able

Activities and assessments

Homework: (Mostly) Individual assignments combining conceptual and computational skills.

Exams: Two exams (mix of take-home + in-class)

Quizzes: (Mostly) weekly quizzes over the in-class activities

Statistics Experience: Engage with statistics outside of the classroom and reflect on your experience (posted mid-semester)

Some of what you will learn

– Fundamentals of R

– Data visualization

– Version control with GitHub

– Reproducible reports with Quarto

– Regression

– Statistical inference

R - figures

R - figures

Analysis

Analysis

Why R and RStudio?

Because I want to empower you with skills and tools necessary to become practicing statisticians

R

Note

This is a new language

Mindset

Coding is hard…

– You are not meant to be an expert at any topic the first time you see it. That is why we have structured the course in a hybrid format

– Error messages are going to happen. Mistakes are going to happen… and it’s expected

– If you have questions, so do others. Please post them / email me!

R + RStudio

The goal is to be able to log in! Nothing more.

WorkBench

R + RStudio

WorkBench

Local Install

– Campus Computers

AI and LLMs

AI and LLMs

– We acknowledge that LLMs are an extremely powerful tool in coding. However, the purpose of this course is for you to learn the material, not simply produce.

– Many studies, including the most recent one from MIT, are discovering (not surprisingly) that those using LLMs are passively working with the material, and not actually learning.

– Because this is an introductory course and we want you to be set up for success in future courses / your job, the use of AI to answer questions is considered academic misconduct

AI and LLMs: Example

How many times does the letter “r” appear in strawberry?

AI and LLMs: Example

But this isn’t a big deal because you know how many r’s appear in strawberry….

AI and LLMs: Example

If you ask it to write code that:

– You are not familiar with

– And can’t debug

That isn’t a good way to learn….

AI and LLMs: Summary

You should become familiar with, and use AI….

Just not here when the goal is to learn

Questions?

More Tech: Version Control

Create a GitHub account (Why?)

GitHub, Inc., is an Internet hosting service for software development and version control.

– remote collaboration

– project management

keep track of changes to code / documents

GitHub

Create a GitHub account (Why?)

GitHub, Inc., is an Internet hosting service for software development and version control

What do students get out of using GitHub?

Besides saving the world….

– develop good habits as researchers

– emphasize the importance of reproducibility in science

– get experience using professional computing tools

Version control

Avoid this

Gain this

Register for GitHub

Create a GitHub account (Why?)

Create a GitHub account

Go to https://github.com/, and create an account (unless you already have one).

Some tips from Happy Git with R.

– Incorporate your actual name!

– Reuse your username from other contexts if you can, e. g., Twitter or Slack.

– Pick a username you will be comfortable revealing to your future boss.

– Be as unique as possible in as few characters as possible. Shorter is better than longer.

– Avoid words with special meaning in programming (e.g. NA).

GitHub information

Google Sheet

Joining the class org

Later today, you will receive an invite!

Joining the class org

Getting to know you survey

For Wednesday

– We’ll start talking about the computing toolkit

– Prepare for Wednesday

  > Look at the prepare material on the website 
  > Have accepted the GitHub organization invite

– Complete Getting to Know You Survey (by Friday)

Please bring laptop to class if able for next time!