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: Shaping dataset.
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Shaping dataset.
Date
Wed, 28 Nov 2012 13:03:17 +0000
Sorry, but the reasons why -reshape- won't work just are _not_obvious.
Please show
1. A real example of your data with variable names.
2. What you tried that did not work.
Nick
On Wed, Nov 28, 2012 at 12:53 PM, natasha agarwal
<[email protected]> wrote:
> I have a dataset that looks like:
> Agricultural Industry
> Mining Industry
> Agricultural product 0.10
> 0.20
> Mining Product 0.30
> 0.30
>
> I want to transform it to
>
> Agricultural product agricultural industry 0.10
> Agricultural product mining industry 0.20
> mining product agricultural industry 0.30
> mining product mining industry 0.30
>
> The reshape command would not work for obvious reasons.
>
> I was wondering if anybody could help me with the same?
*
* 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/