Hello, Actually I have three variables in percentage (Formal credit - semi-formal credit - Informal credit) between 0 -100%
Code:
sum Formal_credit informal_credit Semi_formal_credit
Variable | Obs Mean Std. Dev. Min Max
-------------+---------------------------------------------------------
Formal_credit | 81,342 15.10992 25.61789 0 100
informal_credit | 82,974 62.47527 34.42988 0 100
Semi_formal_credit | 78,439 1.368165 7.610706 0 100
Now, I am trying to create a categorical variable (e.g. Formal credit = 1, informal credit = 2, semi-formal credit = 3), but the problem, a firm can use formal and informal credit in the same time. my question How I avoid this problem?
Thanks a lot
0 Response to Converting Variables to a dummy variable
Post a Comment