Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Random assignment

From   [email protected]
To   [email protected]
Subject   st: Random assignment
Date   Wed, 24 Dec 2003 13:40:09 -0500

I have a data set with 50 missing values for a dichotomous variable, coded 1 and 0; I would like to recode the 50 missing values to non-missing, inserting 1 and 0's on a random basis proportionate to their presence in the overall data set. Any porcedure for this sort of thing in stata. Thanks.

* For searches and help try:

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