COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Error Bar for categorical data

• Email
• Follow

```Hi there,
I want to plot error bar graph for categorical graph, example

meanForGroup1 = 4.3;
meanForGroup2 = 4.9;
stdevForGroup1 = 2.3;
stdevForGroup2 = 2.5;

The graph should be an error bar graph: two error bars for group1 and group2, centering at means and ranges as +- 1 standard deviations for group1 and group2.  How can I do this?

Thanks
Diego
```
 0

See related articles to this posting

```Hi there,
People are asking about error bar graph.  The graph should look like this: (hope alignment works)

_
|          _
X          |
|           |
-          X
|
|
-
Gr1     Gr2

where X is the mean and the range of the bar is plus/minus one standard deviation.
How could I graph this?

Thanks!
Diego

"Diego Lass" <dlISCool@gmail.com> wrote in message <htfbpc\$1td\$1@fred.mathworks.com>...
> Hi there,
> I want to plot error bar graph for categorical graph, example
>
> meanForGroup1 = 4.3;
> meanForGroup2 = 4.9;
> stdevForGroup1 = 2.3;
> stdevForGroup2 = 2.5;
>
> The graph should be an error bar graph: two error bars for group1 and group2, centering at means and ranges as +- 1 standard deviations for group1 and group2.  How can I do this?
>
> Thanks
> Diego
```
 0

1 Replies
595 Views

Similar Articles

12/11/2013 9:09:18 PM
page loaded in 4651 ms. (0)

Similar Artilces:

Error bars not located over correct bar in barplot
Hi all, I am trying to create a bar plot with 4 bars each with their own error bar. I have managed to plot the barplot and get the error bars to show up, but I cannot figure out how to get them to position themselves over their associated bar. Any ideas where I'm going wrong? Thanks, Meredith p19 = barplot(daily_avg_netK, nbars = 4, index = 0) p20 = barplot(daily_avg_netL, /overplot, nbars = 4, index = 1) p21 = barplot(daily_avg_netQn, /overplot, nbars =4, index = 2) p22 = barplot(daily_avg_Qcalc, /overplot, nbars = 4, index = 3) p23 = errorplot(daily_avg_netK, daily_stdev_netK,...

ODBC Error: SQLSTATE = S1000, Native error code = -4977 The data buffer parameter is too short(Btrieve Error 22)
HI all, I am trying to insert a new record into a table and got the following error message ODBC Error: SQLSTATE = S1000, Native error code = -4977 The data buffer parameter is too short(Btrieve Error 22) Here is the query I am using. insert into amgr_user_fields_tbl values ('123456789012345678901234',0,38,0,0, '2003-11-01',0.0, '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890', '123456789012','2003-12-10','16:18:13','1234') Here is the table defination create...

Data error
Hi, I interfaced a USB 8 bit data bus with a CPLD. I made a 48 bit buffer ( ser_buff ). I am loading the buffer at each falling edge of the USB clock. and then copying it into another 48 bit buffer ( Temp ) and the serially ouputting the Temp buffer in another process running on different clock. "inc" signal acts as a trigger signal to the other process to start parallel to serial conversion. The problem is that I am not seeing the right data coming out of the CPLD ( ser_out) port. If kept the USB data to zero but at the ser_out, I can still see some ones. Please adivce soon. My cod...

Data error #2
Hi, I interfaced a USB 8 bit data bus with a CPLD. I made a 48 bit buffer ( ser_buff ). I am loading the buffer at each falling edge of the USB clock. and then copying it into another 48 bit buffer ( Temp ) and the serially ouputting the Temp buffer in another process running on different clock. "inc" signal acts as a trigger signal to the other process to start parallel to serial conversion. The problem is that I am not seeing the right data coming out of the CPLD ( ser_out) port. If kept the USB data to zero but at the ser_out, I can still see some ones. Please adivce soon. My cod...

