Statalist The Stata Listserver


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

st: Fillin missing values, probability for new value


From   Pamela Mueller <[email protected]>
To   [email protected]
Subject   st: Fillin missing values, probability for new value
Date   Wed, 18 Jan 2006 17:28:31 +0100

I need to fill in missing values in my dataset. For most sectors I know how many start-ups there were for each year, but the data was not given if the number of startups (st) is less than 3 (hence one or two).
Therefore, I know if the missing is 1 or 2 and I know the probability for either one. I also know how often 1 or 2 should be each given in total for each year.
I tried recode, impute, mvencode but it did not work.
Maybe someone has a hint? Thanks
Pamela

for each year and region the data looks like this:
sect st prob1 prob2 1 4
2 3 3 . 0.3 0.7
4 8
5 0
6 . 0.45 0.55
7 3
8 5
9 . 0.48 0.52

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Pamela Mueller

Max Planck Institute of Economics
Kahlaische Strasse 10
07745 Jena, Germany

tel +49 3641 686 723
fax +49 3641 686 710

[email protected]
www.econ.mpg.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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