/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q58E Predicting software blights. Rel... [FREE SOLUTION] | 91影视

91影视

Predicting software blights. Relate to the Pledge Software Engineering Repository data on 498 modules of software law written in 鈥淐鈥 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 鈥渢rue鈥 (i.e., the module has imperfect law), and 449 were classified as 鈥渇alse鈥 (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, 鈥淚f 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 = 鈥測es鈥) and prognosticated to have no blights (PRED_LOC = 鈥渘o鈥). 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


PRED_LOC
total
noyes

DEFECT False

True

total

440

29

429

49

20

69

449

49

498

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

Step-by-Step Solution Step 1: Find the value of P1 and P2

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

Find the value of p1.

P_1=x1n1=400449=0.89Findthevalueofp2.p_2=x2n2=2249=0.41

02

Let the confidence level be 0.99

1=0.99=10.99=0.012=0.005

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

Za2=Z0.005=2.58

So, the value of za2 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.

(p_1p2_)za2p_1q_1n1+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.58 0.89(10.89)+4490.41(1041)49

=0.48卤2.58role="math" localid="1652718669873" 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 91影视!

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

Drug content assessment. Refer to Exercise 8.16 (p. 467)and the Analytical Chemistry (Dec. 15, 2009) study in which scientists used high-performance liquid chromatography to determine the amount of drug in a tablet. Recall that 25 tablets were produced at each of two different, independent sites. The researchers want to determine if the two sites produced drug concentrations with different variances. A Minitab printout of the analysis follows. Locate the test statistic and p-value on the printout. Use these values =.05and to conduct the appropriate test for the researchers.

Test and CI for two Variances: Content vs Site

Method

Null hypothesis 12=1

Alternative hypothesis 121

F method was used. This method is accurate for normal data only.

Statistics

Site N St Dev Variance 95% CI for St Devs

1 25 3.067 9.406 (2.195,4.267)

2 25 3.339 11.147 (2.607,4.645)

Ratio of standard deviation =0.191

Ratio of variances=0.844

95% Confidence Intervals

Method CI for St Dev Ratio CI Variance Ratio

F (0.610, 1.384) (0.372, 1.915)

Tests

Method DF1 DF2 Test statistic p-value

F 24 24 0.84 0.681

Random samples of size n1=400 andn2=500 were drawn from populations 1 and 2, respectively. The samples yieldedx1=105 and x2=140. TestH0:p1-p20 againstHa:p1-p2<0at the 1% level of significance.

Refer to the Archives of Paediatrics and Adolescent Medicine (Dec. 2007) study of honey as a children鈥檚 cough remedy, Exercise 2.31 (p. 86). Children who were ill with an upper respiratory tract infection and their parents participated in the study. Parents were instructed to give their sick child dosage of liquid 鈥渕edicine鈥 before bedtime. Unknown to the parents, some were given a dosage of dextromethorphan (DM)鈥攁n over-the-counter cough medicine鈥攚hile others were given a similar dose of honey. (Note: A third group gave their children no medicine.) Parents then rated their children鈥檚 cough symptoms, and the improvement in total cough symptoms score was determined for each child. The data (improvement scores) for the 35 children in the DM dosage group and the 35 in the honey dosage group are reproduced in the next table. Do you agree with the statement (extracted from the article), 鈥淗oney may be a preferable treatment for the cough and sleep difficulty associated with childhood upper respiratory tract infection鈥? Use the comparison of the two means methodology presented in this section to answer the question.

The data is given below:

Honey Dosage:

12111511101310415169141061081112128129111510159138121089512

DM Dosage:

469477791210116349781212412137101394410159126

Vulnerability of counting party Web spots. When you subscribe to your Facebook account, you're granted access to further. Then 1 million counting parties (RP) Web spots. Vulnerabilities in this sign-on system may permit a bushwhacker to gain unauthorized access to your profile, allowing the bushwhacker to impersonate you on the RP Web point. Computer and systems Masterminds delved into the vulnerability of counting party Web spots and presented their results at the Proceedings of the 5th AMC Factory on Computers & Communication Security (October 2012). RP Web spots were distributed as Gar莽on- inflow or customer- inflow Web spots. Of the 40 gar莽on- inflow spots studied, 20 were planted to be vulnerable to impersonation attacks. Of the 54 customer-inflow spots examined, 41 were. Plant to be vulnerable to impersonation attacks. Give your opinion on whether a customer- inflow Web point is more likely to be vulnerable to an impersonation attack than a gar莽on- inflow Website. However, how much more likely? If so.

The 鈥渓ast name鈥 effect in purchasing. The Journal of Consumer Research (August 2011) published a study demonstrating the 鈥渓ast name鈥 effect鈥攊.e., the tendency for consumers with last names that begin with a later letter of the alphabet to purchase an item before consumers with last names that begin with earlier letters. To facilitate the analysis, the researchers assigned a number, x, to each consumer based on the first letter of the consumer鈥檚 last name. For example, last names beginning with 鈥淎鈥 were assigned x = 1; last names beginning with 鈥淏鈥 were assigned x = 2; and last names beginning with 鈥淶鈥 were assigned x = 26.

a. If the first letters of consumers鈥 last names are equally likely, find the probability distribution for x.

b. Find E (x) using the probability distribution, part a. If possible, give a practical interpretation of this value.?

c. Do you believe the probability distribution, part a, is realistic? Explain. How might you go about estimating the true probability distribution for x

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.