Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: plotting histogram of a matrix column


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: plotting histogram of a matrix column
Date   Sun, 7 Jul 2013 17:33:04 +0100

You cross-posted this at
http://stackoverflow.com/questions/17513134/plotting-histogram-of-a-matrix-column-stata-12

The guidelines to posters about cross-posting to other forums are
quite explicit at

http://www.stata.com/support/faqs/resources/statalist-faq/#crossposting

and were drawn to members' attention in

http://www.stata.com/statalist/archive/2013-06/msg01206.html

Nick
[email protected]

On 7 July 2013 16:53, Stefano Lombardi <[email protected]> wrote:
> Working in Stata12, I need to plot the histogram of the data contained in
> the column of the matrix MAT.
>
> I understand that, probably, a first step requires to use mm_histogram(), as
> I did in the following example, but then I do not know how to proceed
> (either in Stata or in Mata).
>
> *---------------- start example ------------------
>
> mata:
>
>         mata mlib index
>
>         MAT = uniform(100, 1)
>         hist_data = mm_histogram(MAT)
>
> end
>
> *----------------- end example -------------------
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index