Diff for "FAQ/ExcelErrorBarPlot" - CBU statistics Wiki
location: Diff for "FAQ/ExcelErrorBarPlot"
Differences between revisions 12 and 14 (spanning 2 versions)
Revision 12 as of 2009-04-29 13:10:29
Size: 2350
Editor: PeterWatson
Comment:
Revision 14 as of 2009-04-29 13:15:43
Size: 2306
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
||||||<style="TEXT-ALIGN: left"> '''A1: Statistic''' || '''B1: a''' || '''C1: b''' || '''D1: c''' ||
||||||<style="TEXT-ALIGN: left"> '''A2: median''' || '''B2: 40''' || '''C2: 45''' || '''D2: 50''' ||
||||||<style="TEXT-ALIGN: left"> '''A3: q1''' || '''B3: 20''' || '''C3: 22''' || '''D3: 30''' ||
||||||<style="TEXT-ALIGN: left"> '''A4: min''' || '''B4: 10''' || '''C4: 15''' || '''D4: 18''' ||
||||||<style="TEXT-ALIGN: left"> '''A5: max''' || '''B5: 100''' || '''C5: 110''' || '''D5: 90''' ||
||||||<style="TEXT-ALIGN: left"> '''A6: q3''' || '''B6: 70''' || '''C6: 75''' || '''D6: 57''' ||
||||||<style="TEXT-ALIGN: left"> ''A1: Statistic'' || ''B1: a''  || ''C1: b''  || ''D1: c'' ||
||||||<style="TEXT-ALIGN: left"> ''A2: median''    || ''B2: 40'' || ''C2: 45''  || ''D2: 50'' ||
||||||<style="TEXT-ALIGN: left"> ''A3: q1''        || ''B3: 20'' || ''C3: 22''  || ''D3: 30'' ||
||||||<style="TEXT-ALIGN: left"> ''A4: min''       || ''B4: 10'' || ''C4: 15''  || ''D4: 18'' ||
||||||<style="TEXT-ALIGN: left"> ''A5: max''       || ''B5: 100'' || ''C5: 110''  || ''D5: 90'' ||
||||||<style="TEXT-ALIGN: left"> ''A6: q3''        || ''B6: 70'' || ''C6: 75''  || ''D6: 57'' ||
Line 37: Line 37:
After some tidying up including the removal of the gridlines and the changing of the background and box colours you should end up with something like [attachment:box.xls this] made using EXCEL 2003. After some tidying up including the removal of the gridlines and the changing of the background and box colours you should end up with something like [attachment:boxplot.xls this] made using EXCEL 2003.

How do I plot a boxplot in EXCEL?

You can't produce boxplots directly in EXCEL but there is a rather convoluted work around described [http://support.microsoft.com/kb/155130 here.] I also reproduce Microsoft's solution below for some example data.

1. In a new worksheet, type the following data:

A1: Statistic

B1: a

C1: b

D1: c

A2: median

B2: 40

C2: 45

D2: 50

A3: q1

B3: 20

C3: 22

D3: 30

A4: min

B4: 10

C4: 15

D4: 18

A5: max

B5: 100

C5: 110

D5: 90

A6: q3

B6: 70

C6: 75

D6: 57

2. Select cells A1:D6. On the Insert menu, click Chart.

3. On the Standard types tab, click Stock under Chart type, and then click the fourth chart sub-type.

The following explanation appears below the chart sub-type: Volume-Open-High-Low-Close. Requires five series of values in this order.

4. Click Next.

5. On the Data Range tab, click Rows under Series in, and then click Next.

6. On the Legend tab, click to clear the Show legend check box.

7. On the Axes tab, click to clear the Value (Y) Axis check box under Secondary axis, and then click Finish.

8. Click once on any one of the coloured columns to select the series. Do not click one of the white columns.

9. On the Chart menu, click Chart Type. Under Chart type, click Line, and then click OK.

A line that connects the three white columns appears in the chart.

10. Click once on the line, and then click Selected Data Series on the Format menu and under Display line choose None and under Display marker choose None. Click OK.

After some tidying up including the removal of the gridlines and the changing of the background and box colours you should end up with something like [attachment:boxplot.xls this] made using EXCEL 2003.

None: FAQ/ExcelErrorBarPlot (last edited 2013-03-08 10:17:41 by localhost)