Dear Statalist,
      I have data on household expenditures. Each datapoint tells about
volume and value of product k that household i from region j has bought.
I can get information on price of each transaction as price =
value/volume.
     I also have data on volume of home production of good k by HH i in
region j. Now, the problem is to calculate value of home production. I
need to construct average price of good k in region j. Can you suggest
how to generate average price? It has to be programmed since I have 100
products and 90 regions.
Oleksandr.
*
*   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/