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

Angioplasty’s benefits are challenged. Further, more than 1 million heart cases each time suffer an angioplasty. The benefits of an angioplasty were challenged in a study of cases (2007 Annual Conference of the American. College of Cardiology, New Orleans). All the cases had substantial blockage of the highways but were medically stable. All were treated with drugs similar to aspirin and beta-blockers. Still, half the cases were aimlessly assigned to get an angioplasty, and half were not. After five years, the experimenter planted 211 of the. Cases in the angioplasty group had posterior heart attacks compared with 202 cases in the drug-only group. Do you agree with the study’s conclusion? “There was no significant difference in the rate of heart attacks for the two groups”? Support your answer with a 95-confidence interval.

Question: The speed with which consumers decide to purchase a product was investigated in the Journal of Consumer Research (August 2011). The researchers theorized that consumers with last names that begin with letters later in the alphabet will tend to acquire items faster than those whose last names begin with letters earlier in the alphabet—called the last name effect. MBA students were offered free tickets to an event for which there was a limitedsupply of tickets. The first letter of the last name of those who responded to an email offer in time to receive the tickets was noted as well as the response time (measured in minutes). The researchers compared the response times for two groups of MBA students: (1) those with last names beginning with one of the first nine letters of the alphabet and (2) those with last names beginning with one of the last nine letters of the alphabet. Summary statistics for the two groups are provided in the table.

First 9

Letters: A–I

Last 9

Letters: R–Z

Sample size

25

25

Mean response time (minutes)

25.08

19.38

Standard deviation (minutes)

10.41

7.12

Source: Based on K. A. Carlson and J. M. Conrad, “The Last Name Effect: How Last Name Influences Acquisition Timing,” Journal of Consumer Research, Vol. 38, No. 2, August 2011.

a. Construct a 95% confidence interval for the difference between the true mean response times for MBA students in the two groups.

b. Based on the interval, part a, which group has the shorter mean response time? Does this result support the researchers’ last name effect theory? Explain.

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

4.135 Suppose xhas an exponential distribution with θ=1. Find

the following probabilities:

a.P(x>1)b.P(x3)cP(x>1.5)d.P(x5)

Question: Independent random samples selected from two normal populations produced the sample means and standard deviations shown below.

Sample 1

Sample 2

n1= 17x¯1= 5.4s1= 3.4

role="math" localid="1660287338175" n2= 12x¯2=7.9s2=4.8

a. Conduct the testH0:(μ1-μ2)>10against Ha:(μ1-μ2)10. Interpret the results.

b. Estimateμ1-μ2 using a 95% confidence interval

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