Biostatistics and Data Science
- 72Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the primary purpose of exploratory data analysis (EDA)?
72 questions
- 1
What is the primary purpose of exploratory data analysis (EDA)?
Model answer
EDA focuses on discovering patterns, generating hypotheses, and understanding the structure and quality of data.
Explanation
EDA is used to investigate data before or alongside formal analysis so that researchers can identify trends, problems, and possible explanations.
- 2
How does confirmatory data analysis (CDA) differ from EDA?
Model answer
CDA focuses on formally testing hypotheses, making predictions, and drawing structured inferences, whereas EDA emphasizes discovery and hypothesis generation.
Explanation
EDA is generally more flexible and less structured, while CDA is more prescriptive, planned, and protocolized.
- 3
How do EDA and CDA differ in their treatment of error rates and uncertainty?
Model answer
Both consider error rates and uncertainty, but EDA usually handles them more loosely, whereas CDA uses formal procedures for controlling error and quantifying uncertainty.
Explanation
Exploration allows flexible investigation, while confirmation requires stricter inferential standards.
- 4
Why can EDA and CDA be compared to improvisational jazz and a symphony?
Model answer
EDA resembles improvisational jazz because it is flexible and free-form, whereas CDA resembles a symphony because it is planned, structured, and prescriptive.
Explanation
The comparison emphasizes the difference between exploratory flexibility and confirmatory organization.
- 5
Where would clinical trials and genomics generally fall on the EDA-CDA spectrum?
Model answer
Highly regulated clinical trials tend toward the confirmatory end, while high-throughput fields such as genomics tend to be more exploratory.
Explanation
Clinical trials are usually protocolized, whereas technological measurement fields often involve discovery and many possible patterns.
- 6
Why is the EDA-CDA distinction often more useful conceptually than practically?
Model answer
Most real analyses fall in a gray area between purely exploratory and purely confirmatory work rather than fitting neatly into one category.
Explanation
Analyses may combine hypothesis generation, modeling, formal inference, and prediction.
- 7
What alternative distinction may be more useful than the EDA-CDA dichotomy?
Model answer
A useful alternative is to distinguish strongly hypothesis-driven scientific studies from purely empirical studies.
Explanation
This distinction focuses on whether explicit scientific hypotheses drive the investigation.
- 8
What is p-hacking or a phishing expedition?
Model answer
It is conducting many exploratory analyses, finding a result, and presenting the final finding as though it had been the original hypothesis or only analysis.
Explanation
This practice hides the amount of searching that produced the result and can make chance findings appear confirmatory.
- 9
Why is it difficult to control error rates when the same data are used repeatedly for exploration and confirmation?
Model answer
Repeatedly searching the data increases the chance of finding a seemingly significant pattern by chance, so standard error-rate calculations no longer accurately reflect the analysis process.
Explanation
The more opportunities researchers create to find an association, the greater the risk of false-positive conclusions.
- 10
What is the central danger of presenting an exploratory result as confirmatory?
Model answer
It can bias scientific conclusions by making a chance or selectively discovered result appear to have been predicted in advance.
Explanation
Exploratory findings require appropriate qualification and, ideally, confirmation using new data or a separately planned analysis.
- 11
What are the major steps in an exploratory data analysis?
Model answer
The steps include reading in the data, understanding its variables, preprocessing it, checking dimensions and values, examining missing data, creating plots, and avoiding self-deception.
Explanation
These steps move from understanding and cleaning the data to visual investigation and critical interpretation.
- 12
Why should analysts check the dimensions of datasets before merging them?
Model answer
They should verify that the datasets have compatible dimensions and structures so that the merge does not misalign observations or variables.
Explanation
Dimension checks can reveal mismatched numbers of rows, columns, or other structural problems before analysis.
- 13
What should analysts examine when checking the values in a dataset?
Model answer
They should look for unusual, impossible, inconsistent, or otherwise erroneous values.
Explanation
Errant values can distort summaries, plots, models, and scientific conclusions.
- 14
What questions should be asked about missing data during EDA?
Model answer
Analysts should determine how missing data are coded, how much missingness exists, and whether the coding is consistent throughout the dataset.
Explanation
Missing-data problems can be hidden when different parts of a dataset use different codes or conventions.
- 15
Why are plots considered the cornerstone of EDA?
Model answer
Plots reveal patterns, relationships, outliers, missingness, and structure that may be missed in tables, numerical summaries, or written descriptions.
Explanation
Visual information can communicate complex features of a dataset quickly and make unexpected patterns easier to detect.
- 16
What is the purpose of the final 'do not fool yourself' stage of EDA?
Model answer
It requires analysts to question whether apparent findings are genuine, complete, unbiased, and supported by the available data.
Explanation
Exploration creates many opportunities for misleading patterns, confirmation bias, and chance discoveries.
- 17
Why is data wrangling considered an important part of analysis rather than work that occurs before analysis?
Model answer
Organizing data into a reliable, usable format is substantial analytical work and provides the foundation for valid subsequent analyses.
Explanation
A poorly structured dataset can make later modeling and visualization irrelevant or misleading.
- 18
What does it mean to organize data into a rectangle?
Model answer
It means arranging the data in a structured table with clearly defined rows, columns, and variables that can be readily used by analysis software.
Explanation
A rectangular format makes data easier to inspect, manipulate, visualize, and analyze reproducibly.
- 19
Why should analysts save the steps used to preprocess their data?
Model answer
Saving the steps makes the work reproducible, auditable, and easier to correct or repeat.
Explanation
Documented processing prevents analysts from losing track of how the final dataset was created.
- 20
How can version control support data preprocessing?
Model answer
A version control system records changes to data-processing code and documentation, allowing analysts to track, reproduce, and reverse modifications.
Explanation
Tools such as Git help preserve a history of the analytical workflow.
- 21
What characteristics should dataset column names have?
Model answer
Column names should use a sensible, consistent naming convention that is compatible with software and avoids spaces, quotation marks, and unusual symbols.
Explanation
Programming-friendly names reduce errors and make data manipulation easier.
- 22
Why should graphs and other presentation features be separated from a spreadsheet's basic data table?
Model answer
Keeping the data table separate from embedded graphs preserves a clean analytical dataset and prevents presentation elements from interfering with data processing.
Explanation
Copies or separate sheets can document derived analyses while leaving the basic data in a usable format.
- 23
Why should arbitrary numbers such as 888 or 999 not be used to represent missing values?
Model answer
Software may interpret those codes as real numerical observations, which can distort summaries, plots, and statistical models.
Explanation
Missing values should use a recognized missing-data representation rather than a valid-looking measurement.
- 24
What kinds of tools can support data wrangling in R?
Model answer
R packages such as
dplyr,tidyr,purrr, andstringrsupport common data-wrangling tasks.Explanation
These tools help users transform, organize, and manipulate data into analysis-ready structures.
- 25
What does the elephant and the blind men parable illustrate about data analysis?
Model answer
It illustrates that analysts see only partial aspects of a phenomenon through the data available to them, so individual findings may not provide a complete picture.
Explanation
A true observation from limited data can still be incomplete or misleading when treated as the whole truth.
- 26
What does 'shooting an arrow and painting a bull's eye around it' represent?
Model answer
It represents finding a pattern after searching the data and then pretending that the pattern was predicted or targeted in advance.
Explanation
This is a form of post hoc reasoning associated with confirmation bias and selective reporting.
- 27
What is the lesson of looking for a lost object under the lamppost because the light is better?
Model answer
Analysts may study the data that are easiest to access or visualize rather than the data needed to answer the actual research question.
Explanation
Convenience and visibility should not determine the scope of an investigation.
- 28
What does the jellybean example illustrate about multiplicity?
Model answer
If researchers test enough colors or relationships, some association will eventually appear significant by chance.
Explanation
Repeated searching through noise increases the probability of false findings.
- 29
How can limited data prevent an analysis from answering its intended question?
Model answer
If the available data do not measure the relevant variables or represent the necessary population and conditions, they cannot adequately answer the research question.
Explanation
EDA should begin by assessing whether the data are suitable for the question being asked.
- 30
Why can a true finding still fail to provide a complete scientific explanation?
Model answer
A true pattern may represent only one part of a complex phenomenon and may omit other relevant variables, mechanisms, or contradictory evidence.
Explanation
Correct observations do not automatically constitute a complete account of the underlying process.
- 31
What is confirmation bias in exploratory analysis?
Model answer
Confirmation bias is interpreting supportive patterns as discoveries while ignoring evidence that contradicts a preferred hypothesis.
Explanation
It causes analysts to treat exploration as if it had confirmed a prediction made beforehand.
- 32
Why are self-deception problems especially pronounced in EDA?
Model answer
EDA is flexible, involves many informal decisions and searches, and usually lacks the strict protocols and error-rate controls used in confirmatory analysis.
Explanation
The freedom that makes EDA useful also creates more opportunities for biased interpretation and chance findings.
- 33
Why can every sequential plotting decision be viewed as an informal hypothesis test?
Model answer
Each plot is used to inspect a possibility and make a decision about the data, so repeated plotting creates a sequence of informal tests and model choices.
Explanation
The multiplicity problems of formal testing can also arise through repeated visual exploration, even without explicit p-values.
- 34
How can permutation plots help address the problem of finding patterns in noise?
Model answer
They show patterns from randomly permuted data so that observed patterns can be compared with patterns that arise when the original relationships are absent.
Explanation
This provides a visual reference for judging whether an apparent feature is unusual or could commonly occur by chance.
- 35
What is a spaghetti plot, and what problem can it have?
Model answer
A spaghetti plot displays many individual trajectories, but excessive overplotting can turn the display into an unreadable mass.
Explanation
When numerous lines overlap, important trends and missing-data patterns may be obscured.
- 36
How can a heat map improve the visualization of dense longitudinal data?
Model answer
A heat map can display the full dataset in a compact color-coded form, making trends, group differences, and missing-data patterns easier to see.
Explanation
Heat maps can reduce the visual clutter caused by many overlapping trajectories.
- 37
What is the data-to-ink principle?
Model answer
A plot should devote as much of its visual content as possible to displaying meaningful data and as little as possible to decoration or redundant elements.
Explanation
A high data-to-ink ratio communicates more information with less visual clutter.
- 38
Why is a bar chart often less informative than a plot showing individual observations?
Model answer
A bar chart may display only group means, while an observation-level plot can also reveal variation, outliers, distribution, and overlap between groups.
Explanation
Reducing data to a few bars can conceal important features of the underlying dataset.
- 39
What does it mean to 'devote ink to data'?
Model answer
It means ensuring that visual elements such as lines, colors, and labels communicate useful information rather than unnecessary decoration.
Explanation
Backgrounds, redundant gridlines, and ornamental effects should not dominate the display.
- 40
Why should ordinary statistical plots generally avoid three-dimensional effects?
Model answer
Three-dimensional effects can create optical distortions, obscure values, and add visual complexity without adding information.
Explanation
The apparent size or position of graphical elements can change depending on the viewing angle.
- 41
When can logarithmic scales be especially useful?
Model answer
Logarithmic scales are useful when orders of magnitude are important or when the data span a very large range.
Explanation
Logging can spread out small values and make multiplicative differences and broad patterns visible.
- 42
What can happen when data spanning several orders of magnitude are plotted on an unlogged scale?
Model answer
Most observations may be compressed near zero, causing important variation among smaller values to disappear.
Explanation
A logarithmic transformation can reveal structure that an ordinary scale hides.
- 43
What information can a log mean-difference plot reveal for two measurements such as gene-expression levels?
Model answer
It can show the log ratio between the measurements against their average log level, revealing differences, spread, and how variability changes with average expression.
Explanation
This representation can reduce unnecessary empty space and display the bulk of the observations more clearly.
- 44
Why can an unlogged scatterplot give a misleading impression when most data lie in a small region?
Model answer
The plot may contain large areas of unused space and emphasize a small number of extreme observations while hiding the structure of most of the data.
Explanation
Transformations or alternative displays can make the central mass of observations easier to interpret.
- 45
What was the main visual lesson of the plot depicting Napoleon's invasion and retreat from Russia?
Model answer
A well-designed plot can combine geography, time, temperature, troop size, movement, and losses to communicate a complex historical process in a single display.
Explanation
The changing width represented troop numbers, while the route, temperature, and retreat showed the progression and catastrophic losses of the campaign.
- 46
What did Anscombe's quartet demonstrate?
Model answer
Datasets can have the same means, variances, correlation, regression slope, and related numerical summaries while having very different visual structures.
Explanation
Plotting the data can reveal curves, outliers, and unusual distributions that summary statistics conceal.
- 47
Why should residual plots be examined after fitting a regression model?
Model answer
Residual plots can reveal model problems, unusual observations, nonlinearity, and hidden structure that may not appear in regression coefficients or p-values.
Explanation
A model can appear statistically acceptable while its residuals contain important patterns or even recognizable shapes.
- 48
What is the purpose of labeling plot axes with measurement units?
Model answer
Axis labels and units clarify what is being measured and allow viewers to interpret the scale and magnitude correctly.
Explanation
Poorly labeled axes make otherwise informative plots difficult to understand.
- 49
How do exploratory plots differ from publication-ready plots?
Model answer
Exploratory plots are usually made quickly and in large numbers for personal or team understanding, whereas publication-ready plots receive more attention to final design and presentation.
Explanation
The primary goal of an exploratory plot is discovery, not polished communication to a final audience.
- 50
How should color and size generally be used in exploratory plots?
Model answer
They should primarily encode useful information rather than serve as decoration.
Explanation
Exploratory graphics prioritize understanding data features over aesthetic refinement.
- 51
Why can optical illusions cause problems in data visualization?
Model answer
Visual context can make equal sizes, positions, tones, or other features appear different, causing viewers to misinterpret the data.
Explanation
Human perception is not a perfectly accurate measurement system, especially when surrounding graphical elements influence judgment.
- 52
What are perceptual tasks in graph interpretation?
Model answer
Perceptual tasks are visual operations used to interpret a graph, such as comparing lengths, positions, angles, directions, areas, volumes, curvature, shading, or slopes.
Explanation
Studying these tasks helps explain which graphical forms people interpret accurately and which they interpret poorly.
- 53
Why are position comparisons on a common scale generally effective?
Model answer
They allow viewers to compare values as positions along the same reference scale, much like comparing locations on a ruler.
Explanation
Common-scale position judgments are usually more accurate than comparisons requiring mental transformations.
- 54
Why are comparisons between separated lengths more difficult than comparisons between adjacent lengths on a common scale?
Model answer
Separated lengths are not directly aligned, so viewers must mentally translate between locations before judging their relationship.
Explanation
Direct adjacency and a shared scale reduce the perceptual effort required for comparison.
- 55
Why are angle comparisons generally poor for judging quantities?
Model answer
People estimate angles less accurately than aligned positions or lengths, making angle-based displays difficult to compare precisely.
Explanation
This is one reason pie charts are often less effective than displays based on position or length.
- 56
Why are slope comparisons difficult for viewers?
Model answer
Estimating the ratio of two slopes requires a complex visual calculation, and the task becomes harder when the display is compressed, stretched, or oriented differently.
Explanation
Plots that rely on viewers comparing slopes place a substantial perceptual burden on the audience.
- 57
How can the physical scale of a scatterplot affect perceived correlation?
Model answer
Changing the plot's scale or aspect can cause viewers to estimate the same correlation differently, even though the data have not changed.
Explanation
Visual judgments of association depend partly on how the relationship is displayed rather than only on the underlying values.
- 58
At what approximate correlation levels did viewers have the most difficulty visually estimating correlation?
Model answer
Viewers tended to be least accurate for moderate correlations, roughly around 0.5 to 0.7, rather than for correlations near zero or one.
Explanation
Near-zero and near-perfect relationships are easier to recognize visually, while intermediate relationships are more difficult to judge precisely.
- 59
Can people learn to judge statistical relationships from plots more accurately?
Model answer
Yes. Although people may initially perform poorly, training can improve their ability to infer relationships or significance from plots.
Explanation
Instruction and practice can reduce some of the limitations of unaided visual interpretation.
- 60
Why should multiple related plots use common scales whenever possible?
Model answer
Common scales make comparisons direct and prevent viewers from having to mentally translate between different units or ranges.
Explanation
Different scales can make visually similar or different patterns appear misleadingly comparable.
- 61
Why does adding a third dimension usually reduce a viewer's ability to interpret a plot?
Model answer
It introduces perspective and occlusion that can distort perceived size, position, and separation without providing useful information.
Explanation
Three-dimensional graphics often make ordinary comparisons harder even when the underlying data are two-dimensional.
- 62
What is an important exception to the general rule against three-dimensional plots?
Model answer
Three-dimensional displays may be appropriate when the data or object being represented is genuinely three-dimensional, such as brain-imaging data.
Explanation
The extra dimension should communicate real structure rather than merely add visual decoration.
- 63
What is the main purpose of interactive graphics in EDA?
Model answer
Interactive graphics allow users to explore data by changing views or controls such as sliders, buttons, or dialog boxes.
Explanation
Interactivity can support deeper investigation of complex or high-dimensional datasets.
- 64
How can a plotting system that requires tidy data improve EDA?
Model answer
It encourages analysts to preprocess and organize the data carefully before creating plots, reducing confusion and plotting errors.
Explanation
A clean data structure makes the plotting process more systematic and reproducible.
- 65
What is the role of regression in exploratory data analysis?
Model answer
Regression can be used exploratorily to investigate relationships, add potential confounders, check model behavior, and generate hypotheses.
Explanation
The same statistical method can serve exploratory or confirmatory purposes depending on how it is used.
- 66
How can clustering and dimension reduction be used in EDA?
Model answer
They can help reveal structure, groupings, or lower-dimensional patterns in complex data and thereby generate hypotheses.
Explanation
These methods are exploratory when used to investigate patterns rather than to test a prespecified claim formally.
- 67
What broad criterion can be used to classify an analysis as EDA?
Model answer
An analysis is exploratory when it involves flexible, hypothesis-generating investigation in which the analyst searches for trends and develops ideas during the process.
Explanation
The classification depends more on the purpose and style of analysis than on the specific statistical technique used.
- 68
What is the difference between statistical significance and practical confidence in EDA?
Model answer
Analysts should neither treat every apparent pattern as meaningful nor dismiss all patterns as noise; they need evidence-based judgment that avoids both false positives and excessive skepticism.
Explanation
The goal is a balanced assessment rather than automatic acceptance or rejection of exploratory findings.
- 69
How can preprocessing errors reverse the apparent direction of an effect?
Model answer
Incorrect values, coding errors, or mishandled missing data can change the data used in the analysis and make an effect appear to point in the opposite direction.
Explanation
Errors such as recording a measurement as 2,000 instead of 200 can substantially distort results.
- 70
Why should analysts use model diagnostics in addition to plots?
Model answer
Diagnostics can identify influential observations and problematic cases that affect fitted models, complementing visual checks of the data and residuals.
Explanation
Measures such as DFFITS and DFBETAS can help detect observations that strongly influence predictions or coefficients.
- 71
Why should analysts inspect data before writing conclusions or presenting results?
Model answer
Early inspection can reveal coding errors, missing-data problems, outliers, or reversed effects before they become embedded in the analysis and interpretation.
Explanation
Checking the data early prevents substantial work from being built on invalid inputs.
- 72
Why might discovery-oriented research devote a larger share of its effort to EDA than a mature, hypothesis-driven field?
Model answer
Discovery research begins with less-defined questions and must search for patterns, whereas mature fields often have established hypotheses and more clearly specified datasets.
Explanation
The balance between exploration and confirmation depends strongly on the scientific setting and the maturity of its knowledge base.

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