+ Reply to Thread
Results 1 to 6 of 6

Ploting mean + SD's on a Temperature chart

  1. #1
    Registered User
    Join Date
    04-21-2019
    Location
    Germany
    MS-Off Ver
    2019 for Mac
    Posts
    3

    Ploting mean + SD's on a Temperature chart

    Hello everyone!

    I need a bit of help with the following situation: I have an Excel sheet with 2 groups of different patients and temperatures measured every 5 minutes for each patient. Now I need to plot the data in a chart as mean +SD but I can't figure out how to do it. Tried box and whiskers, scatters but I am not pleased with the result. It has to look like in the attached picture. The Temperatures plotted as means with SDs.

    Thanks in advance guys!

    Screenshot 2019-04-21 at 19.15.42.jpg

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,820

    Re: Ploting mean + SD's on a Temperature chart

    That looks to me like a basic scatter chart with two data series. The "active warming" data series has positive error bars -- presumably taken from a column containing the standard deviation for each point. The "no active warming" data series has negative error bars -- again, I assume that the values for the error bars are taken from a column computing the standard deviation for each point.

    Not knowing exactly what you have tried or what you are familiar and not familiar with, I would expect:

    1) Compute average and standard deviation for each data series in the spreadsheet.
    2) Select the time and average columns and insert a scatter chart.
    2a) If Excel does not get the data series definitions correct, bring up the select data dialog and fix up the data series ranges.
    3) Add error bars to both data series.
    4a) Format the "active warming" series error bars to be only positive error bars and to use the values from the appropriate standard deviation column.
    4b) Format the "no active warming" series error bars to be only negative error bars and to use the values from the appropriate standard deviation column.

    What step do you have trouble with?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    04-21-2019
    Location
    Germany
    MS-Off Ver
    2019 for Mac
    Posts
    3

    Re: Ploting mean + SD's on a Temperature chart

    and if the time and average are on rows not columns? I have no idea what I am doing wrong but it does not show up like it should

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,820

    Re: Ploting mean + SD's on a Temperature chart

    rows/columns should not matter -- as long as the chart series get defined correctly.

    I cannot tell what you might be doing wrong from this side of the internet either. Can you upload a sample file (with anonymous data)?

  5. #5
    Registered User
    Join Date
    04-21-2019
    Location
    Germany
    MS-Off Ver
    2019 for Mac
    Posts
    3

    Re: Ploting mean + SD's on a Temperature chart

    I think I got it! Here is the result:

    One more question: I've used =ROUND(STDEV.P(C6:C505);2) to compute the SD with 2 decimals and =ROUND(SUM(C6:C505)/COUNT(C6:C505);2) for the means. Is it right from a mathematical point of view?
    Attached Images Attached Images

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,820

    Re: Ploting mean + SD's on a Temperature chart

    For the average calculation, you are using SUM()/COUNT(), which is technically correct. Is there a reason you are avoiding the AVERAGE() function -- which should give the exact same result?

    For the SD calculation, you are using the STDEV.P() function, which calculates the standard deviation for a population. The STDEV.S() calculates the standard deviation of a sample. I cannot say if you are understanding the subtle difference between sample standard deviation and population deviation and are using the correct one. Depending on what you are doing, it may be worth the effort to go back to your statistics text and review the difference and make sure you are using the correct one.

    I tend to not use the ROUND() function for something like this, because I don't usually want to limit the precision of the final result. Only you can know if rounding to 2 decimal places is needed or wanted here.

    The only mathematical question that I see is whether you should be computing population or sample standard deviation, and I cannot tell from here which is the case.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ploting from Tables
    By NS273 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-02-2014, 10:10 AM
  2. How to find high and low temperature cycles in a column of temperature data
    By landwanderer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-13-2012, 11:14 AM
  3. Ploting two data serious on the same chart
    By kfcnhl in forum Excel General
    Replies: 1
    Last Post: 12-31-2010, 10:06 AM
  4. x,y ploting
    By oldron34 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-11-2007, 02:55 PM
  5. [SOLVED] HOW DO I USE EXCEL FOR QUALITY CONTROL CHART SUCH AS TEMPERATURE .
    By GEE in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-30-2006, 09:30 AM
  6. ploting properly spaced "day" chart
    By namsilat in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 08-17-2005, 11:06 AM
  7. [SOLVED] How do I enter temperature symbol in a chart legent
    By DS in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 01-31-2005, 10:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1