Two-tailed Hypothesis Testing: Mean T-test

Two-tailed Hypothesis Testing: Mean T-test
Loading the math board and drawing, please wait…
2019-09-23 22:19
This example demonstrates the process of a two-tailed hypothesis test for the mean using a t-test. Key mathematical concepts include hypothesis testing, t-distribution, and confidence intervals. Using GeoGebra commands such as If, Textfield, SelectedElement, TDistribution, etc., the steps of the test are visually illustrated. Suitable for statistics and probability courses.

GeoGebra Commands & Parameters

  1. If(lg(sx) > 0, 1, ceil((-lg(sx)))) → pyor
  2. Textfield(σ) → tekstikenttä1
  3. Textfield(ka) → tekstikenttä2
  4. Textfield(n) → tekstikenttä3
  5. SelectedElement(p) → val
  6. TDistribution(n - 1, x, false) → f
  7. InverseTDistribution(n - 1, val + α / 2) → a
  8. Integral(f, (-a), a) → b
  9. Segment(B, A) → i
  10. Textfield(mu0) → tekstikenttä4

AI Drawing Prompt Reference

Draw a two-tailed hypothesis test t-test diagram, including the null hypothesis μ0, sample standard deviation sx, sample mean ka, sample size n, significance level α, t-distribution curve, and confidence interval. First, input the null hypothesis value μ0, then input the sample standard deviation sx, sample mean ka, and sample size n. Next, calculate the degrees of freedom n-1, draw the t-distribution curve, mark the critical value a at α/2, calculate and mark the area b of the confidence interval, and finally draw the line segment i of the confidence interval.
The prompt above was compiled from the original drawing commands and is for reference only.