×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Allowable trendlines

Allowable trendlines

Allowable trendlines

(OP)
I have about 8 pairs of x,y data I want to fit a trendline to. The options available though are only for linear, polynomial, exponential, and moving average. The power and logarithmic options are greyed out. Why should that be?

corus

RE: Allowable trendlines

Don't know.

Try using the LINEST() or LOGEST() functions directly on the underlying data rather than the trendline feature of charts.  Excel's help sort of explains how to use LINEST to achieve higher order polynomial fits.  

Both functions are array functions.   

RE: Allowable trendlines

Power function is linear Log(y) vs Log(x) plot, Log function is a linear y vs Log(x) plot.  The Log(0) = infinity, and the Log(-x) does not exist.  Therefore, if your data contains either 0 or negative numbers, you cannot use the power or log functions.  

Try shifting the data by a constant(C) so the lowest data point is +1.  Then, the plotted log function is y = m Log(x+C)+b and plotted power function is Log(y+C1)= m Log(x+C2)+b

Or, if an entire series is negative, multiply by -1 so the plotted log function is y = m Log(-x)+b and plotted power function is Log(-y) = m Log(-x)+b
 

RE: Allowable trendlines

(OP)
Many thanks. As you said, the data contains x=0. Changing that to 1e-6 allows multi-types of curve fit.  

corus

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources