Hi statalist community,
I need help in the following problem:
/*-------------------------------------------------------------------------------------------------------------*
|
|
I | have three dummies, D1, D2, and D3.
|
I | need D4
|
| Condition-a of D4: takes value 1 if either of D1 D2 D3 is 1
| Condition-b of D4: takes value 0 for all rows, in which D1 D2 D3 are not 1, with another condition that at least one of D1 D2 D3, is zero
| Condition-c of D4: takes value '.' missing value for all rows, in which D1 D2 D3, are all '.' missing values
|
*-----------------------------------------------------------------------------------------------------------------------------------------*/
I need help in the following problem:
/*-------------------------------------------------------------------------------------------------------------*
|
|
I | have three dummies, D1, D2, and D3.
|
I | need D4
|
| Condition-a of D4: takes value 1 if either of D1 D2 D3 is 1
| Condition-b of D4: takes value 0 for all rows, in which D1 D2 D3 are not 1, with another condition that at least one of D1 D2 D3, is zero
| Condition-c of D4: takes value '.' missing value for all rows, in which D1 D2 D3, are all '.' missing values
|
*-----------------------------------------------------------------------------------------------------------------------------------------*/
Comment