color bar error
I've looked at this and cant see the problem Warning: Divide by zero. > In scribe.colorbar.colorbar>initialize_colorbar_properties at 231 In scribe.colorbar.colorbar at 69 In colorbar>make_colorbar at 170 In colorbar at 137 In SCv2011>ButScanStart_Callback at 1354 In gui_mainfcn at 75 In SCv2011 at 44 ??? Error using ==> set Bad value for axes property: 'YLim' Values must be increasing and non-NaN. any possible ideas could it be the YLim On Thu, 17 Feb 2005 07:36:36 -0500 in message <news:eefc1f9.-1@webx.raydaftYaTP>, jonas wrote: > I've ...

Assembler error + large data
Hello, I have a problem and I'm not sure if it is specific to GFortran or generic. My program needs to read a very large data file and I am getting a strange assembler error. It's clearly to do with the size of my data. I have written a toy program that illustrates the error: program test use iso_fortran_env, only : real64 implicit none integer, parameter :: nrows = 233280000 integer, parameter :: rp = real64 real(rp), dimension(nrows) :: longitude, latitude, height, area area = 0 height = 0 latitude = 0 longitude = 0 end program ...

SQL Data Compare Error
Using SQL data compare i get the following error message: Could not allocate space for object '(SYSTEM table id: -701903460)' in database 'TEMPDB' because the 'DEFAULT' filegroup is full. The comparison is being run on one server between to databases. It has been run several times but each time we get that error message, the table ID number tends to change each time. We also had a problem before where the 'TEMPDB' did not have enough space in its log file but that was fixed by allowing the database to expand in size. Cameron (cam_1485@yahoo.co.uk) writes: >...

Re: Error bars on graph
About 6 months ago someone asked a similar question. I'd like to reprint some of the answer I gave last time since it will be helpful for this question as well: Date: Tue, 31 Jul 2007 15:55:57 -0400 From: "Bross, Dean S" <dean.bross@VA.GOV> Subject: Re: Standard deviation plot with groups There is a trick you can use, but it requires that you restructure your data before feeding it into PROC GPLOT One of the options on the SYMBOL statement is the INTERPOL=HILO<C><option> So you can set up the data so that in the high, low and clos...

Was
Apologies if this has posted twice, Broadband is down and I am one of those singularly pathetic 3G mobile BB sticks at the moment. Can retrieve mail, cant send, can retrieve headers, sometimes posts.... very hit and miss.. The subroutine calling the report is as below. I have used the Set warnings false in the OnNoData event of the report, and tried some of the 2501 msgbox suggestions. But whatever I put in it brings the error up and highlights the "DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria" line in the VB Window. I am sure I have managed to success...

-200279 error during data acquisition
I am using a DAQ6052E, SCXI 1125 and SCXI 1121 for acquiring 3 temperature and 1 voltage reading. I am using Labview 7.1. Sampling rate = 1000hz. Number of samples to read per channel = 1000 ( i need to see at least one second of data at a time.) I amusing DAQmx for continous data acqusition. I need to read, process, write and graph the data continously. Since graphing the data, takes a long time, I have made a parallel loop to display it.. so as not to slow the reading of the data. Still I am getting -200279 error. How can I get rid of this error. How can I increase my buffer size using...

Re: Error bars with gplot
Ah, I see. That makes total sense. thank you so much!! ako --- Nathaniel_Wooding@dom.com wrote: > Anne > > When you did your first plotting, SAS gave hi and > low values based on the > values of Y for each week. It did not "see" you hi > and low values since it > is only looking at the variables week and y. In > order to plot the means and > highs and lows (the error bars), you will need to > convert the hi and lo > into values of y. Take a look at the following > > data anne; > input tx \$ 1 Week Y Ystd Ystderr hi lo; > keep tx week ...

