Subscribe Bookmark RSS Feed

Bivariate Power Coefficient Curve Fit in JMP

mikes1098

Community Trekker

Joined:

Mar 18, 2013

I am trying to do a very simple Power Coefficient Fit in JMP.  In excel it is very simple – therefore I know JMP has to be able to do it…but for the life of me I cannot figure it out.... any ideas would be greatly appreciated

Simple Data Set Example:

Attatched

Excel fit that I am trying replicate:

3230_ScreenShot2882.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
ms

Super User

Joined:

Jun 23, 2011

Solution

You can use the Fit Model platform or Fit Special in the Fit Y by X platform. Fit Special is found under the red triangle in the Fit Y by X report. Choose log transform for both Y and X variables.

A scripting example:

Bivariate(

  Y( :y axis ),

  X( :X axis ),

  Fit Special( xTran( "Log" ), yTran( "Log" ), {Line Color( {208, 64, 86} )} )

);


Results in the equation Log(y axis) = -2,178489 - 0,3877925*Log(X axis),

which is equivalent to  y axis=0.1132 x axis^-0.388


2 REPLIES
ms

Super User

Joined:

Jun 23, 2011

Solution

You can use the Fit Model platform or Fit Special in the Fit Y by X platform. Fit Special is found under the red triangle in the Fit Y by X report. Choose log transform for both Y and X variables.

A scripting example:

Bivariate(

  Y( :y axis ),

  X( :X axis ),

  Fit Special( xTran( "Log" ), yTran( "Log" ), {Line Color( {208, 64, 86} )} )

);


Results in the equation Log(y axis) = -2,178489 - 0,3877925*Log(X axis),

which is equivalent to  y axis=0.1132 x axis^-0.388


mikes1098

Community Trekker

Joined:

Mar 18, 2013

Thanks MS, thank worked perfectly... you have no idea how long I was looking for that....