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


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.01α2=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 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

Question: Consumers’ attitudes toward advertising. The two most common marketing tools used for product advertising are ads on television and ads in a print magazine. Consumers’ attitudes toward television and magazine advertising were investigated in the Journal of Advertising (Vol. 42, 2013). In one experiment, each in a sample of 159 college students were asked to rate both the television and the magazine marketing tool on a scale of 1 to 7 points according to whether the tool was a good example of advertising, a typical form of advertising, and a representative form of advertising. Summary statistics for these “typicality” scores are provided in the following table. One objective is to compare the mean ratings of TV and magazine advertisements.

a. The researchers analysed the data using a paired samples t-test. Explain why this is the most valid method of analysis. Give the null and alternative hypotheses for the test.

b. The researchers reported a paired t-value of 6.96 with an associated p-value of .001 and stated that the “mean difference between television and magazine advertising was statistically significant.” Explain what this means in the context of the hypothesis test.

c. To assess whether the result is “practically significant,” we require a confidence interval for the mean difference. Although this interval was not reported in the article, you can compute it using the information provided in the table. Find a 95% confidence interval for the mean difference and interpret the result. What is your opinion regarding whether the two means are “practically significant.”

Source: H. S. Jin and R. J. Lutz, “The Typicality and Accessibility of Consumer Attitudes Toward Television Advertising: Implications for the Measurement of Attitudes Toward Advertising in General,” Journal of Advertising, Vol. 42, No. 4, 2013 (from Table 1)

In a random sample of 250 people from a city, 148 of them favor apples over other fruits.

a. Use a 90% confidence interval to estimate the true proportion p of people in the population who favor apples over other fruits.

b. How large a sample would be needed to estimate p to be within .15 with 90% confidence?

Suppose you want to estimate the difference between two population means correct to within 1.8 with a 95% confidence interval. If prior information suggests that the population variances are approximately equal to σ12=σ22=14 and you want to select independent random samples of equal size from the populations, how large should the sample sizes n1, and n2, be?

Homework assistance for accounting students. Refer to the Journal of Accounting Education (Vol. 25, 2007) study of providing homework assistance to accounting students, Exercise 8.18 (p. 468). Recall that one group of students was given a completed homework solution and another group was given only check figures at various steps of the solution. The researchers wanted to compare the average test score improvement of the two groups. How many students should be sampled in each group to estimate the difference in the averages to within .5 point with 99% confidence? Assume that the standard deviations of the test score improvements for the two groups are approximately equal to 1

Fingerprint expertise.A study published in PsychologicalScience(August 2011) tested the accuracy of experts andnovices in identifying fingerprints. Participants were presentedpairs of fingerprints and asked to judge whetherthe prints in each pair matched. The pairs were presentedunder three different conditions: prints from the same individual (match condition), non-matching but similar prints (similar distracter condition), and nonmatching and very dissimilar prints (non-similar distracter condition). The percentages of correct decisions made by the two groups under each of the three conditions are listed in the table.

Conditions

Fingerprints expert

Novices

Match similar

92.12%

74.55%

Distracter

99.32%

44.82%

Non-similar distracter

100%

77.03%

a.Given a pair of matched prints, what is the probability that an expert failed to identify the match?

b. Given a pair of matched prints, what is the probabilitythat a novice failed to identify the match?

c. Assume the study included 10 participants, 5 experts and 5 novices. Suppose that a pair of matched prints was presented to a randomly selected study participant and the participant failed to identify the match. Is the participant more likely to be an expert or a novice?

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