Regression Analysis for a Gamma function

AI Thread Summary
The discussion focuses on modifying a regression analysis program to incorporate a Gamma function for modeling flow data from a flooding situation. The user seeks to transform the Gamma function into a non-linear log form and is exploring methods to determine the constants P, s, and f using 18 available data points. They consider using matrices for regression despite having more data points than variables. The proposed regression model includes two independent variables, log t and t, to solve for the parameters effectively. The conversation emphasizes practical application rather than theoretical exploration.
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.
 
I was reading a Bachelor thesis on Peano Arithmetic (PA). PA has the following axioms (not including the induction schema): $$\begin{align} & (A1) ~~~~ \forall x \neg (x + 1 = 0) \nonumber \\ & (A2) ~~~~ \forall xy (x + 1 =y + 1 \to x = y) \nonumber \\ & (A3) ~~~~ \forall x (x + 0 = x) \nonumber \\ & (A4) ~~~~ \forall xy (x + (y +1) = (x + y ) + 1) \nonumber \\ & (A5) ~~~~ \forall x (x \cdot 0 = 0) \nonumber \\ & (A6) ~~~~ \forall xy (x \cdot (y + 1) = (x \cdot y) + x) \nonumber...
Back
Top