This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Effort and Schedule EstimationEffort and Schedule Estimation
• From the previous lectureFrom the previous lecture• Effort estimationEffort estimation• Multiple estimatesMultiple estimates• Schedule estimatingSchedule estimating• Progress trackingProgress tracking
J. Nawrocki, PSP, Lecture 7
From the previous lecture ..From the previous lecture ..
Humphrey, CMU, 1995Humphrey, CMU, 1995
PROPROxy-xy-BBased ased EEstimatingstimating
Objects as proxies Objects as proxies
StandardStandardcomponentcomponent
methodmethod
FuzzyFuzzylogiclogic
methodmethod
ProbeProbemethodmethod
J. Nawrocki, PSP, Lecture 7
From the previous lecture ..From the previous lecture ..
4. Knowing:4. Knowing:• programming languageprogramming language• object typeobject type• size rangessize ranges• the number of methodsthe number of methods
estimate, using historical estimate, using historical data, size of each object.data, size of each object.
J. Nawrocki, PSP, Lecture 7
From the previous lecture ..From the previous lecture ..
6. Apply linear 6. Apply linear regression to get regression to get estimated program estimated program size Y:size Y:
Y = Y = 11 X + X + 00
5 means 105 means 10
J. Nawrocki, PSP, Lecture 7
From the previous lecture ..From the previous lecture ..
7. Using the 7. Using the t distributiont distribution and and standard standard deviationdeviation compute the compute the prediction intervalprediction interval for for a given percentage. a given percentage.
For 100% theFor 100% the
interval isinterval is
[0; + [0; + ]]
J. Nawrocki, PSP, Lecture 7
From the previous lecture ..From the previous lecture ..
(X - x(X - xavgavg))22
(x(xii - x - xavgavg))22++
11
nn++11 Range = Range = tt
7c. Compute the range as follows:7c. Compute the range as follows:
Initial estimateInitial estimateobtained in Step 5obtained in Step 5
J. Nawrocki, PSP, Lecture 7
Plan of the lecturePlan of the lecture
• IntroductionIntroduction• From the previous lectureFrom the previous lecture
No data about timeNo data about timeYou have to make a guessYou have to make a guess
Actual size & actual time with rActual size & actual time with r22 < 0.5 < 0.5Productivity-based estimationProductivity-based estimation
Actual size & actual time with rActual size & actual time with r22 0.5 0.5Effort estimate + range (inaccurate)Effort estimate + range (inaccurate)
Estimated size & actual time with rEstimated size & actual time with r22 0.5 0.5Effort estimate + prediction intervalEffort estimate + prediction interval
J. Nawrocki, PSP, Lecture 7
Plan of the lecturePlan of the lecture
• IntroductionIntroduction• From the previous lectureFrom the previous lecture• Effort estimationEffort estimation
(s(sii - s - savgavg))22++11nn++11 Range = Range = tt
Range(70%)= 16.3Range(70%)= 16.3
J. Nawrocki, PSP, Lecture 7
Plan of the lecturePlan of the lecture
• IntroductionIntroduction• From the previous lectureFrom the previous lecture• Effort estimationEffort estimation• Multiple estimatesMultiple estimates
Effort estimation is based on Effort estimation is based on size estimation.size estimation.
Three cases:Three cases:• Best caseBest case• Middle caseMiddle case• Worst caseWorst case
Multiple estimatesMultiple estimates
Schedule estimatingSchedule estimating
Earned Value MethodEarned Value Method
J. Nawrocki, PSP, Lecture 7
Further readingsFurther readings
W. Humphrey, A Discipline for W. Humphrey, A Discipline for Software Engineering, Addison-Software Engineering, Addison-Wesley, Reading, 1995, Chapter 5.Wesley, Reading, 1995, Chapter 5.
J. Nawrocki, PSP, Lecture 7
Quality assessmentQuality assessment
1. What is your general 1. What is your general impression ? (1 - 6)impression ? (1 - 6)
2. Was it too slow or too fast ?2. Was it too slow or too fast ?
3. Did you learn something 3. Did you learn something important to you ?important to you ?
4. What to improve and how ?4. What to improve and how ?