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)
why i am not getting Hansen statistics?. xtabond2 fg_ta l.fg_ta size age ia_w debt_ratio_w TobinQ fac roa cashratio i.sector_1, gmm(fg_ta) …
How to test for multiple instruments in in etregress or eregressDear all: I am using Stata 15 to run a linear regression with endogenous treatment aiming to do inst…
snapshot with descriptive names instead of numbersI just upgraded to Stata 16 today and I was experimenting with the new frames feature. This allows a…
Data Envelopment Analysis to generate TFP with macro level panel dataHi, I'm relatively new to stata and struggling with the dea (data envelopment analysis) command. My …
Two variables combined fixed effect with clustered standard errors of another variableHi Stata community, I have an unbalanced panel data set for the years 1992-2018 across different ye…
Subscribe to:
Post Comments (Atom)
0 Response to Truncate the continuous variable (0,1)
Post a Comment