Project Management

Can Multiple Linear Regression predict project completion times?

TH Asked by Thomas Anderson · 15-05-2023
0 upvotes 5,947 views 0 comments
The question

I'm trying to move away from "gut feelings" in my project planning. Can I use multiple linear regression to predict how long a software module will take to build based on variables like team size, lines of code, and historical bug rates? How many independent variables are too many before the model becomes unreliable? I want to use business statistics to improve our Agile velocity. 

3 answers

0
P
Answered on 18-07-2023

Multiple linear regression is excellent for this, but watch out for "Overfitting." If you add too many variables—like what the team ate for lunch—the model will fit your past data perfectly but fail to predict the future. Stick to 3-5 high-impact independent variables. Also, check for "Multicollinearity." For example, if 'lines of code' and 'number of files' are perfectly correlated, you shouldn't use both. Use the $R^2$ value to see how much of the variance in time your model actually explains. It’s a game-changer for sprint planning! 

0
KE
Answered on 05-08-2023

How are you handling the qualitative factors, like "team experience level"? Do you plan to use dummy variables to turn those categories into numbers for your regression analysis? 

WI 12-08-2023

Kevin, dummy variables are the way to go for things like seniority. You can assign '1' for senior teams and '0' for junior ones. This allows the regression model to calculate a specific "coefficient" for experience. Just remember that regression assumes a linear relationship; if a team of 10 isn't twice as fast as a team of 5, you might need a more complex non-linear model.

0
LI
Answered on 27-08-2023

It’s much better than guessing! Just make sure your data is clean. If your historical bug rates were tracked inconsistently, the whole model will be "garbage in, garbage out." 

PA 30-08-2023

Linda is right. Data cleaning is 80% of the work in business statistics. If the inputs are flawed, the regression coefficients won't mean a thing for your Agile team.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

World globe icon Country: Canada

Book Free Session