[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: reshape error: "quarter contains all missing values" ?

From   Philip Ryan <>
Subject   Re: st: reshape error: "quarter contains all missing values" ?
Date   Wed, 22 Aug 2007 11:34:05 +0930

sacrificial line.


reshape long val, i(ISO) j(quarter, string)

see -help reshape-



At 10:20 AM 22/08/2007, you wrote:

I have a straightforward data file that I want to convert into
something appropriate for a panel. An excerpt:

ISO     valq1_1984      valq2_1984      valq3_1984
AFG     0       0       2
ALB             0       0       4
DZA     4       5       2

Variables types are str and int, unsurprisingly. All I wanted to do was:

reshape long val, i(ISO) j(quarter)

and I get the error "quarter contains all missing values" Huh? I
think I've done this a thousand times already and never got this
error. I suspect STATA doesn't like the variable names for the
quarters, because v2 v3 v4 works fine. What can I do to avoid this


Mark S. Manger, PhD
Assistant Professor
Department of Political Science
McGill University
855 Sherbrooke Street West
Montréal, QC H3A 2T7
Phone 514-398-8971
Fax 514-398-1770

*   For searches and help try:
Philip Ryan
Discipline of Public Health

Director, Data Management & Analysis Centre

Associate Dean (IT)
Faculty of Health Sciences

postal address:
Discipline of Public Health
Mail Drop 511
University of Adelaide 5005
South Australia

Level 6, Room 6-18
Bice Building
Royal Adelaide Hospital
North Terrace

tel +61 8 8303 3570
fax +61 8 8223 4075
CRICOS Provider Number 00123M
This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright. If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.

*   For searches and help try:

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