Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Inferential statistics The Statistical Test of a Hypothesis Z-test, Lecture notes of Statistics

These statistical tests allow researchers to make inferences because they can show whether an observed pattern is due to intervention or chance. There is a wide ...

Typology: Lecture notes

2021/2022

Uploaded on 09/27/2022

sunday
sunday 🇬🇧

4.5

(12)

213 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1 | Page D r . A l i R a h e e m A l n a s s a r
Inferential statistics
The Statistical Test of a Hypothesis
Inferential statistics are the set of statistical tests researchers use to make
inferences (decisions) about data. These statistical tests allow researchers to make
inferences because they can show whether an observed pattern is due to
intervention or chance.
There is a wide range of statistical tests. The choice of which statistical test to
utilize relies upon the structure of data, the distribution of the data, and variable
type.
For examples,
1-we suspect there might be a non-zero correlation between two variables (e.g.
sunspot numbers and annual rainfall totals in Reading).
2-A new medicine you think might work.
3-A way of teaching you think might be better.
4-If I (give exams at noon instead of 7) then (student test scores will improve).
To test these hypotheses, we examine some data and correlation to make
true/false decisions about hypotheses based on the evidence provided by the
sample of data.
There are many different types of tests in statistics like T-test, Z-test, chi-square
test, ANOVA test, binomial test, one sample median test …. etc.
In general, if the data is normally distributed, parametric tests should be used. If
the data is non-normal, non-parametric tests should be used.
The Parametric tests are used if the data is normally distributed.
A parametric statistical test makes an assumption about the population
parameters and the distributions that the data came from.
These types of tests include T-tests, Z-tests, and ANOVA tests, which assume
data is from a normal distribution.
The decision-making procedure in classical statistical inference proceeds by the
following steps:
Z-test
A z-test is a statistical test used to determine whether two population means are
different when the variances are known and the sample size is large
In z-test mean of the population is compared. The parameters used are population
mean and population standard deviation.
Z-test is used to validate a hypothesis that the sample drawn belongs to the same
pf3
pf4
pf5

Partial preview of the text

Download Inferential statistics The Statistical Test of a Hypothesis Z-test and more Lecture notes Statistics in PDF only on Docsity!

Inferential statistics

The Statistical Test of a Hypothesis

Inferential statistics are the set of statistical tests researchers use to make inferences (decisions) about data. These statistical tests allow researchers to make inferences because they can show whether an observed pattern is due to intervention or chance. There is a wide range of statistical tests. The choice of which statistical test to utilize relies upon the structure of data, the distribution of the data, and variable type. For examples, 1 - we suspect there might be a non-zero correlation between two variables (e.g. sunspot numbers and annual rainfall totals in Reading). 2 - A new medicine you think might work. 3 - A way of teaching you think might be better. 4 - If I (give exams at noon instead of 7) then (student test scores will improve). To test these hypotheses, we examine some data and correlation to make true/false decisions about hypotheses based on the evidence provided by the sample of data. There are many different types of tests in statistics like T-test, Z-test, chi-square test, ANOVA test, binomial test, one sample median test …. etc. In general, if the data is normally distributed, parametric tests should be used. If the data is non-normal, non-parametric tests should be used. The Parametric tests are used if the data is normally distributed. A parametric statistical test makes an assumption about the population parameters and the distributions that the data came from. These types of tests include T-tests, Z-tests, and ANOVA tests, which assume data is from a normal distribution. The decision-making procedure in classical statistical inference proceeds by the following steps:

Z-test

A z-test is a statistical test used to determine whether two population means are different when the variances are known and the sample size is large In z-test mean of the population is compared. The parameters used are population mean and population standard deviation. Z-test is used to validate a hypothesis that the sample drawn belongs to the same

population. Ho: Sample mean is same as the population mean (Null hypothesis) Ha: Sample mean is not the same as the population mean (Alternate hypothesis)

√𝑛^

where, x=sample mean, u=population mean, σ = population standard deviation. If Z value is less than critical value accepts null hypothesis while if Z value is greater than critical value reject null hypothesis. Examples (One Sample Z Test) A principal at a certain school claims that the students in his school are above average intelligence. A random sample of 40 students scores have a mean score of 112. Is there sufficient evidence to support the principal’s claim? The mean population is 100 with a standard deviation of 15. solution: Step 1: State the Null hypothesis. The accepted fact is that the population mean is 100, so: H0: μ=100. Step 2: State the Alternate Hypothesis. The claim is that the students have above average scores, so: H1: μ > 100. The fact that we are looking for scores “greater than” a certain point means that this is a one-tailed test. Step 3: Draw a picture to help you visualize the problem.

How to get the value of Z from the statistical tables? We know that the value of Z corresponding to the Confidence level is 95% (0.95) equals 1.96: 1 - Confidence Level / 2 In the case of 95 percent, the first step becomes 0.95 / 2 = 0. 2: We move to the Z-test table, 3: We find that the corresponding number in the same row is 1.9 and in the same

column 0.06, then the value of Z = 1.96. Another example is to assume that the Confidence Level is at 99 percent, as it came in one of the questions: 0.99 / 2 = 0. Thus, the value of Z = 2.58, where it is located in row 2.5 and 0.08 of the column. T-test In statistics, t-tests are a type of hypothesis test that allows you to compare means. The one-sample t-test is a statistical procedure used to determine whether a sample of observations could have been generated by a process with a specific mean.

√𝑛^

Hypotheses: There are two kinds of hypotheses for a one-sample t-test: the null hypothesis and the alternative hypothesis. The alternative hypothesis assumes that some difference exists between the true mean (μ) and the comparison value (m0), whereas the null hypothesis assumes that no difference exists.

  • The null hypothesis (H0) assumes that the difference between the true mean (μ) and the comparison value (m0) is equal to zero.
  • The two-tailed alternative hypothesis (H1) assumes that the difference between the true mean (μ) and the comparison value (m0) is not equal to zero. Example: A company wants to improve sales. Past sales data indicate that the average sale was $100 per transaction. After training the sales force, recent sales data (taken from a sample of 25 salesmen) indicates an average sale of $130, with a standard deviation of $15. Did the training work? Test your hypothesis at a 5% alpha level. Step 1: Write the null hypothesis statement: The accepted hypothesis is that there is no difference in sales, so: H0: μ = $100. Step 2: Write the alternate hypothesis:(there is a difference):