.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #32  
Old March 22nd, 2005, 01:55 AM

Evil Dave Evil Dave is offline
Corporal
 
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
Evil Dave is on a distinguished road
Default Re: Unit Cost Equation

Quote:
Scott Hebert said:

Unfortunately, I don't very much at all about regression testing, so it's hard for me to grasp much of the jargon.
No problem. Say you wanted to model the damage the units do in Dom2. You'd probably guess it was some function of strength and weapon damage.

So, you'd make a model like:

damage = A * strength + B * weapon damage

"strength" and "weapon damage" are the regressors (or contributors). A and B are their coefficients. The regressors also each have p-values, which is the likelihood they're due to chance -- 1%, 5%, and 10% are typical cut-offs for scientific work. The whole model has an R-squared, which is the fraction of the variation of the data it explains. R-squareds range from 0 to 1.

So, in this toy example, strength and weapon damage would probably have very small p-values (probably less than 0.01), but the R-squared would probably be pretty low, because the 2d6oe tends to swamp out the effects of the regressors.

Hope that helps.
__________________
No plan survives contact with the enemy.
--Helmut von Moltke

Have too may pretender files to keep track of? Use catgod to view them.
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:07 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.