Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Reshape problem.

From   "Wallace, John" <>
To   "''" <>
Subject   st: RE: Reshape problem.
Date   Fri, 14 Nov 2003 17:15:23 -0800

One of the things that reshape can do is "compress" the number of
observations by increasing the number of variables.  It all depends on the
exact implemenation you're using.

For example, if I have a list of 100 observations, consisting of 20
individuals with 5 measurements, I could reshape it into 20 observations
with 5 variables, and still have the same overall information represented in
the data set.  In this case, the i factor of the reshape would be
individual, the j factor would be variable, and the x factor would be

It would be easier to help you with more specific descriptions of your data
structure, and the syntax you used to reshape.

John Wallace
Research Associate
Affymetrix, Inc

-----Original Message-----
From: [] 
Sent: Friday, November 14, 2003 5:11 PM
Subject: st: Reshape problem.


I am trying to reshape a dataset.
The original dataset contains 5500 individuals.
But when I reshape it, (after having carefully
read the manual), my new dataset only contains 20

There is very few missing observations in the original dataset.

What is wrong with the command?

*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index