Others have interpreted the question differently,
but my guess is that you need to use frequency weights.
By the way, it is a distraction to give examples
that are not legal syntax.
histogram column_1 [fw=column_2]
Nick
[email protected]
Lucy Shum
> Maybe my initial question is better illustrated as follows:
>
> Column 1 Column 2
> 1 4
> 3 10
> 4 21
> 5 4
> 6 3
>
> So, I want to graph the frequency which is represented by
> Column 2, but the
> x-axis to be expressed by figures in column 1.
>
> Currently, when I put in .tw hist column 2, by(column 1)it gives me 5
> individual graphs. What I would like to get is one single
> graph, column 1 as
> the x-axis label with the 'frequency' to be expressed by
> figures in column
> 2. Do-able?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/