# A tibble: 2 × 3
section mean_change se_change
<chr> <dbl> <dbl>
1 A 5.25 0.479
2 B 5 0.707
Important
Programming knowledge helps you detect code that is syntactically valid but statistically wrong.
From Producing Syntax to Supervising a Workflow
Before AI: Write, run, debug, and interpret the code.
With AI: Specify, generate, inspect, test, challenge, revise, and interpret the code.
Programming knowledge helps you distinguish a useful draft from a convincing mistake.
Warning
Faster code does not guarantee a better research question, better data, or a valid conclusion.
Part 2: Statistical Judgment in the AI Era
Do You Still Need to Learn Statistics?
The Short Answer: Yes—Perhaps More Than Before
AI can calculate statistics and generate plausible explanations, but it should not independently decide:
Whether the research question is meaningful
Whether variables measure the intended constructs
Whether the data support the conclusion
Whether model assumptions are reasonable
Whether association is being mistaken for causation
Whether uncertainty is adequately represented
Whether the analysis is fair, ethical, and generalizable
Statistical Judgment Is Still Central
What is the research question?
How were the constructs measured?
How were the data generated or collected?
Which assumptions are reasonable?
What evidence would change our conclusion?
To which population or setting can we generalize?
Prediction Is Not Explanation
A model may predict accurately without explaining why an outcome occurs.
Association does not establish causation.
A plausible explanation produced by AI is not empirical evidence.
The purpose of the analysis should guide model choice and interpretation.
Uncertainty Does Not Disappear
Sampling variability
Measurement error
Missing data
Model uncertainty
Distribution shift
Human and algorithmic bias
NoteGuiding Question
How should uncertainty be communicated when an AI system presents a single confident answer?
Why Statistical Thinking Matters More Than Ever
Six Questions for Statistical Thinking
Question: What exactly are we trying to learn?
Measurement: What do the variables actually represent?
Data generation: Where did the data come from?
Variation: How much uncertainty is present?
Evidence: What conclusions do the data support?
Validation: How do we know the result is trustworthy?
Task Execution and Statistical Judgment
Stage
AI can help with
Human judgment remains essential for
Research question
Brainstorming and refinement
Meaning, purpose, and context
Data preparation
Generating and explaining code
Data quality, measurement, and provenance
Modeling
Suggesting models and producing syntax
Appropriateness, assumptions, and design
Interpretation
Drafting explanations
Evidence, uncertainty, and causal limits
Communication
Editing and formatting
Accuracy, transparency, and accountability
A Different Prompt Can Change the Conclusion
Prompt A: Separate outcomes
Compare the intervention and control groups separately on reading, mathematics, and science scores.
Likely analysis: three univariate ANOVAs
Target: three outcome-specific mean differences
Concern: multiplicity across tests
Prompt B: Joint outcome profile
Test whether the groups differ in their joint profile of correlated reading, mathematics, and science scores. Use MANOVA and plan justified follow-up analyses.
Likely analysis: an omnibus MANOVA
Target: the multivariate mean vector
Uses covariance among the outcomes
Important
The data and outcomes are the same, but the hypotheses are not. Separate ANOVAs test marginal outcome differences; MANOVA tests the joint mean profile. Their inferential conclusions can differ.
Ask: Does the research question concern individual outcomes or the overall multivariate profile?
A Bridge to This Course
Throughout the semester, we will ask:
What multivariate structure is present in the data?
How can that structure be represented by a statistical model?
What assumptions make the representation meaningful?
How should we validate and interpret the result?
Part 3: Responsible Practice and Verification
Responsible AI-Assisted Statistical Practice
From Tool User to Critical Supervisor
The statistician’s role is changing—not disappearing. Working responsibly with AI requires us to direct the task, evaluate the output, and remain accountable for the result.
Common Failure Modes
Fabricated references, data, or results
Incorrect but convincing code
Data leakage and overfitting
Unexamined bias in data or models
Disclosure of private or sensitive data
Irreproducible analyses
Confident interpretations that exceed the evidence
A Verification Loop
Specify the research question, data, and desired output.
Generate a draft with AI assistance when appropriate.
Inspect the code, assumptions, and intermediate results.
Verify important claims using documentation, diagnostics, and independent reasoning.
Revise the analysis and document human decisions.
Report AI assistance transparently when required.
Applying the Verification Loop
Activity: Trust, but Verify
Working in small groups, evaluate an AI-generated statistical response.
Identify the research question and proposed analysis.
List the assumptions the response makes.
Find claims that require verification.
Decide what information or diagnostics are missing.
Revise the response into a defensible analysis plan.
Tip
An example AI-generated analysis will be added after we select the activity dataset and statistical problem.
Closing Discussion
Which statistical skills become more important in the AI era?
Which routine tasks are likely to change?
What should never be delegated without verification?
How can AI support learning without replacing thinking?
Takeaways
AI can accelerate statistical learning, programming, analysis, and communication.
Programming is shifting from syntax memorization toward code literacy, inspection, and supervision.
Statistical knowledge is necessary for judging whether AI-generated work is meaningful and defensible.
Research design, measurement, uncertainty, validation, and interpretation remain central.
Productive AI use requires a deliberate cycle of generation, inspection, and verification.
Next Steps
Refine the lecture subsections and their relative emphasis.
Select a short case study or dataset for the audit activity.
Decide whether to include a live AI demonstration.