Thread Subject: boxplot

Subject: boxplot

From: Annetje

Date: 23 Nov, 2009 16:35:18

Message: 1 of 4

Hi,

I have a 2x19 matix. The first row consists of the mean value for 19 timesteps en the second row consists of the standard deviations.

I would like to plot this matrix like a boxplot (but command boxplot does not work for matrixes as far as I know)
Does somebody knows how to do this?

Thanks a lot!
Grtz,
Ann

Subject: boxplot

From: Lorenzo Guerrasio

Date: 23 Nov, 2009 18:15:20

Message: 2 of 4

"Annetje " <teutieu@yahoo.fr> wrote in message <heedk6$soi$1@fred.mathworks.com>...
> Hi,
>
> I have a 2x19 matix. The first row consists of the mean value for 19 timesteps en the second row consists of the standard deviations.
>
> I would like to plot this matrix like a boxplot (but command boxplot does not work for matrixes as far as I know)
> Does somebody knows how to do this?
>
> Thanks a lot!
> Grtz,
> Ann

Dear Anetje, to do something like boxplot you need at least to know the numerosity of each computed mean and std, so that statistical test can be done. However it is not that easy than to do all what boxplot does.
Just two stupid questions...don't you have acces to the raw data?In that case it is much easier to use the boxplot function directly. Second question, if you are only interested in confidnece interval, you can use errorbar function.


to understand how to compute

Subject: boxplot

From: Annetje

Date: 24 Nov, 2009 16:21:20

Message: 3 of 4

Hi Lorenzo,

Thanks for your answer.
I have access to the raw data but (it's bit complicated to explained) I need to put them in a for loop in order to get the information I need over time. That is why I finally have a matrix with in the first row the mean values for esch time step (column) en in the second row the standard deviations.
So do you know how I could plot the first row with an errorbar for each point of the size of the values in the second row of my matrix?

Thanks again!
regards,
Ann


Just two stupid questions...don't you have acces to the raw data?In that case it is much easier to use the boxplot function directly. Second question, if you are only interested in confidnece interval, you can use errorbar function.

"Lorenzo Guerrasio" <lorenzo.guerrasio@email.it> wrote in message <heejfo$4gp$1@fred.mathworks.com>...
> "Annetje " <teutieu@yahoo.fr> wrote in message <heedk6$soi$1@fred.mathworks.com>...
> > Hi,
> >
> > I have a 2x19 matix. The first row consists of the mean value for 19 timesteps en the second row consists of the standard deviations.
> >
> > I would like to plot this matrix like a boxplot (but command boxplot does not work for matrixes as far as I know)
> > Does somebody knows how to do this?
> >
> > Thanks a lot!
> > Grtz,
> > Ann
>
> Dear Anetje, to do something like boxplot you need at least to know the numerosity of each computed mean and std, so that statistical test can be done. However it is not that easy than to do all what boxplot does.
> Just two stupid questions...don't you have acces to the raw data?In that case it is much easier to use the boxplot function directly. Second question, if you are only interested in confidnece interval, you can use errorbar function.
>
>
> to understand how to compute

Subject: boxplot

From: Lorenzo Guerrasio

Date: 24 Nov, 2009 17:15:24

Message: 4 of 4

So do you know how I could plot the first row with an errorbar for each point of the size of the values in the second row of my matrix?
help errorbar
as error, either you use simply the std or some other CI
http://en.wikipedia.org/wiki/Confidence_interval

Jjust to repeat it, this is not a boxplot.



"Annetje " <teutieu@yahoo.fr> wrote in message <heh160$48c$1@fred.mathworks.com>...
> Hi Lorenzo,
>
> Thanks for your answer.
> I have access to the raw data but (it's bit complicated to explained) I need to put them in a for loop in order to get the information I need over time. That is why I finally have a matrix with in the first row the mean values for esch time step (column) en in the second row the standard deviations.
> So do you know how I could plot the first row with an errorbar for each point of the size of the values in the second row of my matrix?
>
> Thanks again!
> regards,
> Ann
>
>
> Just two stupid questions...don't you have acces to the raw data?In that case it is much easier to use the boxplot function directly. Second question, if you are only interested in confidnece interval, you can use errorbar function.
>
> "Lorenzo Guerrasio" <lorenzo.guerrasio@email.it> wrote in message <heejfo$4gp$1@fred.mathworks.com>...
> > "Annetje " <teutieu@yahoo.fr> wrote in message <heedk6$soi$1@fred.mathworks.com>...
> > > Hi,
> > >
> > > I have a 2x19 matix. The first row consists of the mean value for 19 timesteps en the second row consists of the standard deviations.
> > >
> > > I would like to plot this matrix like a boxplot (but command boxplot does not work for matrixes as far as I know)
> > > Does somebody knows how to do this?
> > >
> > > Thanks a lot!
> > > Grtz,
> > > Ann
> >
> > Dear Anetje, to do something like boxplot you need at least to know the numerosity of each computed mean and std, so that statistical test can be done. However it is not that easy than to do all what boxplot does.
> > Just two stupid questions...don't you have acces to the raw data?In that case it is much easier to use the boxplot function directly. Second question, if you are only interested in confidnece interval, you can use errorbar function.
> >
> >
> > to understand how to compute

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
errorbar Lorenzo Guerrasio 24 Nov, 2009 12:19:21
boxplot errorbar Lorenzo Guerrasio 23 Nov, 2009 13:19:22
rssFeed for this Thread

Contact us at files@mathworks.com