Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: use of tempfile


From   Prakash Singh <prakashbhu@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: use of tempfile
Date   Fri, 20 Apr 2012 11:00:19 +0530

Sarah other statalist scholors, let me explain the issue using
structure given below for raw data.
The data set contains firm level information for 100000 firm from
different states. below given is the structure of information given
for firms' borrowing from mentioned sources with amount and interest
payable. the raw data is so arranged that instead of giving amount and
interest payable for an firm in different column it is stacked in
single column. This means that if you edit a particular firm id by the
variable "srl.no" you will get amount and interest payable for that
firm.
Whereas, my interest is to them as separate variable.

srl. no.	source of loan	amount	interest payable
901.           banks & govt		
903.           moneylenders		
904.           business partner(s)		
905.           suppliers / contractors		
906.           friends and relatives		
907.           others		


Below is the layout of the data
Item	Len	Byte Position
Common Items	35	1 -35
Level	2	36 -37
Filler	2	38 -39
Serial no.	3	40 -42
Loan outstanding-Amount	12	43 -54
Interest payable	12	55 -66
Special characters for OK stamp	2	67 -68
Blank	58	69 -126

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index