Dear Stata Expert,
May I seek your help in variable transformation? I need to truncate the variable into 0 and 1. Please suggest to me the code for it. The variable statistics are as follows:
wcetr is the cash effective tax rate.
Variable | Obs Mean Std. Dev. Min Max
-------------+---------------------------------------------------------
wcetr | 23,398 .2764125 .3194056 -1.931427 1.925373
Thanks in advance
Related Posts with Truncate the continuous variable (0,1)
How significance of stata pwcorr is calculated?When i run pwcorr, with the option sig, how stata test de significance of the correlation coeficient…
Importing previously imputed data using mi importHello Stata Users, I have been trying to import previously imputed data (m=0, 1,2,…..20) using mi im…
Propensity score weighting on samplesI want to weight my sample with propensity scores first, then run OLS with weighted sample. I know …
Scoring measures using STATAI have dataset that includes items measuring diagnostic criteria for personality disorders. For each…
Problem with nlsur commandDear Stata users, I am currently running the nlsur command to estimate a system of 2 equations usin…
Subscribe to:
Post Comments (Atom)
0 Response to Truncate the continuous variable (0,1)
Post a Comment