Dear Statalist
I saw many researchers decomposing the variables into positive and negative values. For instance, if we are examining the impact of growth in sales on trade credit, before the decomposing, the results show that the coefficient of the growth is negative, so to have additional information about the effect of the variable, they decompose the growth to positive growth and negative growth, so the former takes positive values of sales growth, and 0 otherwise, and the latter takes negative values, and 0 otherwise, and this can be done by the following code:
generate growth_positive =gorwth*(growth>0)
generate growth_negative= -growth*(growth<0)
So, my question why they decompose it, is it because the growth coefficient before the decomposition was negative, if yes, shall we decompose the growth if we get a positive coefficient?
Devoting some of your valuable time to answering my question is highly appreciated.
Looking forward to hearing from you.
Many thanks in advance.
Related Posts with Directional symmetry
Help Generating a Feeling ThermometerHi all, I have some experience with STATA but I am by far not an expert. I have a set of eight vari…
Covariate measurement error with binary outcomesWhile it is possible to get parameter estimates corrected for measurement error using -sem- like: …
Is there any way to absorb time dummies in xtreg, fe?Hello I want to do code : xtreg depvar indepvar i.day, fe vce (r) with the panel data. (day is a …
Predicting values which incorporate fixed and random effects in linear mixed modelHi all, I am using Stata/SE 14.2 to analyse a randomized controlled trial. Respondents filled the B…
Looping using forvalue in winsor2I am using the following command in Stata 14.2 which has data stacked by industry-year wise. There a…
Subscribe to:
Post Comments (Atom)
0 Response to Directional symmetry
Post a Comment