Dear Stata Forum,
My problem deals with factor variables that contain negative values. Using regress, I am trying to analyse the interaction (using ##) of percentage point differences (some are negative) and treatment (vs control - i.e., 1 for TC, 0 for CG) on individual behaviour ( a factor variable that is 1 if certain behaviour occurs, if not, it is 0).
I thought about transforming the percentage point differences to absolute values, but how will I then distinguish between positive and negative numbers, as they could impact my analysis significantly? Wouldn't duplicates skew my analysis as 2 and -2 would now be considered 2? If I then generate another variable that captures the initial sign, i.e., 1 for positive differences and 0 for negative differences, would it make sense to include this as another interaction term in my regression?
Thank you very much in advance!
Kind regards,
Mary Burckhette
My problem deals with factor variables that contain negative values. Using regress, I am trying to analyse the interaction (using ##) of percentage point differences (some are negative) and treatment (vs control - i.e., 1 for TC, 0 for CG) on individual behaviour ( a factor variable that is 1 if certain behaviour occurs, if not, it is 0).
I thought about transforming the percentage point differences to absolute values, but how will I then distinguish between positive and negative numbers, as they could impact my analysis significantly? Wouldn't duplicates skew my analysis as 2 and -2 would now be considered 2? If I then generate another variable that captures the initial sign, i.e., 1 for positive differences and 0 for negative differences, would it make sense to include this as another interaction term in my regression?
Thank you very much in advance!
Kind regards,
Mary Burckhette
Comment