Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 31137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:33:27+00:00 2026-05-10T13:33:27+00:00

Google is not being my friend – it’s been a long time since my

  • 0

Google is not being my friend – it’s been a long time since my stats class in college…I need to calculate the start and end points for a trendline on a graph – is there an easy way to do this? (working in C# but whatever language works for you)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T13:33:27+00:00Added an answer on May 10, 2026 at 1:33 pm

    Given that the trendline is straight, find the slope by choosing any two points and calculating:

    (A) slope = (y1-y2)/(x1-x2)

    Then you need to find the offset for the line. The line is specified by the equation:

    (B) y = offset + slope*x

    So you need to solve for offset. Pick any point on the line, and solve for offset:

    (C) offset = y – (slope*x)

    Now you can plug slope and offset into the line equation (B) and have the equation that defines your line. If your line has noise you’ll have to decide on an averaging algorithm, or use curve fitting of some sort.

    If your line isn’t straight then you’ll need to look into Curve fitting, or Least Squares Fitting – non trivial, but do-able. You’ll see the various types of curve fitting at the bottom of the least squares fitting webpage (exponential, polynomial, etc) if you know what kind of fit you’d like.

    Also, if this is a one-off, use Excel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking for about an hour now, google is not being my friend.
I am not being able to import com.google.gwt.view.client.ListViewAdapter;. I have GWT 2.1 and it
I noticed that i have not being getting traffic via google organic searches. I
Google is not being very helpful here. I'd like to compose emails with :set
I'm not being able to import a particular class ( FinanceService ) from a
In brief: my site is not being indexed by Google. Google has a lot
I have a Groovy Web application which is NOT being deployed on Google app
Drawing a blank on this, and google was not helpful. Want to make a
I've got to be missing something simple, but Google is not helping. My file
I do not know why my google markers are not showing. I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.