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

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

From   Mark Manger <>
Subject   st: reshape error: "quarter contains all missing values" ?
Date   Tue, 21 Aug 2007 20:38:05 -0400


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:

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