Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a MATLAB script that performs a Two Proportion Z Test and a Two Proportion Z Confidence Interval (Calculator calls it 2-PropZTest and 2-PropZInt) Include

Create a MATLAB script that performs a Two Proportion Z Test and a Two Proportion Z Confidence Interval (Calculator calls it 2-PropZTest and 2-PropZInt) Include the following: Request that the user enter the following items: Alpha (significance level). User should be able to enter any level, not just 0.01, 0.05, or 0.10. Number of items with a particular characteristic from sample 1, called X1, and number of items with the particular characteristic from sample 2, called X2. Sizes of both samples, n1 and n2 Ask the user if they want a two-sided or one-sided confidence interval. They will need to specify right tail or left tail if they enter one-sided and the correct corresponding CI should be calculated. Display results of the hypotheses, test statistic, p-value, decision and confidence interval. Display descriptive statistics: p _1, n_1, p _2, n_2, and p Run your script for the following situations.

Paste results for a two tailed test and corresponding CI with alpha=0.01, x1=27, n1=100, x2=19, and n2= 100.

Paste results for a right tailed test and corresponding CI with alpha=0.05, x1=32, n1=100, x2=15, and n2=100.

Paste results for a left tailed test and corresponding CI with alpha = 0.025, x1=18, n1=100, x2= 25 and n2=100.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago