Complex Calculation



I'm fairly new to SQL server 2005
database. The client wants to use weighted parameters(5) or areas
of a project, rated from 1-5 on a scale of 1 being the highest, and
the Cost of each project.
i.e. Project A Param1=1, Param2=4 , Param3=1, Param4=2, Param5=5 , Cost= $50000
Using the least squares fit they want to be able to calculate a
projected cost for a project with same weighted parameters.
With this being said I was wondering what I could use to do this using the information from the SQL Server. >Example:

Currently this is a formula used for calculating the least square's fit using a matrixs
Each Row of completed Project Cost for a completed project
ex. Matrix A = 1, u1, v1, w1, x1 Matrix b = M1
1, u2, v2, w2, x2 M2
1, u3, v3, w3, x3 M3
1, un, vn, wn, xn Mn


where u,v,x are weighted parameters where M is a a project


x=(A^T * A)^-1 * (A^T * b) x is the function that defines the least
squares curve for the data set

.



Relevant Pages

  • Re: Tatas $2500 59mpg car on display in January
    ... The key to the electrics is, I think, the introduction of lithium ion ... Scale them up a bit and electric cars become viable, ... Not cost effective for the consumer (the LI's don't ... Secondly, using the motor as ...
    (soc.retirement)
  • Re: Resources = Rates
    ... man-hours directly billed to the client, or we have a fixed price project in ... track both cost and billing rate in regards to labor in order to be able to ... Project's cost calculations are aimed ... certain fixed amount per day regardless of the amount of time the resource ...
    (microsoft.public.project)
  • Re: UI Pricing Strategies
    ... we strictly have no components on the client end that have run-time ... don't have to copy-protect or allocate licence keys etc for our client ... will simply write off this cost ourselves. ... > 7) Thin client licenses are pooled with some estimated N-to-1 ratio. ...
    (comp.databases.pick)
  • Re: Using an External IMAP Client
    ... the cost is going to be too high I think for the budget we have. ... Exchange is kinda overkill for POP or IMAP. ... an external web based client to connect via IMAP to retrive and send ...
    (microsoft.public.exchange.setup)
  • Re: Solar concentrator design.
    ... > scale with volume, so to speak. ... Solar devices just don't benefit from the normal ... > control will continue to reduce in cost at any rate. ... I propose a combination of several heliostats and 1 dish. ...
    (sci.energy)