[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: weighting item specific (CPI) histograms
Is there a way to calculate a weighted (CPI) histogram with STATA? I
have a very large micro data set and I would like to sum up the
histograms of price changes in each item groups (eg. gasoline, bananas,
computers, cell phone calls) to a single weighted CPI histogram. So what
I need is a command (or a macro or program) that calculates the item
specific histograms and then weights them up with given item weights.
Or can I save the histograms as tables (data) (instead of pictures)?
That would allow me to export them and do the weighting in eg. Excel.
I am familiar with the fweights option on histogram command, but I think
it does not suit for my purposes.
Bank of Finland
This mail has been checked for viruses
* For searches and help try: