Lesson
16 of 18
Translate

🥸Testing of Hypothesis

Null and alternative hypothesis, Type I and Type II errors, degrees of freedom, level of significance, critical values, and step-by-step testing procedure

A fertiliser company claims its new product increases wheat yield by 20%. An agronomist tests it on 30 plots and finds a 15% increase. Is the difference between the claimed 20% and the observed 15% real, or could it simply be due to natural plot-to-plot variation? Hypothesis testing provides the systematic framework to answer such questions — it is the backbone of statistical inference in agricultural research.


Testing of Hypothesis
Testing of Hypothesis

Why Do We Need Hypothesis Testing?

  • Sample estimates rarely equal the true population value due to inherent variation.
  • Different samples yield different estimates. We must verify whether the difference between a sample estimate and the population value is due to sampling fluctuation or a real difference.
  • If the difference is due to sampling fluctuation alone, the sample belongs to the population. If the difference is real, the sample may not belong to that population.
Hypotheses Testing Overview
Hypotheses Testing Overview

Key Terminology

Hypothesis

  • An assumption about any unknown characteristic of a population. It may or may not be true.
  • Examples: μ = 2.3, σ = 2.1, or “the population follows Normal Distribution.”
  • Two types: null hypothesis and alternative hypothesis.
Types of Hypothesis
Types of Hypothesis

Null Hypothesis (H0)

  • A hypothesis of no difference — the default assumption that any observed effect is due to chance alone. Denoted by H0.
  • Examples: H0: μ = μ0, H0: μ1 = μ2
Null Hypothesis
Null Hypothesis

Alternative Hypothesis (H1)

  • The complement of the null hypothesis — what we believe is true if H0 is rejected. Denoted by H1.
  • Examples: H1: μ ≠ μ0, H1: μ1 ≠ μ2
Alternative Hypothesis
Alternative Hypothesis

Parameter vs Statistic

ConceptBelongs ToSymbolNature
ParameterPopulationμ, σ²Fixed but often unknown
StatisticSamplex̄, s²Computed from sample data; estimates the parameter
Sample Mean Formula
Sample Mean Formula
Sample Variance Formula
Sample Variance Formula

Different samples yield different statistics — this is precisely why hypothesis testing exists.


Population and Sample

  • Population: The entire group of objects under study — can be finite (students in a class) or infinite (all possible yields of a variety).
  • Sample: A finite subset of the population. The number of objects in a sample is the sample size.
Population and Sample
Population and Sample

Random Sampling (SRS)

  • If sampling units are drawn independently with equal chance of inclusion, it is simple random sampling (SRS).
  • From a population of N units, the chance of selecting any unit = 1/N.
  • Random sampling ensures the sample is representative and eliminates selection bias.

Sampling Distribution and Standard Error

  • Sampling distribution: The distribution of a statistic computed from all possible samples.

  • Standard Error (S.E.): The standard deviation of the sampling distribution.

    S.E.(x̄) = σ/√n

  • Increasing sample size n reduces S.E., making the estimate more precise.


Types of Errors

In hypothesis testing, four decisions are possible:

TypeH0 is trueH0 is false
Rejecting H0Type-I Error (Wrong Decision)Correct
Accepting H0CorrectType-II Error
ErrorDescriptionProbabilityAnalogySeverity
Type IRejecting H0 when it is trueAlpha (α)False alarm — concluding an effect exists when it does notControllable
Type IIAccepting H0 when it is falseBeta (β)Missed detection — failing to identify a real effectMore severe

TIP

Type I = False Positive (seeing an effect that is not there). Type II = False Negative (missing an effect that is there). Type II is considered more severe because genuine improvements go undetected.


Simple vs Composite Hypothesis

TypeDefinitionExampleLOS Expression
SimpleCompletely specifies the distributionH0: μ = μ0, σ knownExactly α
CompositeDoes not completely specify distributionH0: μ ≤ μ0, σ knownAt most α

Degrees of Freedom (d.f.)

  • The number of values free to vary in the final calculation of a statistic.
  • d.f. = total number of items - total number of constraints = n - k
  • Example: If 10 observations have a fixed mean, only 9 are free to vary → d.f. = 10 - 1 = 9.

Level of Significance (LOS)

  • The maximum probability of committing Type I Error, denoted by α.
  • Common values: 5% (field experiments) and 1%.
  • Always fixed in advance before collecting data.
  • LOS 5% means results will be correct in 95 out of 100 cases.

IMPORTANT

In agricultural field experiments, 5% LOS is standard — it balances detecting real effects with controlling false positives.


Critical Value

  • The threshold that determines whether to reject or accept H0.
  • If the test statistic exceeds the critical value, the difference is too large to be explained by chance alone.
Critical Value
Critical Value

Steps in Hypothesis Testing

TIP

Mnemonic: “HSTCR” — Hypothesise, Statistic, Threshold, Compare, Result.

  1. Formulate the null (H0) and alternative (H1) hypotheses
  2. Construct the test statistic
  3. Fix the level of significance
  4. Find the table (critical) value for the given d.f. and LOS
  5. Compare calculated value with table value
  6. Decide:
    • If calculated ≥ table value → Reject H0 (significant)
    • If calculated < table value → Accept H0 (not significant)

Confidence Limit

  • The range within which the true population mean lies is called confidence limit or fiduciary limit.
  • A wider interval means less precision but more confidence that the true value is captured.

Summary Table

ConceptKey PointExam Tip
Null hypothesis (H0)Hypothesis of no differenceDefault assumption to test against
Alternative hypothesis (H1)Complement of H0What we conclude if H0 is rejected
ParameterPopulation characteristic (μ, σ²)Fixed but unknown
StatisticSample characteristic (x̄, s²)Estimate of parameter
Type I error (α)Rejecting true H0False positive
Type II error (β)Accepting false H0False negative; more severe
d.f.n - kFree values in calculation
LOSMax probability of Type I errorUsually 5% in agriculture
Critical valueThreshold for decisionFrom statistical tables
S.E.σ/√nDecreases with larger n
Summary: Steps in Hypothesis Testing
  1. Formulate the null (H0) and alternative (H1) hypotheses
  2. Choose the appropriate test statistic (Z, t, F, or chi-square)
  3. Fix the level of significance (usually 5%)
  4. Find the critical (table) value for the given d.f. and LOS
  5. Compare the calculated value with the table value
  6. Decide: If calculated > table value, reject H0 (significant). Otherwise, accept H0 (not significant).

Summary Cheat Sheet

Concept / TopicKey Details
HypothesisAn assumption about an unknown population characteristic
Null hypothesis (H₀)Hypothesis of no difference — default assumption
Alternative hypothesis (H₁)Complement of H₀; accepted if H₀ is rejected
ParameterBelongs to population (μ, σ²); fixed but unknown
StatisticBelongs to sample (x̄, s²); estimates the parameter
Type I error (α)Rejecting true H₀ — false positive (false alarm)
Type II error (β)Accepting false H₀ — false negative; more severe
Degrees of freedomd.f. = n - k (values free to vary)
Level of significanceMax probability of Type I error; usually 5% in agriculture
Critical valueThreshold for rejecting or accepting H₀
Standard ErrorS.E. = σ/√n; decreases with larger sample size
Simple hypothesisCompletely specifies the distribution
Composite hypothesisDoes not completely specify the distribution
PopulationEntire group under study — finite or infinite
SampleFinite subset of population
SRSSimple Random Sampling — each unit has equal chance (1/N)
Sampling distributionDistribution of statistic from all possible samples
Confidence limitRange within which true population mean lies
Decision ruleCalc ≥ table value → reject H₀; calc < table → accept H₀
Steps: HSTCRHypothesise, Statistic, Threshold, Compare, Result
Test typesZ-test (large n), t-test (small n), F-test (variances), χ² (frequencies)
🔐

Pro Content Locked

Upgrade to Pro to access this lesson and all other premium content.

Pro Popular
199 /mo

₹2388 billed yearly

  • All Agriculture & Banking Courses
  • AI Lesson Questions (100/day)
  • AI Doubt Solver (50/day)
  • Glows & Grows Feedback (30/day)
  • AI Section Quiz (20/day)
  • 22-Language Translation (30/day)
  • Recall Questions (20/day)
  • AI Quiz (15/day)
  • AI Quiz Paper Analysis
  • AI Step-by-Step Explanations
  • Spaced Repetition Recall (FSRS)
  • AI Tutor
  • Immersive Text Questions
  • Audio Lessons — Hindi & English
  • Mock Tests & Previous Year Papers
  • Summary & Mind Maps
  • XP, Levels, Leaderboard & Badges
  • Generate New Classrooms
  • Voice AI Teacher (AgriDots Live)
  • AI Revision Assistant
  • Knowledge Gap Analysis
  • Interactive Revision (LangGraph)

🔒 Secure via Razorpay · Cancel anytime · No hidden fees

Lesson Doubts

Ask questions, get expert answers

Lesson Doubts is a Pro feature.Upgrade