Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

logarithmic curve fittting regression 3

Status
Not open for further replies.

pieropiero

Industrial
Oct 1, 2003
2
I am referring to the regression formulas as mentioned in the HP-67 Standard Pack. I have translated into basic language the regression formulas for Linear, Exponential and Power curve fitting and they all work alright. However I am unable to make the Logarithmic formula work and I think there must be some mistake in the formula itself. Can any oldtimer check, or supply another formula from another source? (which I am unable to locate).
I do not need the Basic program lines but just a correct formula which will work correctly for Logarithmic curve fitting.
Many thanks and I will do my best to reciprocate.
Pieropiero
 
Replies continue below

Recommended for you

Could you pse explain what you are trying to do ?

<nbucska@pcperipherals.com>
 
Hello pieropiero,
the transformation to fit the data into a logarithmic curve works for values of independent variable where x>0 otherwise you will get an error message. Did you consider this fact?

m777182
 
I did the same thing with the formulas from my old HP-19C; I'll bet your problem has to do with values of x <= 0.

Show us your input data -

[pacman]

Please see FAQ731-376 for great suggestions on how to make the best use of Eng-Tips Fora.
 
the formula that I use can be seen at
ftp.agilent.com/pub/mpusup/pc/hbw/hbwnotes/xstats.mb

the three formulas for linear, exponential, power regression all work alright but I am unable to make the logarithmic regression formula work

the problem is definitely not with negative input.

I am not sure if I can read the formula correctly.
Can someone explain step by step to me how I can properly
proceed? I am probably wrong in summatory handling
 
I tried the logarithmic formula and it worked fine for me so I presume it is your implementation of the formula not the formula itself.


 
could you please repost the link? The link to basic program is not working. or Could you send me that to grsuresh@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor