Adding a trendline in Numbers

Can I add trend line for my charts in Numbers for iPad?

If you notice in my first response... the top screenshot shows a plot with a trend line that shows the equation.  I used the slope and offset in the formula that extend the "prediction"
you could use the forecast() or linest() function to create this prediction with out the trend line.
Here is another example:
I entered actual (but made up) data in columns A and B
then I calculate the slope and intercept of that data in column F
F3=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 1)
F4=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 2)
now in columns C and D I enter X values and calculate predicted Y values using the slope and intercepts:
D2=$F$3×C2+$F$4
select D2 and fill down as needed

Similar Messages

  • What statistical methodology is used to create a trendline in numbers

    I am doing a paper and have a trendline generated by Numbers on a scatter plot, and would like to avoid confirming my 'm' and 'b' values with a least squares calculation.  Does anybody know what methodology is used in the algorithm that calculates trendlines in numbers so I can report that rather than doing the calculation myself?

    Hi Michael,
    It's really surprising what one can learn by reading the documentation supplied by Apple.
    A search of the iWork Formulas and Functions User Guide using 'least squares' as the search term brings up two hits, both describing the LINEST function.
    The same search in the Numbers '09 User Guide returns no results, but a search on 'trendline' returns many, with most occuring on two consecutive pages. Clicking one of these brings up the article Showing Trendlines in Charts, which doesn't directly mention "least squares", but does imply that method in the following note (emphasis added):
    To see the R-squared value that was used to calculate a trendline, select the line, and then select Show R^2 Value. You can drag this number to wherever you want it to appear on the sheet.
    Both these invaluable user guides are available for download via the Help menu in Numbers '09.
    Regards,
    Barry

  • Is there any way of extending a polynomial trendline in Numbers '09?

    Hi,
    The question title says it all really.  Is there any way of extending a polynomial trendline in Numbers '09, beyond the data that I currently have?  I can do this in Excel, but would like to be able to do this in Numbers too.
    Thanks,
    Nick

    Unfortunately there is no "forecast" feature for trendlines in Numbers. Wayne showed how to use the trendline equation from the chart to create additional data points for the chart.  This is by far the simplest way to do it in Numbers but it has two drawbacks:
    If your data changes, you'll need to manually readjust the coefficients for your forecasted point(s).
    The precision of the coefficients is only three decimal places. The forecasted Y values using these coefficients might not be as accurate as you would like. For example, compare the forecasted Y value in Wayne's table at X=20 to the one in the table below.
    You can avoid both problems by calculating the trendline coefficients in your table using the LINEST function. it is a little more work in the setup but it might save you time in the long run if your data changes a lot. Here is an example of for 2nd order polynomial:
    The last "real" data point is in row 10.
    Formula for column D =A
    Formula for column E =A*A
    F2 = the coefficient for X^2 =INDEX(LINEST(B2:B10,D2:E10),1)
    G2 = the coefficient for X =INDEX(LINEST(B2:B10,D2:E10),2)
    H2 = the constant =INDEX(LINEST(B2:B10,D2:E10),3)
    Note: If you later need to add an additional data point at the end of your data, go to the last row of your data (in this example it is row 10) and "add row below".  This way the formulas for the coefficients will adjust automatically to include the new row.

  • Trendlines in Numbers 09

    I am trying to make a trendline in Numbers 09 but I can't set the trendline to go through the origin (0,0). Is there a way to do this?

    Linear trendline makes this easy. You can create a datapoint that is directly on the line and that will get the line to go through zero. Put a negative number in your X column then use the FORECAST function to calculate the Y. Select this row along with the rest of your data for your chart. Set the min for the X axis to zero so this fake "datapoint" doesn't actually show on the chart. Similarly, if you want the trendline to continue out to the right past the end of your X data, put in a larger X, use FORECAST to determine the corresponding Y, and set the max for the X axis to be less than that X. Neither of these points will affect the trendline (other than extending it).

  • Can a trendline in Numbers be extended to see predictions without adding data that does not exist?

    The spread sheet that I'm working with adds daily data over a 6 month timeframe. The trendline stops at the newest data point. I would like to know what to expect in 6 months so I can make adjustments to adjust progress. I would like to do this without adding false data that I don't have yet.
    Thanks

    If you notice in my first response... the top screenshot shows a plot with a trend line that shows the equation.  I used the slope and offset in the formula that extend the "prediction"
    you could use the forecast() or linest() function to create this prediction with out the trend line.
    Here is another example:
    I entered actual (but made up) data in columns A and B
    then I calculate the slope and intercept of that data in column F
    F3=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 1)
    F4=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 2)
    now in columns C and D I enter X values and calculate predicted Y values using the slope and intercepts:
    D2=$F$3×C2+$F$4
    select D2 and fill down as needed

  • Adding trendline in Numbers for iPad

    Can I add trendlines for my charts in Numbers for iPad?

    Don't type the two letters "nu" but the three "ios" ones.
    You will get two entries :
    iMovie for iOS
    and
    iWork for iOS (which is ridiculous because this product doesn't exist).
    Clicking on this late entry you will enter a community grouping questions upon the three apps.
    Click the button "Refine this list" to restrict to Numbers.
    I already asked the forum staff to change this odd behavior so that
    typing nu offer Numbers 4 iOS
    as well as Numbers 4 mac OS
    And of course, same request for Keynote and Pages.
    Wait and see.
    Yvan KOENIG (VALLAURIS, France) samedi 25 juin 2011 12:08:36
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Numbers hangs consistently upon adding a trendline.

    As the subject says. I'm making a scatter plot, all is well. Nice and easy to make. But, as soon as I add a trendline to it, Numbers freezes, then seemingly corrupts the file, making it hang every time I open it again.
    What can I do... besides download Open Office and use that instead?

    Well, I figured it out for myself. Permissions did nothing, nor did the preferences file.
    However, it turns out Numbers was getting stuck with my trendline because one of the values was a gigantic outlier. Think most values plotting below 1.0, and this one plotting at 140.
    Thanks for the help, though. Much appreciated!

  • How do I add a trendline in numbers for iPad?

    I want to add a trendline to a 2D scatter chart in numbers on my iPad Air. Can anyone help me with this?

    if you want to add a linear best fit line you can get the parameters for that line from your existing data and make a NEW series:
    Using my previous charts you can add a new table (in this case below the chart) used to calculate the slope (m) and the y-intercept (b) for each of the original series.  Then you can use those two values with the original X values to construct a best fit line.  The bottom table is named "Best Fit Constants" and is constructed:
    B1=INDEX(LINEST(Data :: C,Data :: B,TRUE), 2)
    B2=INDEX(LINEST(Data :: C,Data :: B,TRUE), 1)
    D1=INDEX(LINEST(Data :: E,Data :: D,TRUE), 2)
    D2=INDEX(LINEST(Data :: E,Data :: D,TRUE), 1)
    The original table (which I named "Data") is constructed as follows:
    F2=B2
    G2=Best Fit Constants :: $B$1+Best Fit Constants :: $B$2*F2
    H2=D2
    I2=Best Fit Constants :: $D$1+Best Fit Constants :: $D$2*H2
    select F2 thru I2 and fill down as needed.  Expand the graph range by selecting the chart,
    then dragging the data range controls (in the table) to include the best fit data

  • SMS... iPhone spontaneously adding 1 to phone numbers, resulting in error

    I have all of my contact phone numbers stored as 10 digit numbers.
    Recently, when texting to some of these contacts, the iPhone has started adding the extra digit "1" before the phone numbers, resulting in error messages, and undelivered text messages.
    What gives? Has anyone else had this problem?

    you can do this with apple script.
    Paste the following into Script Editor and run it.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Address Book"
    set NP to number of people
    repeat with i from 1 to NP
    set pers to person i
    repeat with cphone in phones of pers
    if value of cphone is not equal to "" then
    set cur_phone to value of cphone
    set value of cphone to "1" & cur_phone
    end if
    end repeat
    end repeat
    end tell</pre>

  • Adding two special double numbers

    Adding two double numbers.
    say, 12543.34 and 42895.00 am getting in the decimal part .3999999.
    Now I want .34 instead .399999 and how??
    Can any body help me ??

    Read this (or search the forums--this question is asked at least once a day):
    http://docs.sun.com/source/806-3568/ncg_goldberg.html

  • Adding Titles & Lines in Numbers

    How can I add a title to my spreadsheet?
    How can I add lines in the spreadsheet to distinguish some of the cells and rows? A partial line would be sufficient, either a ..... or a - - - - .

    How can I add a title to my spreadsheet?
    You can display the name of any table by selecting the table, then checking the Name box in the Table Inspector. Table names are edited in the Sheets list. Double click the name beside the Table's icon to place the insertion point in the box, then edit as you would a file name.
    (Page) Headers can be used to display Sheet titles. Headers (and footers) are visible only in Print View (View menu > Show Print view), where they appear at the top of each page. Text is usually centered, but I've used Left alignment here to compact the image. Headers are independent for each Sheet. The light grey lines in the image are the page layout markers (View > Show Layout), and are generally hidden. 
    For a title that is to appear when Print view is hidden, and is to appear only once, use a Text box.
    How can I add lines in the spreadsheet to distinguish some of the cells and rows? A partial line would be sufficient, either a ..... or a - - - - .
    You can use Borders on individual cells, a group of cells or a full row or column.
    You can use fill colour in individual cells, a group of cells or a full row or column.
    You can set the contents to bold, italic or underline or change the text colour to highlight cells or rows.
    All of these are set using controls in the format bar or in the Inspector. Details on much of this can be found in Chapter 5, Working with Table Styles of the Numbers '09 User Guide. Numbers vocabulary, which will help in clarifying your future questions, may be found in Chapter 1. The guide may be downloaded via the Help menu in Numbers.
    Regards,
    Barry

  • Adding pedigree chart in numbers

    i need to add a pedigree chart that i can work on and subsequently print, to my i-work, i thought numbers might be appropriate as they have a blank available, i tried copying from my scanner but couldn't add my dogs family details to the copy, does anyone know how to do this, many thanks for your time and attention, fortune.

    Hi fortune,
    Thank you for the feedback, very much appreciated. It's my hope your chart turns out well for you.
    Being as you're new to these Discussions please allow me to suggest two things that will greatly assist you:
    1. Use the Search feature to the upper right of Discussions. Many thousands of questions have been asked, their answers will provide you direct solutions, tips, or workarounds.
    2. In your iWork program click Help > ...User Guide, it contains much useful information. If after doing those two things still you cannot find your question, a similar question, or an appropriate answer to your question then by all means ask your question. Truly we'll be pleased to assist you.
    Many folks are not aware these Discussions are user helping user, these are not Apple employees answering questions. All questions will be answered as a user such as yourself has time, desires to, or, knows the answer and is capable of responding.
    Again, a sincere welcome to Apples Discussions, have fun here.
    Sincerely,
    RicD

  • Adding and dividing in Numbers

    I have experience with Excel but none with Numbers.  I have imported an old Excel spreadsheet into Numbers and updated the information for the current year.  However, I am unsure how to add a number of cells and then divide the total by another number, for example:
    (A1+A3+A6)/3      Can't seem to write a formula like this in Numbers. Help would be appreciated.

    david,
    this is done the same way in Numbers as you would do in Excel.
    select the cell where you want the answer then type:
    =(A1+A3+A6)/3

  • Adding a currency in numbers missing custom format option

    I just paid for numbers latest version June 2012. iPad 3' v5.1.1.     Want to format a cell as a currency not in the little list chosen by apple.  Forums suggest using the custom format option but I can not see this anywhere?  Any ideas how to add a custom format or how to extend the list of currencies to all currencies. If nothing else missing out a countries currency as too unimportant to include is just plain rude!

    1) You posted to the Numbers on Mac OS X forum ( Apple Support Communities > iWork > Numbers >   Discussions ).  The iWork for iOS forum is more likely to provide the direct answer...
       it is here:  https://discussions.apple.com/community/app_store/iwork_for_ios
    2) you can add custom formats (demonstrating from Numbers for Mac OS X) by opening the cells inspector:
    Then naming the new format and setting the parameters of the format:
    If the currency symbol is not in the list then you can preceed (or follow) the value with the proper symbol:
    I decided to demonstrate this by showing a preceeding infinity sign before the amount:

  • Adding two random generated numbers together?

    I'm writing a program for a class in which we have to simulate a two die rolling. So I got the computer to generate to random numbers, and now I need to add them to get the rolled die's sum. This info will then be organized into a chart. But I have no idea how to add to randomly generted numbers together, can anybody help me??
    import java.util.Random;
    import java.util.Scanner;
    public class Test
        public static void main(String [] args)
            //Start
            Scanner in = new Scanner (System.in);
            int randDieNum1 = 0;
            int randDieNum2 = 0;
            Random randDieNum1List = new Random();
            Random randDieNum2List = new Random();
            //User Input
            System.out.print("Number of Rolls: ");
            int numToRoll = in.nextInt();
            //Testints
            //Loop
            for(int rolled = 0; rolled != numToRoll; rolled ++)
                int randDie1 = randDieNum1List.nextInt(6) + 1;
                int randDie2 = randDieNum2List.nextInt(6) + 1;
                System.out.println("RandNum1: " + randDie1);
                System.out.println("RandNum2: " + randDie2);
                int final = (int)randDie1 + (int)randDie2;
                System.out.println("Add: " + randDie1 + randDie2);
    }

    You can't call the variable "final" as that's a Java keyword. Try something like "sum" or "total".
    (Also consider just using a single Random object and calling it twice to obtain the value for each of the dice.. And don't (cast) for the fun of it or as a talisman to ward off compiler messages.)

Maybe you are looking for

  • Members Not Rolling Up Correctly

    Good morningWhen working with Excel at the bottom level the members have the correct values. I calculate them in a script. The problem arises when you look at the values at the parent level, the values are no longer in their seperate members but roll

  • Windows 2003 Standard Edition (Cluster Configuration Storage page)

    I am trying to install RAC R2 on windows Server 2003 (Standard Edition). I am using FireWire 800 SIIG to connect to Maxtor OneTouch III External HDD. When installing cluster Services, i do not see the Cluster Storage Devices. When i go to Computer Ma

  • OIM design console concepts

    I want to understand the link between various components of design console. what are resource objects, process defn, adapters, process tasks,adapter tasks and how all these are inter related. i need just an overview. please explain.

  • Help with a simple iterator question

    the question is how to reset an iterator so it points to the beginng of a collection. Here is a piece of code. Thanks in advance: import java.io.*; import java.util.*; public class IteratorTest { public static void main(String[] args) { List list = n

  • Ipod Nano 1st Gen Recall - What do we receive??

    I have a 1st Gen Nano and I will be getting a new one from the Recall program - do we get the latest nano, or a brand new 1st gen one sent to us?