Questions tagged [estimation]

Questions related to tips and techniques about software project estimations: development time, effort, team size, software size, execution time, run time resource usage. Please ask on https://softwareengineering.stackexchange.com/help/on-topic if your question is not directly related to code.

Fred Brooks said:

It is very difficult to make a vigorous, plausible and job-risking defense of an estimate that is derived by no quantitative method, supported by little data, and certified chiefly by the hunches of the managers

On a day-to-day business context, the word estimate is often used when asking for a commitment, and this is incorrect. An estimate is not a target, not a commitment. An estimate is an assessment, based on prior experience, judgement and possibly on incomplete information about the time or resources needed to build a software project. An estimate can also be requested for the size or configuration or system resources needed to execute a software product.

Estimates always have a degree of error, so this should always be kept in mind when using an estimate to make a decision. More precision is achieved for an estimate spending more time or money - an estimate may be quick, precise and inexpensive: pick two of the three attributes.

Books about software estimation:

  • Software Estimation. Demystifying the Black Art. Steve McConnell. 2006 Microsoft Press, Redmond, WA.

  • Software Engineering Economics. Barry W. Boehm. 1981 Prentice-Hall Inc. Englewood cliffs, NJ.

492 questions
6
votes
5 answers

How do you refine your estimation process?

Estimating how long any given task will take seems to be one of the hardest parts about software development. At my current shop we estimate tasks in hours at the start of an iteration, but once the task is complete we do not use it to aide us in…
Rontologist
  • 3,568
  • 1
  • 20
  • 23
6
votes
6 answers

Scrum and Story Points - why ideal man-days not ideal man-hours?

I am used to thinking about time estimates in the way suggested by Joel Spolsky - that if a scheduled item takes more than 16 hours, it should be divided into smaller tasks. Now, I am implementing Scrum in my team together with Story Points based…
Michal Czardybon
  • 2,795
  • 4
  • 28
  • 40
6
votes
7 answers

How to manage agile development when the team is not stable?

I have been using agile approaches (XP and Scrum) for my projects for several years with great results. But in all cases, all members of the dev team were committed 100% to the project. Now I am faced with doing this when the team is not stable. For…
Martin Wickman
  • 19,662
  • 12
  • 82
  • 106
6
votes
1 answer

Curvature estimation from image

I have images like this ones: In this images the red line is what I want to get from the image. Original images do not have that red lines, but only that green road. What I want is to estimate the curve from image in form of a coeffitients of…
maximus
  • 4,201
  • 15
  • 64
  • 117
6
votes
12 answers

How does one deal with Hofstadter's law?

When estimating tasks, how does one break from the grip of Hofstadter's law?
ripper234
  • 222,824
  • 274
  • 634
  • 905
5
votes
1 answer

Project estimation using Artificial Intelligence / Neural Networks

I'm trying to create a tool that can estimate how many days a project will take to complete, given dozens or hundreds of factors and parameters. I don't have much experience with Artificial Intelligence / Neural Networks / Machine Learning but from…
5
votes
1 answer

Selectivity estimation error on a simple query

Let us have a simple table tt created like this WITH x AS (SELECT n FROM (VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) v(n)), t1 AS ( SELECT ones.n + 10 * tens.n + 100 * hundreds.n + 1000 * thousands.n + 10000 * tenthousands.n as id FROM x…
Radim Bača
  • 10,646
  • 1
  • 19
  • 33
5
votes
0 answers

Is there any solution for better fit beta prime distribution to data than using Scipy?

I was trying to fit beta prime distribution to my data using python. As there's scipy.stats.betaprime.fit, I tried this: import numpy as np import math import scipy.stats as sts import matplotlib.pyplot as plt N = 5000 nb_bin = 100 a = 12; b =…
Fay
  • 105
  • 1
  • 5
5
votes
4 answers

Time estimation for a user story

How do you estimate the time needed to implement a user story? If it's something you had done before you know how long it'll take. But what about if it's completely new to you? How much time do you reserve for "surprises"?
grigy
  • 6,696
  • 12
  • 49
  • 76
5
votes
4 answers

Error using solvePnPRansac function

I'm using Python 2.7 and opencv 3.0.0. I'm trying to do a pose estimation on a live video. So i used the calibrate.py gave by opencv. it works good. In this program, I added at the end lines to treat the informations in order to pose axis. I used…
5
votes
10 answers

How to decide: build from scratch or reverse engineer off the shelf solution

Let's say someone asked me to build them a youtube clone with a lot of customizations to support a whole bunch of wacky things they want to do. How do I decide if it's better for me to build from scratch vs. build off a white label or open source…
John
  • 32,403
  • 80
  • 251
  • 422
5
votes
4 answers

Travelling Salesman Shipping Depreciating Items to Different Markets

What would be a good heuristic to use to solve the following challenge? Quality Blimps Inc. is looking to expand their sales to other cities (N), so they hired you as a salesman to fly to other cities to sell blimps. Blimps can be expensive to…
Ari
  • 1,974
  • 19
  • 30
5
votes
2 answers

SQL for query cost estimate on SQL Server

In SQL Server, is there some magic SQL I can preprend my SQL query to get an estimated query cost rather than the query executed? Possibly something like the below is my best guess myself.. seems very verbose though SET STATISTICS PROFILE…
Carlo V. Dango
  • 13,322
  • 16
  • 71
  • 114
5
votes
1 answer

IIS scalability

I have been tasked recently to estimate number of concurent users that IIS can handle. Unfortunately, I have 0 experience with IIS, so I hope someone will guide me where to look. I hope I will not have to do my own benchmarking in this phase. I…
Marko
  • 30,263
  • 18
  • 74
  • 108
5
votes
2 answers

How do I get sufficient detail in planning and estimation when using TDD?

When planning a 2-week iteration in the past I have taken a user story: Story: Rename a file And broken it into tasks which were then estimated in hours: Story: Rename a file Task: Create Rename command (2h) Task: Maintain a list of selected…
GraemeF
  • 11,327
  • 5
  • 52
  • 76