change midpoint style on error bar
Gnuplot documentation mentions crossbars at the ends of an error bar, but I can't find anywhere where it mentions the midpoint marking. I had to plot errorbars twice for the same plot command, once in black and once in red. Changing colors was the easy part. What I discovered is that gnuplot uses different markers to mark the midpoints of error bars. For the first set of error bars I got a small crossbar as the midpoint marker. For the second set of error bars, the midpoint marker was an "X", but I want the same midpoint marker for both sets (namely, the small crossb...

distr.of input data and error function
Hi, Suppose that I know that the distribution of input data is highly not normal (it is count data, very skewed). Knowing that, should I use something else than the mean-square error function in my neural network? The MSE is well suited for gaussian distribution but here we talk about gaussian distribution of *errors* isn't it? In short, is the knowledge of the distribution of input data useful? Regards, Joseph Joseph wrote: > Hi, > Suppose that I know that the distribution of input data is highly not > normal (it is count data, very skewed). Knowing that, should I use > so...

Mysql::Error: Data too long for column
Pleas i need help: I'm deploying a ror application in a win server (apache + mongrel + mysql). A model has a binary field. win2003 server mysql 5.0.45 community ed ruby 1.8.6 When i upload a file (very small) i obtain the "Data Too Long for column" error. The same code works perfectly with SQLite. Where's the problem? On Dec 9, 2009, at 12:50 PM, rabarama wrote: > Pleas i need help: > I'm deploying a ror application in a win server (apache + mongrel + > mysql). > A model has a binary field. > > win2003 server > mysql 5.0....

Graph and data storage in the same singleton, it is an error ??
I need to create a GUI to show data coming from a satellite receiver through the usb ( used as a virtual com port with library rxtx) I already created an architecture like this : package it.imt.edusat.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Random; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTabbedPane; public class JTabbedTest { public static void main(String[] args...

data step still running error
Hi sas users: When you sometimes submit a job in windows from the command line in the program editor and it does not run properly , a message appears where it says " data step still running". It freezes sas. I remember there is a command you can do to terminate that process without exiting sas completely? Your help is appreciated. Hi, you should use the icon with the ! encircled in your toolbar, you'll have some options to stop with differents meanings. St�phane. ----Message d'origine---- >Date: Thu, 26 Feb 2004 09:09:25 -0600 >De: Jamil Ibrahim <jibrah...

modify data set for categorical analysis
Dear all, I am sorry to bother you guys. To do categorical data analysis, I have to rearrange my raw data set. I have tried many methods, but was stuck here. My raw data set is as follows: Name Good P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 Good, P1, P2, P3, P4, P5, P6, P7, P8, P9 and P10 are binary variables. If the product has the feature, that dummy variable takes 1, otherwise 0. I would like to change the raw data into the following data set Good P Yes Count 1 P1 1 200 1 P1 0 600 0 P1 1 200 0 P1 0 100 =85=85 =85=85 1 P10 ...

ARJ. Bad file data, CRC error!
Hi! When I try to extract from a .arj file I obtain the message "Bad file data. CRC error". Is it possible to repair an ARJ archive? I have not copy of original files! Thank you. -------------------------------------------------------------------------------- ...

RETURNED MAIL: DATA FORMAT ERROR #2
This is a multi-part message in MIME format. ------=_NextPart_000_0004_7DAA6B7B.10AAB24B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit ******************************* WARNING ****************************** Este mensaje ha sido analizado por MDaemon AntiVirus y ha encontrado un fichero anexo(s) infectado(s). Por favor revise el reporte de abajo. Attachment Virus name Action taken ---------------------------------------------------------------------- message.scr I-Worm.Mydoom.m Removed *************...

Spurious security error when accessing pop-up data
My code is generating this type of error: Security Error: Content at http://nonexistent.org/somepage.html may not load data from about:blank. The "about:blank" page mentioned in the error message is a pop-up window, whose content is 100% dynamically-generated, and which is in fact *owes its existence* to code in the referring page (nonexistent.org/somepage.html), along the lines of something like window.open("", "pop-up", "width=450,height=300,resizable"); So, AFAICT, the error is spurious (i.e. there's really no security breach). ...