Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Predicting software blights. Relate to the Pledge Software Engineering Repository data on 498 modules of software law written in “C” language for a NASA spacecraft instrument, saved in the train. (See Exercise 3.132, p. 209). Recall that the software law in each module was estimated for blights; 49 were classified as “true” (i.e., the module has imperfect law), and 449 were classified as “false” (i.e., the module has corrected law). Consider these to be Arbitrary independent samples of software law modules. Experimenters prognosticated the disfigurement status of each module using the simple algorithm, “If the number of lines of law in the module exceeds 50, prognosticate the module to have a disfigurement.” The accompanying SPSS printout shows the number of modules in each of the two samples that were prognosticated to have blights (PRED_LOC = “yes”) and prognosticated to have no blights (PRED_LOC = “no”). Now, define the delicacy rate of the algorithm as the proportion of modules. That was rightly prognosticated. Compare the delicacy rate of the algorithm when applied to modules with imperfect law with the delicacy rate of the algorithm when applied to modules with correct law. Use a 99-confidence interval.

DEFECT*PRED_LOC crosstabulation

Short Answer

Expert verified

The difference in accuracy rate between the modules with correct code and modules with incorrect lies between 0.2948 and 0.6652 at 99% confidence.

Step by step solution

01

Find the value of P1 and P2

Consider n1=449, n2=49, x1 = 400, x2=20.

Find the value of p1.

P1=x1n1=400499=0.89

= 0.89

Find the value of p2.

P2=x2n2=2249=0.41

02

Let the confidence level be 0.99

1- α= 0.99

α= 1 – 0.99

= 0.01

α2= 0.005

From appendix table-2, the value of Za/2 is given below.

Za2=Z0.005=2.58

=2.58

So, the value of za 2 is 2.58.

03

The formula for 100(1α) % confidence intervals for (P1-P2)

The formula for 100(1α) % confidence intervals for (P1-P2) is below.

P1-P2±Za2p1q1n1+p2q2n2

In this, q1 = 1 – p1and q2 = 1 – p2.

04

Find the 99% confidence interval for (P1-P2)

Substitute P1 = 0.89 P2 = .041, n1 = 449, and n2 = 49 in the above formula.

= 0.89 – 0.41 ± 2.580.89-1-0.894490.411-0.4149

=0.48±2.58(0.0979449+0.241949)

=0.48±2.58(0.0718)

=.48±0.1852

= (0.2948,0.6652)

Thus, the 99% confidence interval for (P1 – P2) is (0.2948,0.6652).

05

Final answer

The difference in accuracy rate between the modules with correct code and modules with incorrect lies between 0.2948 and 0.6652 at 99% confidence.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Buy-side vs. sell-side analysts' earnings forecasts. Refer to the Financial Analysts Journal (Jul. /Aug. 2008) study of financial analysts' forecast earnings, Exercise 2.86 (p. 112). Recall that data were collected from 3,526 buy-side analysts and 58,562forecasts made by sell-side analysts, and the relative absolute forecast error was determined for each. The mean and standard deviation of forecast errors for both types of analysts are given in the table.

a. Construct a 95% confidence interval for the difference between the mean forecast error of buy-side analysts and the mean forecast error of sell-side analysts.

b. Based on the interval, part a, which type of analysis has the greater mean forecast error? Explain.

c. What assumptions about the underlying populations of forecast errors (if any) are necessary for the validity of the inference, part b?

A paired difference experiment yielded ndpairs of observations. In each case, what is the rejection region for testing H0d>2?

a. nd=12,α=.05

b.nd=24,α=.10

c.nd=4,α=.025

d.nd=80,α=.01

Web Check response rates. Response rates to Web checks are generally low, incompletely due to druggies starting but not. I am finishing the check. Survey Methodology (December 2013) delved into the factors that impact response rates. In a designed study, Web druggies were directed to. Share in one of several checks with different formats. For illustration, one format employed a welcome screen with a white background, and another format employed a welcome screen with a red background. The “break-off rates,” i.e., the proportion of tried druggies who break off the check before completing all questions, for the two formats are handed in the table.

White Welcome screen

Red Welcome screen

Number of Web users

198

183

The number who break off the survey

49

37

Break-off rate

.258

.202

Source: R. Haer and N. Meidert, “Does the First Impression Count? Examining the Effect of the Welcome Screen Design on the Response Rate,” Survey Methodology, Vol. 39, No. 2, December 2013 (Table 4.1).

a. Corroborate the values of the break-off rates shown in the table.

b. The experimenters theorize that the true break-off rate for Web druggies of the red hello screen will be lower than the corresponding break-off rate for the white hello screen. Give the null and indispensable suppositions for testing this proposition.

c. Cipher the test statistic for the test.

d. Find the p- the value of the test.

e. Make the applicable conclusion using α = .10.

Given that xis a binomial random variable, compute P(x)for each of the following cases:

a. n= 7, x= 3, p= .5

b. n= 4, x= 3, p= .8

c. n= 15, x= 1, p= .1

To use the t-statistic to test for a difference between the means of two populations, what assumptions must be made about the two populations? About the two samples?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free