ble           correct count incorrect count row total       Version A 405

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

 

Two-way table

 

 

 

 

 

correct count

incorrect count

row total

 

 

 

Version A

405

75

480

 

 

 

Version B

472

48

520

 

 

 

 

 

 

 

 

 

 

Inferential statistics

 

 

 

 

 

n1

n2

 

phat 1

phat 2

 

 

480

520

 

0.84375

0.907692308

 

 

Estimate of the difference between population proportions

 

 

 

phat1-phat2

 

 

 

 

 

 

-0.06394231

 

 

 

 

 

 

standard error of estimate

 

 

 

 

 

0.020788831

 

 

 

 

 

 

Confidence interval

 

 

 

 

 

you are 95% confident that p1-p2 is between

 

 

 

 

-0.10468842

 

 

 

 

 

 

and

 

 

 

 

 

 

-0.0231962

 

 

 

 

 

 

0 is NOT in the confidence interval so there is strong evidence there is a diffference in proportions

 

 

 

 

 

   

hypothesis testing

 

 

 

   

 test stat

 

two sided pvalue

 

   

-3.07580107

 

0.002099379

 

 

   

To calculate the p-value H0: p1=p2 is assumed to be true

 

   

since the test is two-sided H1 is H1: p1≠p2

 

 

   

 

  1. Calculate the z test stat for sample proportion,
  2. Use wolframalpha.com to find “probability Z distribution> z test stat” using the answers in part (1) for example if find the test stat is -0.5 enter

probability Z distribution > -0.5

Into wolfram alpha


3.Comment on the confidence interval for p1- p2

4. Comment on the Pvalue for testing the claim p1- p2=0

Expert Solution
Step 1

The hypothesis testing for difference between proportions of two populations

1 p1 σp1
2 p2 σp2

Null Hypothesis: There is no difference between two population proportions is stated as:

H0:p1-p2=0

Alternate Hypothesis : H1:p1-p20

z = p1¯-p2¯σp1¯-p2¯; σp1¯-p2¯ = p1(1-p1)n1+p2(1-p2)n2

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman