Statalist


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

Re: st: drop in 1925486/1 leads to: Obs. nos. out of range, r(198)


From   "Eva Poen" <[email protected]>
To   [email protected]
Subject   Re: st: drop in 1925486/1 leads to: Obs. nos. out of range, r(198)
Date   Fri, 12 Sep 2008 17:18:00 +0100

Silke,

that's why I pointed you to -drop in 1925486/l- in my first reply.
Note that I wrote an "l" where you put a "1". "l" stands for "last".
It should do exactly what you want. Such an example is mentioned in
-help drop-.

Eva



2008/9/12 - <[email protected]>:
> Hi (Eva),
>
> I want to divide my data into two seperate files. So I would first like to
> use -drop in 1925486/1- to delete the last rows of the data and save the
> remaining part. Then I want to use -drop in 1/1925485- to delete the first
> part in order to save the rest of the data in a second file.
>
> Perhaps it does not work because it is version 8..
>
> Thanks for your help.
> Silke
>
>
> Eva Poen schrieb:
>>
>> Silke,
>>
>> it should be  -drop in 1/1925486-, not the other way round. Or did you
>> mean -drop in 1925486/l- ? Note the "l", for last, instead of "1".
>>
>> Hope this helps,
>> Eva
>>
>>
>>
>> 2008/9/12 - <[email protected]>:
>>
>>>
>>> Hello,
>>>
>>> I use Stata Version 8 and do not know what I am doing wrong:
>>>
>>> The command:
>>>
>>> . drop in 1925486/1
>>>
>>> leads to the following error:
>>>
>>> Obs. nos. out of range
>>> r(198);
>>>
>>> Does anyone know what is wrong?
>>>
>>> Thanks a lot.
>>> Silke
>>> *
>>>
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index