Hi
I have two questions

1. I am working on a panel data, the variable *"A"  *has some values as
"missing" denoted by "." and others are  "non-missing values". I wish to
create another variable *"B"  *from the variable *"A" *such that all the
missing values are assigned as "ZERO" (0) and all the non-missing values as
"ONE" (1). This is preparation for running a probit regression with B as the
dependant variable and hence we need 0<B<1. The expected outcome should look
like below:

* A*                *B
*    .               0
    .               0
    .               0
    .               0
.6931472       1
    .               0
    .               0
    .               0
.6931472       1
    .               0
    .               0
    .               0
    .               0
    .               0
1.098612       1

2. How do I then see (what command) whether the desired outcome for B has
occured or not, in other words how do we tabulate B?
Kindly provide the commands/operations needed to attain the above

-- 
Dr.Saurav Pathak
PhD, Univ.of.Florida
Mechanical Engineering
Doctoral Student
Innovation and Entrepreneurship
Imperial College Business School
s.pathak08@imperial.ac.uk
0044-7795321121

	[[alternative HTML version deleted]]


