Regression Analysis for a Gamma function

chicopee
Messages
12
Reaction score
0
[SOLVED] Regression Analysis for a Gamma function

My regression analysis program that I developed in BASICS back in the 1980's applies for half a dozen linear equations some of which are transormed into log forms. I would like to modify my program to include this Gamma function: I(t)=P*(t^s)*(e^(-ft)) which I can transform into this equivalent non- linear log form: Ln I(t)=Ln P + s*Ln t + (-ft); P,s and f are constants; t if for time; I(t) has for units cu.ft/sec or cu.m./sec. Is there any way to take care of the term (-ft). I got 18 data points available for this regression .

I am not looking forward to trial and error to determine the constants P,s and f.

Here is another thought. Since I have 18 data points (flow vs time), can I solve theses constants with matrices using this transformation: Ln I(t)=Ln P + s*Ln t + (-ft) eventho I would have 18 rows and and only 4 columns?
 
Physics news on Phys.org
Note, my request is not homework. This is a real situation involving a flooding situation arising from tropical storm Tammy back in 2005.
 
Why not run the regression y(t) = a + b1 x1(t) + b2 x2(t) + error, where y = log I, x1 = log t, x2 = t, and the parameters are a = Log P, b1 = s, b2 = -f?
 
Yeah, I see what you mean. Instead of one independent variable, I'll two in that transformed equation. Thx.
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top