Question: Refer to the PROMISE Software Engineering Repository data on 498 modules of software code written in C language for a NASA spacecraft instrument, saved in

Refer to the PROMISE Software Engineering Repository data on 498 modules of software code written in "C" language for a NASA spacecraft instrument, saved in the file. (See Exercise 3.76, p. 168) Recall that the software code in each module was evaluated for defects; 49 were classified as "true" (i.e., module has defective code), and 449 were classified as false" (i.e., module has correct code). Consider these to be independent random samples of software code modules. Researchers predicted the defect status of each module using the simple algorithm, "If number of lines of code in the module exceeds 50, predict the module to have a defect." The accompanying SPSS printout shows the number of modules in each of the two samples that were predicted to have defects (PRED_LOC = "yes") and predicted to have no defects (PRED_LOC = "no"). Now, define the accuracy rate of the algorithm as the proportion of modules that were correctly predicted. Compare the accuracy rate of the algorithm when applied to modules with defective code to the accuracy rate of the algorithm when applied to modules with correct code. Use a 99% confidence interval.
DEFECT ' PRED_LOC Cross tabulation
Refer to the PROMISE Software Engineering Repository data on 498

Count PRED LOC no Total DEFECT faise 449 49 498 400 49 20 69 rue 29 429 Total

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Let p 1 accuracy rate for modules with correct code and p 2 accuracy rate for modules wit... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

766-M-S-H-T (4948).docx

120 KBs Word File

Students Have Also Explored These Related Statistics Questions!