Presentation is loading. Please wait.

Presentation is loading. Please wait.

Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)

Similar presentations


Presentation on theme: "Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)"— Presentation transcript:

1 Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)

2 General Steps in Hypotheses testing 1. From the problem context, identify the parameter of interest. 2. State the null hypothesis, H 0. 3. Specify an appropriate alternative hypothesis, H 1. 4. Choose a significance level, . 5. Determine an appropriate test statistic. 6. State the rejection region for the statistic. 7. Compute any necessary sample quantities, substitute these into the equation for the test statistic, and compute that value. 8. Decide whether or not H 0 should be rejected and report that in the problem context.

3 Testing the difference between two sample means It is applied to compare whether the average difference between two groups is really significant or if it is due instead to random chance.

4 Type of questions that can be answered with Two sample hypothesis tests.  A manufacturing plant want to compare the q  whether the test results of patients who received a drug are better than test results of those who received a placebo.  The question being answered is whether there is a significant (or only random) difference in the average cycle time to deliver a pizza from Pizza Company A vs. Pizza Company B.

5 Difference in Means of Two Normal Distributions, Variances Known

6 Test Assumptions

7 Example

8

9

10 Confidence Interval on a Difference in Means, Variances Known

11 Example

12

13 Difference in Means of Two Normal Distributions, Variances unknown We wish to test: Case 1: The pooled estimator of  2 :

14 Difference in Means of Two Normal Distributions, Variances unknown

15 Example

16

17

18 Confidence Interval on the Difference in Means, Variance Unknown Case:

19 Example

20

21

22 Some Practical Examples


Download ppt "Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)"

Similar presentations


Ads by Google