Statalist The Stata Listserver


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

st: reshape error


From   "Rodrigo Martell" <[email protected]>
To   <[email protected]>
Subject   st: reshape error
Date   Tue, 13 Mar 2007 10:12:56 +1100

I have a dataset that looks like this:
SETTLEMENTDATE qld_p nsw_p 
1/01/2004 4:30 14.90673 14.67833 
1/01/2004 5:00 14.74838 14.58328 
1/01/2004 5:30 14.54922 14.6783 
1/01/2004 6:00 14.16048 14.59497 
1/01/2004 6:30 13.8505 14.69998 
1/01/2004 7:00 13.09797 14.6587 
1/01/2004 7:30 14.8116 15.92572 


I've reshape things like this before using something like 

-reshape long _p, i(SETTLEMENTDATE) j(State) string-

However, this command now gives me an error (r(111)), "no xij variables found". Can anyone see what's going wrong?
(settlementdate is stored as a string by the way)

Thanks,

Rodrigo

Rodrigo Martell

 <http://www.frontier-economics.com> 	
Frontier Economics Pty. Ltd.
395 Collins Street
Melbourne VIC 3000
Australia
www.frontier-economics.com 	
switch:
direct:
fax:
mobile:
email:


+61 (0)3 9620 4488
+61 (0)3 9613 1518
+61 (0)3 8614 2711
+61 (0)407 909 811
[email protected] <mailto:[email protected]> 


This e-mail, including any attachments, may contain confidential and privileged information for the sole use of the intended recipient(s). Any review, use, disclosure or distribution by others is strictly prohibited. If you are not the intended recipient (or authorised to receive information for the recipient), please contact the sender by reply e-mail and delete all copies of this message. Thank you.

	

*
*   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/



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