Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Re: Fill Missing values at the End


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Re: Fill Missing values at the End
Date   Thu, 9 Jan 2014 12:53:46 +0000

This question gets more difficult to understand, not less. Let's focus
on Abida. You say you want to get

1990 Abida 57.0
1991 Abida 44.3
1992 Abida 41.3
1993 Abida 92.3
1994 Abida 42.2
1995 Abida 82.7
1996 Abida 42.1
1997 Abida 42.5
1998 Abida 43.0
1999 Abida 43.4
2000 Abida 43.9

whereas in http://www.stata.com/statalist/archive/2014-01/msg00231.html
the data were stated to be

1990 Abida 57.0
1991 Abida 44.3
1992 Abida 41.3
1993 Abida 92.3
1994 Abida 42.2
1995 Abida 56.0

and you said you wanted

1996 Abida 96.6
1997 Abida 113.0
1998 Abida 132.0
1999 Abida 154.4
2000 Abida 180.4

What's up with 1995?

What rule gets you from 82.7 to 42.1 (this post)?

What rule gets you from 56.0 to 96.6 (this post)?

There couldn't be good answers if the questions make no sense.

Nick
[email protected]


On 9 January 2014 04:01, Sadia Khalid <[email protected]> wrote:
> Sir
> I am new to Stata and do not know how to write codes.
>
> Sir I have posted in the previous messages what i have and what i want to get.
> year name y
> 1990 Aqueela 50.1
> 1991 Aqueela 39.9
> 1992 Aqueela 93.4
> 1993 Aqueela 53.4
> 1994 Aqueela 5.9
> 1995 Aqueela 41.6
> 1996 Aqueela
> 1997 Aqueela
> 1998 Aqueela
> 1999 Aqueela
> 2000 Aqueela
> 1990 Abida 57.0
> 1991 Abida 44.3
> 1992 Abida 41.3
> 1993 Abida 92.3
> 1994 Abida 42.2
> 1995 Abida 56.0
> 1996 Abida
> 1997 Abida
> 1998 Abida
> 1999 Abida
> 2000 Abida
> 1990 Zubaida 68.5
> 1991 Zubaida 51.0
> 1992 Zubaida 41.7
> 1993 Zubaida 91.5
> 1994 Zubaida 40.7
> 1995 Zubaida
> 1996 Zubaida
> 1997 Zubaida
> 1998 Zubaida
> 1999 Zubaida
> 2000 Zubaida
>
>
> What I want to get.
> year name y
> 1990 Aqueela 50.1
> 1991 Aqueela 39.9
> 1992 Aqueela 93.4
> 1993 Aqueela 53.4
> 1994 Aqueela 5.9
> 1995 Aqueela 41.6
> 1996 Aqueela 42.1
> 1997 Aqueela 42.5
> 1998 Aqueela 43.0
> 1999 Aqueela 43.4
> 2000 Aqueela 43.9
> 1990 Abida 57.0
> 1991 Abida 44.3
> 1992 Abida 41.3
> 1993 Abida 92.3
> 1994 Abida 42.2
> 1995 Abida 82.7
> 1996 Abida 42.1
> 1997 Abida 42.5
> 1998 Abida 43.0
> 1999 Abida 43.4
> 2000 Abida 43.9
> 1990 Zubaida 68.5
> 1991 Zubaida 51.0
> 1992 Zubaida 41.7
> 1993 Zubaida 91.5
> 1994 Zubaida 40.7
> 1995 Zubaida
> 1996 Zubaida
> 1997 Zubaida
> 1998 Zubaida
> 1999 Zubaida
> 2000 Zubaida
>
>
> actually the code is not giving the above mentioed results.
>
> Please help me out.
>
>
>
>
> Regards
> Sadia Khalid
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index