R Programming Language Certification Communication & Stakeholder Relations 2 — Questions and Answers
Question 1: A data analyst needs to share a reproducible analysis with a non-technical client. Which R tool is most appropriate for bundling code, output, and narrative into a single document?
- R Markdown (Correct answer)
- R Script (.R file)
- RData file
- CSV export
Correct answer: R Markdown
R Markdown combines code, narrative text, and output into a single reproducible document that can be rendered as HTML, PDF, or Word for clients.
Question 2: When presenting a regression model to a business executive, which approach best communicates the practical significance of a predictor?
- Report the coefficient in original units with a real-world example (Correct answer)
- Report the raw p-value only
- Show the model matrix
- Print the full lm() summary output
Correct answer: Report the coefficient in original units with a real-world example
Translating coefficients into real-world terms (e.g., 'each additional $1,000 in ad spend yields 12 more units sold') makes statistical results actionable for executives.
Question 3: A stakeholder asks why two analysts got different results from the same dataset. Which R practice would have prevented this discrepancy?
- Setting a shared random seed with set.seed() (Correct answer)
- Using different IDEs
- Running analyses on separate machines
- Using base R instead of tidyverse
Correct answer: Setting a shared random seed with set.seed()
set.seed() ensures that any random processes (sampling, cross-validation splits, etc.) produce identical results across sessions and analysts.
Question 4: Which ggplot2 element is most important to customize when producing a chart for a colorblind stakeholder audience?
- Color palette using scale_color_brewer() or viridis (Correct answer)
- The theme font size
- The plot background color
- The legend title
Correct answer: Color palette using scale_color_brewer() or viridis
Colorblind-safe palettes like viridis or ColorBrewer's 'Set2' ensure all audience members can distinguish data series regardless of color vision deficiency.
Question 5: A project manager wants weekly auto-updated reports without manually re-running R scripts. Which solution best addresses this need?
- Scheduled rmarkdown::render() calls via cron or Task Scheduler (Correct answer)
- Emailing a static PDF each week manually
- Saving plots as PNG files
- Writing results to a text file
Correct answer: Scheduled rmarkdown::render() calls via cron or Task Scheduler
Automating rmarkdown::render() on a schedule produces fresh, reproducible reports without manual intervention, meeting the stakeholder's recurring need.
Question 6: When a stakeholder challenges a finding because the sample size 'seems small,' what is the most effective R-based communication strategy?
- Present power analysis results and confidence intervals to justify the sample adequacy (Correct answer)
- Increase the sample size without analysis
- Remove outliers to make results more convincing
- Switch to a different statistical test
Correct answer: Present power analysis results and confidence intervals to justify the sample adequacy
A power analysis demonstrates that the sample was sufficient to detect a meaningful effect, while confidence intervals show the precision of estimates.
Question 7: A client wants an interactive dashboard to explore sales data without coding. Which R package is the standard solution?
- Shiny (Correct answer)
- knitr
- lubridate
- stringr
Correct answer: Shiny
Shiny allows R developers to build interactive web applications that non-technical users can operate through point-and-click interfaces.
A data analyst needs to share a reproducible analysis with a non-technical client.
Which R tool is most appropriate for bundling code, output, and narrative into a single document?