Biostatistics and Data Science
- 82Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is exploratory data analysis (EDA)?
A flexible approach to discovering patterns, generating hypotheses, and understanding data.
Or swipe the card
82 cards
What is exploratory data analysis (EDA)?
A flexible approach to discovering patterns, generating hypotheses, and understanding data.
What is confirmatory data analysis (CDA)?
An approach focused on formally evaluating hypotheses, making inferences, and producing predictions.
How do EDA and CDA differ in their treatment of error rates and uncertainty?
EDA still considers error rates and uncertainty, but usually controls and quantifies them more loosely than CDA.
How do EDA and CDA differ in structure?
EDA is relatively free-form and improvisational, whereas CDA is more prescriptive, planned, and protocolized.
Can EDA and CDA use the same statistical methods?
Yes. The difference is primarily how the methods are used and how structured the analysis is.
Where do clinical trials generally fall on the EDA–CDA spectrum?
Toward the highly formal and prescriptive CDA end, especially in regulated drug development.
Where does genomics generally fall on the EDA–CDA spectrum?
Toward the more exploratory end because high-throughput technological measurements generate many possible patterns.
Why can the EDA–CDA distinction be more useful conceptually than practically?
Most analyses combine exploratory and confirmatory elements rather than fitting neatly into one category.
What alternative distinction may be more useful than the EDA–CDA dichotomy?
Whether research is driven by strongly specified scientific hypotheses or is primarily empirical and exploratory.
What broad activity can count as EDA regardless of the statistical technique used?
A free-flowing process of looking for trends, probing the data, and developing hypotheses on the fly.
What are the major steps in an exploratory data analysis workflow?
Read in the data, understand its structure, preprocess it, inspect dimensions and values, examine missingness, create plots, and avoid self-deception.
What should you determine after reading data into a software package?
What the columns represent and how the dataset is organized.
Why should dataset dimensions be checked during preprocessing?
To ensure that the data have the expected size and that multiple datasets can be combined correctly.
What should you look for when inspecting data values?
Unexpected, impossible, or otherwise anomalous values.
What is the purpose of making tables during EDA?
To inspect distributions and identify incorrectly entered or otherwise problematic values.
What questions should be asked about missing data?
How missingness is coded, how much missing data exists, and whether the coding is consistent.
What does
NAcommonly represent in a dataset?Missing data.
Why are plots considered the cornerstone of EDA?
They reveal patterns, anomalies, and relationships that may be difficult to detect from tables, numerical summaries, or prose.
What does the instruction “do not fool yourself” mean in EDA?
Remain alert to data limitations, bias, chance findings, multiplicity, and misleading visual impressions.
What is the recommended general goal for organizing data during preprocessing?
Get the data into a clean rectangular format.
Why should data wrangling be treated as real research work?
Organizing and cleaning data creates the foundation on which valid analysis depends.
Why should preprocessing steps be saved?
Saving the steps supports reproducibility, auditing, correction, and later reuse.
What is the role of version control in data preparation?
It records changes to analysis and preprocessing files so that work can be reproduced and tracked.
What naming conventions should be used for data columns?
Use sensible, consistent names that are convenient for software and avoid spaces, quotation marks, and unusual symbols.
How should spreadsheets be structured for analysis?
Keep the basic data format separate from embedded graphs and other presentation elements.
How should spreadsheet copies and analysis outputs be handled?
Create separate copies, record how each copy was created, and place graphs or related outputs on separate sheets.
Why should numbers such as 888 or 999 not be used to represent missing values?
Software may interpret them as genuine numerical measurements, distorting summaries and analyses.
What kinds of tools support data wrangling in R?
Packages such as
dplyr,tidyr,purrr, andstringrsupport different data-wrangling tasks.What is p-hacking or a phishing expedition?
Performing extensive exploration, finding a promising result, and presenting it as though it had been a prespecified confirmatory analysis.
Why does using the same data for extensive hypothesis generation and final confirmation create a problem?
Repeated searching increases the chance of finding patterns by chance, making formal error-rate control unreliable.
What is the central lesson of the elephant-and-blind-men parable for data analysis?
A researcher sees only part of reality through the data available and should recognize the incompleteness of that perspective.
What does the bullseye-painting parable illustrate?
Finding a pattern after searching and then pretending that it was the original target or hypothesis.
What does the drunk-under-the-lamppost parable illustrate?
Looking only where the data are convenient or visible rather than where the answer is most likely to be found.
What is multiplicity in exploratory analysis?
Repeatedly searching across hypotheses, variables, subgroups, or patterns until something appears significant.
What does the green-jelly-bean example demonstrate?
If enough comparisons are tested, a spurious association will eventually appear noteworthy.
How can confirmation bias affect EDA?
Researchers may emphasize findings that support an expected idea while ignoring evidence that contradicts it.
How can limitations in the data mislead an analysis?
The data may not contain the measurements or coverage needed to answer the research question.
Why are false findings especially concerning in EDA?
EDA is often less protocolized and has looser error-rate control, making chance patterns easier to overinterpret.
What is the purpose of a heat map for longitudinal data?
To display patterns across subjects and time in a way that can reveal trends and missing-data structures.
What problem do heat maps help solve when compared with spaghetti plots?
They reduce the visual obstruction caused by severe overplotting.
What are lasagna plots?
Heat-map-like visualizations that display longitudinal observations in organized rows to reveal patterns across subjects or measurements.
What additional organization is often important when creating a lasagna plot?
Sorting or organizing the rows so that patterns become easier to detect.
What does the French invasion of Russia visualization encode?
The troops’ geographic route, direction of movement, troop counts, breakaway groups, retreat, and temperature over time.
How does the width of the French invasion visualization represent information?
The width represents the number of troops at a given point in the campaign.
What historical pattern is highlighted by the French invasion visualization?
The French force declined from roughly 422,000 troops to about 10,000 during the campaign and retreat.
What does Anscombe’s quartet demonstrate?
Datasets can have nearly identical numerical summaries but dramatically different visual structures.
What distinct patterns can appear in Anscombe’s quartet despite identical summaries?
A noisy linear relationship, a parabolic curve, a line driven by an outlier, and a nearly constant predictor with one extreme point.
Why are residual plots important in regression?
They can reveal structure, outliers, or systematic patterns that are hidden by regression coefficients and p-values.
What does the Bob Dylan residual example demonstrate?
A regression model’s residuals can contain a recognizable hidden pattern that would be missed without plotting them.
What is the data-to-ink principle?
Use visual ink primarily to communicate meaningful data and information rather than decoration or unnecessary structure.
Why is a point-based treatment-versus-control plot often preferable to a bar chart?
It shows the full data distribution while also displaying group summaries, whereas a bar chart may show only two means.
What is a common criticism of bar charts for displaying group comparisons?
They may use substantial visual space to display only group means and conceal the underlying data.
What is the general recommendation about using 3-D in ordinary plots?
Avoid it because it can introduce optical illusions and reduce the accuracy with which values are perceived.
When can 3-D visualization be appropriate?
When the object itself is inherently three-dimensional and the extra dimension is used carefully to convey information.
When should logarithmic scales be considered?
When differences across orders of magnitude are important.
Why can an unlogged plot be misleading for data spanning many orders of magnitude?
Most observations may be compressed into a small region, hiding meaningful variation among them.
What does a log-ratio mean-difference plot show?
The log ratio between two measurements against their average log expression or level.
What is the danger of plotting only a small visible portion of the data?
Important patterns or conclusions may be based on a minority of observations while most of the data are ignored.
What is the primary purpose of exploratory plots?
Personal or team understanding during rapid investigation, rather than polished publication design.
What information should generally be included on plot axes?
Clear variable labels and, when possible, the units of measurement.
How are color and size primarily used in exploratory plots?
To communicate information rather than merely improve visual appearance.
Why can visual perception mislead researchers during EDA?
Humans are inclined to perceive patterns even when none exist, and context can distort judgments of size, tone, and relationships.
What are perceptual tasks in statistical graphics?
Basic visual comparisons such as judging lengths, angles, positions, directions, areas, volumes, curvature, shading, and slopes.
Which graphical comparison is generally easiest for people?
Comparing positions on a common scale, similar to locating values on the same ruler.
Which graphical comparison is generally difficult for people?
Comparing angles, areas, volumes, or slopes, especially when the elements are separated or displayed on different scales.
Why are pie charts difficult to interpret accurately?
They require viewers to compare angles or areas, which people judge relatively poorly.
Why should plots use common scales whenever possible?
Different scales force viewers to mentally translate values, making comparisons more difficult and error-prone.
How does plot scale affect perceived correlation?
People may judge the same correlation differently when the plot is zoomed or displayed at a different scale.
Can people learn to judge statistical relationships from plots more accurately?
Yes. Training can improve their ability to estimate relationships and significance from graphical displays.
Why are repeated plot inspections informal hypothesis tests?
Each plot can prompt a decision about a pattern, after which another plot is made to investigate further.
What is the purpose of plotting permuted data alongside observed data?
To provide a visual reference for judging whether the observed pattern is stronger than patterns produced by chance.
What is the danger of reacting to every apparent pattern in a plot?
Some patterns may be random, and repeated searching makes false discoveries more likely.
What software does the lecture recommend for practical EDA in R?
Roger Peng’s practical EDA materials and R tools such as base R and
ggplot.What is
ggplotbased on?The grammar of graphics, a framework for constructing plots from data and graphical components.
How does
ggplotencourage good preprocessing?It works best when data are cleaned and organized into a suitable format before plotting.
Are specialized software tools required for useful EDA graphics?
No. Most major statistical programs have adequate graphics capabilities; the analytical principles matter more than the specific tool.
What are interactive graphics?
Plots that let users manipulate views or settings through controls such as sliders, buttons, or dialog boxes.
What tools can be used to create interactive graphics?
PlotlyandShinyare examples, whileD3is a powerful JavaScript-based option.What roles can regression and clustering play in EDA?
They can help identify relationships, assess confounding, search for structure, and generate hypotheses.
Can dimension reduction and variable searches be considered EDA?
Yes, when they are used to explore patterns and generate hypotheses rather than to confirm a prespecified claim.
What diagnostics can help identify influential or erroneous observations in regression?
Diagnostics such as DFFITS and DFBETAS can help identify observations that strongly affect model results.
What kinds of preprocessing errors can reverse an apparent scientific conclusion?
Incorrect missing-value codes, impossible or mistyped measurements, and other data-entry or transformation errors.

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