End-to-End Data Science
- 65Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the central purpose of using data science tools in education?
To use technical tools to solve meaningful problems and improve outcomes for students, not merely to use the tools themselves.
Or swipe the card
65 cards
What is the central purpose of using data science tools in education?
To use technical tools to solve meaningful problems and improve outcomes for students, not merely to use the tools themselves.
Why should data scientists in education share their work with non-data scientists?
Sharing prevents isolation and creates opportunities to use data science tools to improve students' lives.
What should be identified before beginning a data analysis?
A useful and meaningful question.
What lesson follows from solving a technically impressive problem that matters to no one else?
Technical skill alone is insufficient; the problem must be relevant to others and connected to meaningful service.
What is the difference between bringing a hobby to work and being of service through data science?
A hobby solves problems that interest the analyst, whereas service solves problems that matter to others, especially students.
What is an example of an educational equity application of data science?
Using data to help school districts promote equity in special education and understand equity-related compliance.
What is R?
An open-source statistical programming language used for data analysis, visualization, and statistical modeling.
When and where was R developed?
Ross Ihaka and Robert Gentleman developed R at the University of Auckland in New Zealand in 1991.
What happened to R in 1995?
Ihaka and Gentleman made their version of the language open source.
What is RStudio?
A software application, or integrated development environment, used to write and manage R code.
What are R packages?
Add-on collections of tools that extend the capabilities of a base R installation.
How are most R packages developed?
They are developed by the R community.
What is the tidyverse?
A group of R packages that provides tools for tasks such as data preparation and visualization.
What is the purpose of the R package
here?It helps manage file paths and navigate a project's file structure more simply and reliably.
What is R Markdown?
A document format that combines narrative text, code, and analytical output such as graphics.
What does it mean to knit an R Markdown document?
To dynamically generate a report by running the document's code and combining the results with its narrative.
What kinds of content can an R Markdown report contain?
Narrative text, executable code, statistical results, tables, and graphics.
What word-processing features does R Markdown provide?
It supports editable text and features such as spell checking, similar to a word processor or document editor.
How does R differ from RStudio?
R is the programming language; RStudio is software used to write, manage, and share work written in R.
What analogy explains the relationship between R and RStudio?
R is like a spoken language used to express ideas, while RStudio is like a document editor used to write and share those ideas.
How can RStudio and R Markdown facilitate sharing an analysis?
They can render an analysis into formats such as a PDF, website, or GitHub-hosted project.
When might an analyst use a separate R script instead of putting all code in R Markdown?
When lengthy or complex preparation code would clutter the report or needs to be maintained separately.
What is a typical analytic workflow described in the demonstration?
Identify a question, import data, prepare the data, select a method, visualize, analyze, and share the results.
What planning question was examined in the example?
How many schools do school districts in San Diego County have on average, and how much does that number vary?
Why was publicly available enrollment data used in the example?
It provided information needed to estimate the number of schools in each district.
What does the R function
read_tsvdo?It imports a tab-separated values file into R.
What did the imported enrollment dataset contain?
It contained 131,616 rows and 23 columns covering counties and schools in California.
How does viewing data in R differ from viewing it in a spreadsheet?
The data is stored in R's environment and is not automatically displayed as a visible spreadsheet, so a viewing function or another inspection method is needed.
Why must publicly available datasets often be prepared before analysis?
They are designed for many possible research uses and may not be structured to answer a particular question directly.
What was the structure of the raw enrollment dataset?
Each row represented a unique combination of county, district, ethnicity, and gender rather than one individual school.
What data structure was needed to count schools by district?
One row per individual school.
What does the R function
filterdo?It keeps only rows that meet a specified condition.
Why was the enrollment dataset filtered to San Diego County?
The analysis focused specifically on the number of schools in districts within San Diego County.
What does the R function
distinctdo?It retains only unique combinations of the variables specified.
Why was uniqueness defined by the combination of district and school?
Because school names may repeat across different districts, so both district and school were needed to identify a unique school.
What was the result of filtering to San Diego and retaining distinct district–school combinations?
The prepared dataset contained 795 unique schools.
Why was the prepared dataset assigned a shorter name such as
SD?To make it easier to refer to the dataset repeatedly during the analysis.
What does the R function
countdo in this analysis?It counts how many rows belong to each value of a grouping variable.
Why was
districtcounted rather thanschool?Because each school appears once, while the number of times a district appears equals the number of schools in that district.
What did the district-level counts reveal before calculating summary statistics?
Districts did not have the same or even similar numbers of schools; San Diego Unified had substantially more than the next-largest districts.
Why was a visualization used after calculating district counts?
Visual comparisons make differences in magnitude easier to understand quickly.
Why was only the top group of districts visualized rather than all districts?
Displaying all roughly 50 districts could make the chart cluttered and difficult to interpret.
What does
min_rankdo?It ranks values within a dataset so observations can be selected by their relative position.
What is
ggplot2used for?Creating data visualizations in R.
How are visualizations constructed in
ggplot2?They are built by adding layers to a base plot.
What does
geom_baradd to aggplot2visualization?Bars representing values in the data.
Why was
reorderused in the bar chart?To arrange the district labels according to their school counts, making comparisons easier.
What does
coord_flipdo inggplot2?It flips the coordinate system so the bars are displayed horizontally.
What does the R function
summarisedo?It reduces data to summary statistics, often producing one row of results.
What does the R function
meancalculate?The arithmetic average of a set of values.
What does the R function
sdcalculate?The standard deviation of a set of values.
What was the average number of schools per district in the example?
Approximately 16 schools per district.
What was the standard deviation of school counts per district in the example?
Approximately 32 schools.
Why should the average of approximately 16 schools per district be interpreted cautiously?
Because school counts varied greatly across districts, so the average does not represent every district well.
What practical planning problem results from large variation in district size?
Buying the same quantity of materials for every district would leave some districts with too few materials and others with too many.
How could the difference between San Diego Unified and the next-largest district be described to a statistically knowledgeable audience?
The difference was about seven standard deviations.
What is a major advantage of using code for data analysis?
Scalability: the same analysis can be repeated across many datasets, years, regions, or reports.
How is coded analysis compared with a spreadsheet using the cookie analogy?
A spreadsheet is like giving someone finished cookies, while code provides both the finished product and the recipe.
How could the demonstrated code be applied across time?
It could be applied separately to ten years of data to examine how the average and standard deviation changed.
How could the demonstrated code be expanded geographically?
It could analyze the entire state or compare every county in the state rather than only San Diego County.
How can R Markdown support customized reporting?
It can generate separate reports for different counties using the same underlying analysis code.
Why might code be preferable to Excel for large or repeated analyses?
Code makes repeated, statewide, multi-year, and customized analyses easier to reproduce and scale.
When might a simple calculator or spreadsheet be a better choice than R?
When it is the most sensible and efficient tool for the specific task.
What is the purpose of exploratory analysis in an R Markdown workflow?
To investigate results interactively, follow emerging questions, and refine the analysis as new observations arise.
What is one advantage of writing code directly in an R Markdown document?
The analyst can run code chunks within the document while keeping the code, narrative, and results together.

Ask anything
We've read this whole study set, so questions about it get the best answers.