Skip to content
Learn Netverks

Lesson

Step 26/36 72% through track

hypothesis-testing-intro

Hypothesis testing introduction

Last reviewed Jun 1, 2026 Content v20260601
Track mode
server_script
Means
Server runner
Reading
~1 min
Level
advanced

This lesson

An orientation to the R track—how the compiled playground works, core vocabulary, and what you will practice next.

You need a clear map of the R track so vectors, data frames, factors, and the tidyverse mindset do not feel like magic.

You will apply Hypothesis testing introduction in contexts like: A/B tests, regression reports, and biostatistical publications.

Write R in the editor and click Run on server—the dev runner executes with Rscript; use print() or cat() and base R in playground snippets (tidyverse locally; LEARNING_RUNNER_ENABLED=true). Also read the interview prep blocks.

After basic programming and ideally SQL—pair with Python for ML-heavy roles or stay in R for stats and research pipelines.

Classical tests live in base R—t.test(), prop.test(), chisq.test(). Understand null/alternative hypotheses, p-values, and assumptions before trusting output.

t-test example

group_a <- c(88, 90, 85, 92)
group_b <- c(78, 80, 82, 79)
print(t.test(group_a, group_b))

Interpretation cautions

  • p-value is not effect size
  • Check normality/sample size assumptions
  • Pre-register analysis plans in regulated industries

Important interview questions and answers

  1. Q: p-value meaning?
    A: Probability of observing data at least this extreme if the null hypothesis were true—NOT P(null is true).
  2. Q: t.test variants?
    A: One-sample, two-sample, paired—match design to test function.

Self-check

  1. What function runs a two-sample t-test?
  2. Why is p-value not effect size?

Pitfall: p-values without effect sizes and CIs leave business questions unanswered.

Interview prep

p-value misuse?

Not probability null is true; not effect size; not business significance alone.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs on the configured server runner (dev: npm run runner with LEARNING_RUNNER_ENABLED=true). Output appears below the editor.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • t.test assumptions?
  • p-value misuse?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump