1. Home
  2. Explore
  3. Statistics
  4. Biostatistics and Data Science

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Biostatistics and Data Science

  • 63Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: EDA Foundations

What is the primary goal of exploratory data analysis (EDA)?

63 questions

  1. 1

    What is the primary goal of exploratory data analysis (EDA)?

    1. A

      Confirming a prespecified hypothesis with formal tests

    2. B

      Producing a final report with publication-ready graphics

    3. C

      Discovering patterns and generating hypotheses

    4. D

      Estimating only the parameters required by a protocol

    Correct answer
    C

    Discovering patterns and generating hypotheses

    Explanation

    EDA emphasizes discovery, pattern finding, and hypothesis generation rather than formal confirmation of prespecified hypotheses.

  2. 2

    What is the primary emphasis of confirmatory data analysis (CDA)?

    1. A

      Exploring many possible patterns without a fixed plan

    2. B

      Confirming hypotheses through formal inference and prediction

    3. C

      Reformatting raw data into a rectangular structure

    4. D

      Identifying unusual values before analysis begins

    Correct answer
    B

    Confirming hypotheses through formal inference and prediction

    Explanation

    CDA is generally more prescriptive and focuses on formal inference and prediction techniques.

  3. 3

    Which statement best describes the difference between EDA and CDA?

    1. A

      EDA and CDA always use completely different statistical methods

    2. B

      EDA avoids uncertainty quantification, whereas CDA always includes it

    3. C

      EDA is more free-form, whereas CDA is more structured and planned

    4. D

      EDA is used only for small datasets, whereas CDA is used for large datasets

    Correct answer
    C

    EDA is more free-form, whereas CDA is more structured and planned

    Explanation

    The same methods may be used in both approaches, but EDA is generally less structured and more exploratory than CDA.

  4. 4

    How does EDA generally handle error rates and uncertainty quantification?

    1. A

      It controls them more loosely than confirmatory analysis

    2. B

      It replaces them entirely with visual inspection

    3. C

      It controls them more strictly than regulated clinical trials

    4. D

      It ignores both error rates and uncertainty

    Correct answer
    A

    It controls them more loosely than confirmatory analysis

    Explanation

    EDA still considers error and uncertainty, but usually in a less formal and less tightly controlled manner.

  5. 5

    Which research setting was described as especially prescriptive and protocolized?

    1. A

      Exploratory neuroimaging studies

    2. B

      Unsupervised clustering investigations

    3. C

      Highly regulated clinical trials

    4. D

      High-throughput genomics studies

    Correct answer
    C

    Highly regulated clinical trials

    Explanation

    Clinical trials, particularly in drug development, were described as highly protocolized and formal.

  6. 6

    Why is the EDA-versus-CDA distinction often more useful conceptually than practically?

    1. A

      Neither approach can use statistical models

    2. B

      EDA and CDA cannot be used in the same research project

    3. C

      The distinction applies only to clinical trials

    4. D

      Most real analyses fall somewhere between the two extremes

    Correct answer
    D

    Most real analyses fall somewhere between the two extremes

    Explanation

    Many analyses occupy a gray zone between highly exploratory and highly confirmatory work.

  7. 7

    What alternative distinction was suggested as potentially more useful than the EDA-CDA dichotomy?

    1. A

      Whether analysis is conducted in R or Python

    2. B

      Whether research is hypothesis-driven or purely empirical

    3. C

      Whether data are numerical or categorical

    4. D

      Whether a study uses one dataset or several datasets

    Correct answer
    B

    Whether research is hypothesis-driven or purely empirical

    Explanation

    The lecture proposed distinguishing strongly hypothesis-driven research from purely empirical studies.

  8. 8

    What is p-hacking or a phishing expedition in the context of data analysis?

    1. A

      Using a password to protect an analysis script

    2. B

      Transforming variables before fitting a regression model

    3. C

      Removing all observations with missing values

    4. D

      Conducting many exploratory analyses and presenting one finding as if it were prespecified

    Correct answer
    D

    Conducting many exploratory analyses and presenting one finding as if it were prespecified

    Explanation

    P-hacking involves searching through many analyses or patterns and reporting a selected result as though it had been the original confirmatory target.

  9. 9

    Why does using the same data extensively for hypothesis generation make later confirmation difficult?

    1. A

      Repeated searching increases the difficulty of controlling error rates on that data

    2. B

      Repeated searching guarantees that all detected associations are false

    3. C

      Exploration prevents researchers from calculating descriptive statistics

    4. D

      Exploration reduces the number of variables in the dataset

    Correct answer
    A

    Repeated searching increases the difficulty of controlling error rates on that data

    Explanation

    The more extensively data are searched for possible findings, the harder it becomes to maintain valid error-rate control for a final analysis using the same data.

  10. 10

    Which scientific problem is illustrated by presenting a chance finding as though it had been predicted in advance?

    1. A

      Randomization

    2. B

      Measurement invariance

    3. C

      Confirmation bias

    4. D

      Data normalization

    Correct answer
    C

    Confirmation bias

    Explanation

    Confirmation bias can involve treating a discovered pattern as if it had been the original expectation while ignoring contradictory evidence.

  11. 11

    What is the first step in a typical exploratory data analysis workflow?

    1. A

      Fit a final regression model

    2. B

      Publish the most visually striking plot

    3. C

      Read the data into the analysis environment

    4. D

      Delete all observations with unusual values

    Correct answer
    C

    Read the data into the analysis environment

    Explanation

    The workflow begins by reading the data, followed by understanding its structure and contents.

  12. 12

    After reading a dataset, what should an analyst determine about its columns?

    1. A

      Only whether they have equal means

    2. B

      Whether every column should be converted to a factor

    3. C

      Which columns produce the smallest p-values

    4. D

      What the columns represent and how they are structured

    Correct answer
    D

    What the columns represent and how they are structured

    Explanation

    Understanding the meaning and structure of the columns is an essential early step in EDA.

  13. 13

    Why should dimensions be checked when multiple datasets will be merged?

    1. A

      To ensure that the datasets are compatible for combining

    2. B

      To guarantee that every variable has a normal distribution

    3. C

      To eliminate the need for missing-data checks

    4. D

      To make all values identical before merging

    Correct answer
    A

    To ensure that the datasets are compatible for combining

    Explanation

    Checking dimensions helps determine whether datasets have compatible sizes and structures before they are combined.

  14. 14

    Which task is part of examining the values in a dataset?

    1. A

      Ignoring values until after publication

    2. B

      Assuming all values are correctly recorded

    3. C

      Checking for implausible or unusual values

    4. D

      Replacing every extreme value with the mean

    Correct answer
    C

    Checking for implausible or unusual values

    Explanation

    Analysts should inspect values and look for errors, unusual entries, and other problems before modeling.

  15. 15

    Why are tables useful during exploratory data analysis?

    1. A

      They automatically establish causal relationships

    2. B

      They ensure that missing data are missing at random

    3. C

      They eliminate the need for visualization

    4. D

      They help identify malformed or suspicious values

    Correct answer
    D

    They help identify malformed or suspicious values

    Explanation

    Tables can help analysts inspect distributions and hunt for values that appear incorrect or inconsistent.

  16. 16

    In the lecture, what does the notation NA commonly represent?

    1. A

      A normally distributed observation

    2. B

      A normalized average

    3. C

      A nonparametric analysis

    4. D

      A missing observation

    Correct answer
    D

    A missing observation

    Explanation

    NA is commonly used to code missing data.

  17. 17

    Which set of questions is most appropriate when investigating missing data?

    1. A

      Whether missing values should always be replaced by zero

    2. B

      Whether every missing value represents the same substantive condition

    3. C

      How much is missing, how it is coded, and whether coding is consistent

    4. D

      Whether missingness can be ignored in graphical analysis

    Correct answer
    C

    How much is missing, how it is coded, and whether coding is consistent

    Explanation

    EDA should examine the amount, coding, and consistency of missing data.

  18. 18

    Why are plots described as the cornerstone of EDA?

    1. A

      They eliminate the need to understand the data collection process

    2. B

      They always provide formal hypothesis tests

    3. C

      They guarantee that visual conclusions are unbiased

    4. D

      They can reveal patterns and structures that summaries may conceal

    Correct answer
    D

    They can reveal patterns and structures that summaries may conceal

    Explanation

    Plots often reveal trends, missingness, outliers, and other structures that tables or numerical summaries may miss.

  19. 19

    What is the purpose of the final workflow reminder, 'don't fool yourself'?

    1. A

      To recognize and guard against misleading patterns and analytical biases

    2. B

      To prevent analysts from inspecting their data repeatedly

    3. C

      To ensure that every analysis confirms the initial hypothesis

    4. D

      To avoid using any statistical models

    Correct answer
    A

    To recognize and guard against misleading patterns and analytical biases

    Explanation

    EDA creates many opportunities for misleading patterns, so analysts must actively check whether their conclusions are trustworthy.

  20. 20

    What does the recommendation to get data into a rectangle generally mean?

    1. A

      Use only square plots for data visualization

    2. B

      Store each observation in a separate spreadsheet file

    3. C

      Organize data in a regular tabular structure suitable for analysis

    4. D

      Convert every variable into a geometric coordinate

    Correct answer
    C

    Organize data in a regular tabular structure suitable for analysis

    Explanation

    A rectangular structure places observations and variables into a consistent tabular format that software can process reliably.

  21. 21

    Why should data-wrangling work be treated as a substantial part of analysis?

    1. A

      It is mainly cosmetic and does not affect results

    2. B

      It establishes a foundation that strongly affects later analyses

    3. C

      It is useful only when preparing data for publication

    4. D

      It replaces the need for statistical reasoning

    Correct answer
    B

    It establishes a foundation that strongly affects later analyses

    Explanation

    Organizing and cleaning data is important analytical work because errors in the foundation can invalidate later results.

  22. 22

    Why should analysts save the steps used during data preparation?

    1. A

      To avoid checking whether transformations changed the data

    2. B

      To ensure that every analysis uses undocumented decisions

    3. C

      To make the dataset impossible for others to inspect

    4. D

      To support reproducibility and allow the process to be reviewed

    Correct answer
    D

    To support reproducibility and allow the process to be reviewed

    Explanation

    Saving preparation steps helps others reproduce the analysis and helps the analyst audit earlier decisions.

  23. 23

    What is the main purpose of using a version-control system such as Git during data preparation?

    1. A

      To automatically correct every data-entry error

    2. B

      To convert rectangular data into graphical data

    3. C

      To track changes and support reproducible work

    4. D

      To replace the need for data documentation

    Correct answer
    C

    To track changes and support reproducible work

    Explanation

    Version control records changes to files and supports reproducible, traceable analysis workflows.

  24. 24

    Which column name is most consistent with the recommended naming practices?

    1. A

      patient weight

    2. B

      patient'weight

    3. C

      patient-weight!

    4. D

      patient_weight

    Correct answer
    D

    patient_weight

    Explanation

    Names such as patient_weight avoid spaces, quotation marks, and unusual symbols that can cause problems in software.

  25. 25

    Why should special symbols and spaces generally be avoided in column names?

    1. A

      They make every statistical model nonlinear

    2. B

      They automatically create missing observations

    3. C

      They can make names harder for software and code to handle

    4. D

      They prevent variables from having numerical values

    Correct answer
    C

    They can make names harder for software and code to handle

    Explanation

    Simple, programmer-friendly naming conventions improve compatibility with analysis software and code.

  26. 26

    What is a recommended practice when using spreadsheets for data analysis?

    1. A

      Use formatting colors as substitutes for missing-value codes

    2. B

      Place graphs inside cells containing raw measurements

    3. C

      Keep embedded graphs separate from the basic data table

    4. D

      Overwrite the original dataset after every transformation

    Correct answer
    C

    Keep embedded graphs separate from the basic data table

    Explanation

    Basic data should be kept separate from graphs and other presentation features so that the data remain clean and usable.

  27. 27

    Why is coding missing values as 888 or 999 risky?

    1. A

      Software may interpret those codes as legitimate numerical observations

    2. B

      They automatically cause all variables to become categorical

    3. C

      Those values cannot be stored in spreadsheet files

    4. D

      They prevent analysts from calculating any descriptive statistics

    Correct answer
    A

    Software may interpret those codes as legitimate numerical observations

    Explanation

    If software does not recognize the code as missing, it may treat it as a real number and distort the analysis.

  28. 28

    Which example best illustrates a preprocessing error that could reverse an apparent scientific conclusion?

    1. A

      Recording a variable name with an underscore

    2. B

      Recording a weight of 200200200 pounds as 2,0002{,}0002,000 pounds

    3. C

      Saving a copy of the original dataset

    4. D

      Sorting rows by subject identifier

    Correct answer
    B

    Recording a weight of 200200200 pounds as 2,0002{,}0002,000 pounds

    Explanation

    A major data-entry error, such as recording 2,0002{,}0002,000 instead of 200200200, can substantially distort estimates and reverse conclusions.

  29. 29

    What is the central warning illustrated by the parable of the blind men and the elephant?

    1. A

      Visual data are always more reliable than numerical data

    2. B

      A limited view of data may produce an incomplete understanding

    3. C

      Every observation provides a complete description of the population

    4. D

      Researchers should analyze only one variable at a time

    Correct answer
    B

    A limited view of data may produce an incomplete understanding

    Explanation

    Each person observed only part of the elephant, illustrating how partial data can lead to incomplete interpretations.

  30. 30

    What does 'shooting an arrow and painting a bull's eye around it' represent?

    1. A

      Choosing an appropriate target before collecting data

    2. B

      Treating a discovered result as though it had been predicted beforehand

    3. C

      Removing an outlier that lies far from the target

    4. D

      Using a confidence interval to estimate uncertainty

    Correct answer
    B

    Treating a discovered result as though it had been predicted beforehand

    Explanation

    The metaphor describes finding a pattern first and then pretending that it was the original hypothesis.

  31. 31

    What is the lesson of looking for a lost object under a lamppost because the light is better?

    1. A

      Researchers should avoid using visualizations at night

    2. B

      The most accessible variables are always the most important variables

    3. C

      Better lighting always improves the validity of measurements

    4. D

      Analysts may study what is convenient rather than what is scientifically relevant

    Correct answer
    D

    Analysts may study what is convenient rather than what is scientifically relevant

    Explanation

    The metaphor warns against restricting attention to data that are easy to observe while ignoring the information needed to answer the question.

  32. 32

    What does the colored-jellybean example illustrate?

    1. A

      Testing one hypothesis eliminates multiplicity concerns

    2. B

      Repeatedly testing possibilities can produce chance associations

    3. C

      A significant association always establishes causation

    4. D

      Color should never be used in a scientific plot

    Correct answer
    B

    Repeatedly testing possibilities can produce chance associations

    Explanation

    Searching many possible associations increases the chance of finding at least one apparently interesting result by chance.

  33. 33

    What is multiplicity in exploratory analysis?

    1. A

      Combining several datasets into a rectangular table

    2. B

      Conducting many searches or tests and eventually finding an apparent effect

    3. C

      Measuring one outcome with several instruments

    4. D

      Using multiple colors to represent one variable

    Correct answer
    B

    Conducting many searches or tests and eventually finding an apparent effect

    Explanation

    Multiplicity refers to the problem created by repeatedly looking for patterns or testing many possibilities.

  34. 34

    Why are false findings particularly concerning in EDA?

    1. A

      EDA requires every result to be statistically significant

    2. B

      EDA often involves flexible searching without strict prespecified error control

    3. C

      EDA never uses numerical data

    4. D

      EDA prevents researchers from examining alternative hypotheses

    Correct answer
    B

    EDA often involves flexible searching without strict prespecified error control

    Explanation

    Flexible exploration can produce chance findings, especially when formal error-rate control is not prespecified.

  35. 35

    What is the main purpose of a residual plot in regression analysis?

    1. A

      To replace the need for checking the original data

    2. B

      To guarantee that all predictors are causally related to the outcome

    3. C

      To reveal patterns or problems not apparent from model coefficients alone

    4. D

      To transform every residual into a normally distributed value

    Correct answer
    C

    To reveal patterns or problems not apparent from model coefficients alone

    Explanation

    Residual plots can reveal structure, outliers, or unusual patterns that a regression summary may hide.

  36. 36

    What is the data-to-ink principle intended to maximize?

    1. A

      The visual complexity of a plot for publication

    2. B

      The number of graphical elements regardless of their meaning

    3. C

      The amount of useful information displayed relative to visual decoration

    4. D

      The amount of color used in every figure

    Correct answer
    C

    The amount of useful information displayed relative to visual decoration

    Explanation

    The principle recommends devoting graphical ink primarily to displaying informative data rather than unnecessary decoration.

  37. 37

    Why can a point-and-interval plot be more informative than a bar chart showing two means?

    1. A

      It removes all variation from the observations

    2. B

      It always proves that the group means differ significantly

    3. C

      It can display the individual data and uncertainty rather than only the means

    4. D

      It uses more decorative elements to emphasize the result

    Correct answer
    C

    It can display the individual data and uncertainty rather than only the means

    Explanation

    A point-and-interval plot can show the distribution or individual observations along with summary information, whereas a simple bar chart may show only two means.

  38. 38

    What is the general recommendation about using three-dimensional graphics for ordinary plots?

    1. A

      Use them whenever a plot contains more than two variables

    2. B

      Avoid all two-dimensional plots in favor of three-dimensional displays

    3. C

      Avoid them because they can obscure information and create optical illusions

    4. D

      Use them because depth always improves quantitative comparisons

    Correct answer
    C

    Avoid them because they can obscure information and create optical illusions

    Explanation

    For ordinary plots, three-dimensional effects often add visual distortion without adding useful information.

  39. 39

    When is applying a logarithmic transformation especially useful in a plot?

    1. A

      When differences in orders of magnitude are important

    2. B

      When variables contain only nominal categories

    3. C

      When all measurements are exactly equal

    4. D

      When the goal is to hide extreme values from the viewer

    Correct answer
    A

    When differences in orders of magnitude are important

    Explanation

    Log scales make patterns across several orders of magnitude easier to see.

  40. 40

    What problem can occur when data spanning several orders of magnitude are plotted on an unlogged scale?

    1. A

      The logarithm of every value will be displayed instead

    2. B

      All observations will automatically become normally distributed

    3. C

      Most observations may be compressed near zero and become difficult to distinguish

    4. D

      The plot will show only relative rankings and no numerical values

    Correct answer
    C

    Most observations may be compressed near zero and become difficult to distinguish

    Explanation

    On an unlogged scale, large values can dominate the axis and compress most observations into a visually uninformative region.

  41. 41

    What is one benefit of a log-ratio mean-difference plot for gene-expression data?

    1. A

      It can spread the data more usefully and reveal variation in relative expression

    2. B

      It removes the need to measure either gene-expression level

    3. C

      It displays only the largest one percent of observations

    4. D

      It guarantees that every gene has the same variance

    Correct answer
    A

    It can spread the data more usefully and reveal variation in relative expression

    Explanation

    Log-ratio mean-difference plots emphasize relative changes and can reveal patterns that are obscured on an untransformed scale.

  42. 42

    What is a typical purpose of an exploratory plot?

    1. A

      To help the analyst or team understand the data during investigation

    2. B

      To replace all written descriptions of the research question

    3. C

      To conceal intermediate analytical decisions

    4. D

      To serve immediately as a finalized publication figure

    Correct answer
    A

    To help the analyst or team understand the data during investigation

    Explanation

    Exploratory plots are usually made quickly and primarily support personal or team understanding during analysis.

  43. 43

    What labeling practice generally improves the interpretability of an exploratory plot?

    1. A

      Labeling axes and including measurement units

    2. B

      Using symbols without defining their meanings

    3. C

      Leaving units implicit so the figure looks simpler

    4. D

      Removing tick marks from every axis

    Correct answer
    A

    Labeling axes and including measurement units

    Explanation

    Clear axis labels and measurement units help viewers understand what quantities are being displayed.

  44. 44

    How should color and size generally be used in exploratory graphics?

    1. A

      Only to distinguish statistically significant results

    2. B

      To replace axis labels and measurement units

    3. C

      Primarily to convey information rather than decoration

    4. D

      Primarily to make the plot visually impressive

    Correct answer
    C

    Primarily to convey information rather than decoration

    Explanation

    In exploratory graphics, visual properties such as color and size should communicate data-related information.

  45. 45

    What does an optical illusion involving surrounding circles demonstrate about graphical perception?

    1. A

      Larger plotted objects are always objectively larger

    2. B

      Context can make equal objects appear to have different sizes

    3. C

      People always estimate areas more accurately than positions

    4. D

      Surrounding objects have no effect on visual judgments

    Correct answer
    B

    Context can make equal objects appear to have different sizes

    Explanation

    Visual context can bias perception, causing identical objects to appear different in size.

  46. 46

    What lesson does the optical illusion involving two identical gray squares demonstrate?

    1. A

      Surrounding colors and shadows can alter perceived tone

    2. B

      Color perception is independent of visual context

    3. C

      The darker square must have a lower numerical value

    4. D

      Gray is unsuitable for all scientific graphics

    Correct answer
    A

    Surrounding colors and shadows can alter perceived tone

    Explanation

    Identical tones can appear different because surrounding colors and shadows influence perception.

  47. 47

    Why can repeatedly making plots and decisions create statistical concerns?

    1. A

      Visual inspection automatically controls the false discovery rate

    2. B

      Each decision can function like an informal hypothesis test

    3. C

      Repeated plotting makes all observations independent

    4. D

      Plots prevent any form of model fitting

    Correct answer
    B

    Each decision can function like an informal hypothesis test

    Explanation

    Repeated visual choices and interpretations can act like informal hypothesis tests and introduce multiplicity concerns.

  48. 48

    Which perceptual comparison is generally easiest for people according to the lecture?

    1. A

      Comparing angles in a pie chart

    2. B

      Comparing positions on a common scale

    3. C

      Comparing slopes after the graph has been vertically compressed

    4. D

      Comparing volumes of three-dimensional objects

    Correct answer
    B

    Comparing positions on a common scale

    Explanation

    People tend to compare positions on a common scale relatively well, similar to comparing locations on a ruler.

  49. 49

    Which perceptual comparison is generally difficult for people?

    1. A

      Comparing aligned positions

    2. B

      Comparing angles

    3. C

      Identifying whether two points share an axis

    4. D

      Reading a value from a common axis

    Correct answer
    B

    Comparing angles

    Explanation

    Angle comparisons are relatively difficult, which is one reason pie charts can be hard to interpret accurately.

  50. 50

    Why can comparing slopes in a plot be challenging?

    1. A

      Viewers must estimate a ratio of changes in two directions

    2. B

      Slopes are always independent of graph scale

    3. C

      Slope comparisons require no visual judgment

    4. D

      All plotted lines have identical slopes after rescaling

    Correct answer
    A

    Viewers must estimate a ratio of changes in two directions

    Explanation

    Comparing slopes requires viewers to judge ratios of changes, and the task becomes harder when the display is compressed or reoriented.

  51. 51

    How can changing the scale of a scatterplot affect viewers' judgments?

    1. A

      The plot becomes immune to optical illusions

    2. B

      Changing the scale removes all random variation

    3. C

      Viewers may perceive different correlation strengths even when the data are unchanged

    4. D

      The numerical correlation necessarily changes whenever the plot is resized

    Correct answer
    C

    Viewers may perceive different correlation strengths even when the data are unchanged

    Explanation

    Visual estimates of correlation can depend strongly on the arbitrary scale and aspect ratio used to display the same data.

  52. 52

    What did training demonstrate in studies of judging correlation significance from scatterplots?

    1. A

      Only people with advanced mathematics degrees could improve

    2. B

      People's performance could improve with appropriate training

    3. C

      People could never learn to interpret scatterplots

    4. D

      Training made all visual estimates perfectly accurate

    Correct answer
    B

    People's performance could improve with appropriate training

    Explanation

    Although people initially struggled with some visual inference tasks, training improved their ability to make those judgments.

  53. 53

    What is the purpose of permuting data and plotting the permuted versions?

    1. A

      To increase the sample size without collecting observations

    2. B

      To provide a visual reference for judging whether an observed pattern could arise by chance

    3. C

      To replace all formal hypothesis tests with randomization

    4. D

      To guarantee that the original data contain no associations

    Correct answer
    B

    To provide a visual reference for judging whether an observed pattern could arise by chance

    Explanation

    Plots of permuted data can help create a visual null distribution for assessing whether an observed pattern is unusual.

  54. 54

    Which software package was recommended as a practical resource for exploratory data analysis in R?

    1. A

      A programming guide focused only on JavaScript animation

    2. B

      Roger Peng's Exploratory Data Analysis with R

    3. C

      A manual focused only on clinical-trial regulation

    4. D

      A text devoted exclusively to database security

    Correct answer
    B

    Roger Peng's Exploratory Data Analysis with R

    Explanation

    Roger Peng's book and course were described as practical, how-to resources for EDA in R.

  55. 55

    Which book was described as a foundational or classic source for exploratory data analysis?

    1. A

      A handbook devoted only to spreadsheet formatting

    2. B

      A manual describing only three-dimensional computer graphics

    3. C

      John Tukey's book on exploratory data analysis

    4. D

      A guide focused exclusively on clinical-trial registration

    Correct answer
    C

    John Tukey's book on exploratory data analysis

    Explanation

    John Tukey's work was described as a classic foundational source for EDA.

  56. 56

    Which group of R packages was associated with data wrangling?

    1. A

      DFFITS, DFBETAS, MRI, and EEG

    2. B

      ggplot, Shiny, Plotly, and D3

    3. C

      Git, Excel, PubMed, and Coursera

    4. D

      dplyr, tidyr, purrr, and stringr

    Correct answer
    D

    dplyr, tidyr, purrr, and stringr

    Explanation

    The lecture identified packages such as dplyr, tidyr, purrr, and stringr as tools supporting data wrangling in R.

  57. 57

    What does ggplot refer to in the R ecosystem?

    1. A

      An implementation of the grammar of graphics

    2. B

      A diagnostic test for influential regression points

    3. C

      A version-control system for analysis scripts

    4. D

      A tool used only for missing-value imputation

    Correct answer
    A

    An implementation of the grammar of graphics

    Explanation

    ggplot implements ideas from the grammar-of-graphics approach to constructing plots.

  58. 58

    Why can using ggplot encourage better preprocessing?

    1. A

      It prevents users from creating exploratory plots

    2. B

      It works best when data have first been organized into a clean format

    3. C

      It requires all variables to be transformed to logarithms

    4. D

      It automatically detects and corrects every data-entry error

    Correct answer
    B

    It works best when data have first been organized into a clean format

    Explanation

    The plotting system's structure encourages users to organize and clean their data before creating graphics.

  59. 59

    What is an interactive graphic?

    1. A

      A plot that cannot be changed after it is created

    2. B

      A graphic that allows viewers to manipulate or explore the display

    3. C

      A static figure containing only numerical tables

    4. D

      A chart that uses three dimensions regardless of the data

    Correct answer
    B

    A graphic that allows viewers to manipulate or explore the display

    Explanation

    Interactive graphics may include sliders, buttons, or dialog boxes that let viewers explore the visualization.

  60. 60

    Which tools were given as examples for creating interactive graphics?

    1. A

      Tidyr and stringr

    2. B

      NA and CSV

    3. C

      Git and DFFITS

    4. D

      Plotly and Shiny

    Correct answer
    D

    Plotly and Shiny

    Explanation

    Plotly and Shiny were identified as practical tools for interactive graphics, while D3 was described as a powerful but more programming-intensive option.

  61. 61

    Which additional analytical methods can be part of EDA?

    1. A

      Only formal clinical-trial procedures

    2. B

      Only bar charts and pie charts

    3. C

      Only data-entry and spreadsheet formatting

    4. D

      Regression, clustering, and dimension reduction

    Correct answer
    D

    Regression, clustering, and dimension reduction

    Explanation

    EDA can include statistical modeling tools such as regression, clustering, and dimension reduction when they are used for discovery and hypothesis generation.

  62. 62

    When can regression be considered exploratory rather than confirmatory?

    1. A

      When it is used without inspecting residuals or predictors

    2. B

      When it is used to investigate trends, assess confounders, and develop hypotheses

    3. C

      When it produces a statistically significant coefficient

    4. D

      When it is used only after all hypotheses have been formally preregistered

    Correct answer
    B

    When it is used to investigate trends, assess confounders, and develop hypotheses

    Explanation

    The same regression method can be exploratory when it is used flexibly to investigate patterns and refine hypotheses.

  63. 63

    Which diagnostic tools were mentioned for identifying influential or problematic observations in regression?

    1. A

      NA and CSV

    2. B

      Plotly and Shiny

    3. C

      Dplyr and tidyr

    4. D

      DFFITS and DFBETAS

    Correct answer
    D

    DFFITS and DFBETAS

    Explanation

    DFFITS and DFBETAS were cited as regression diagnostics that can help identify influential observations or problematic values.

Question 1 of 63
Question 1 of 63

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent