Hello everybody,
I hope this message is not improper, in case please discard or delete.
I have a two periods (unbalanced) panel made of 1121 groups of individuals. For each period, I have an individual-level output variable, respectively called action_(i,T1) and action_(i,T2). This variable is continuous and bounded between 0 and 1. I am trying to test the effects of group influence at period t1 on the action at period T2.
My explorative strategy is to perform a simple fractional regression panel at period T1, collect the resulting fixed effects, which would capture the group effect on individual action t1 and regress action_(i,T2) on the fixed effects, in other words, I wanted to do:
I then extract and stored the fixed effects in vector fe_t1 and computed the empirical ECDF to rank them. (an operation that I performed through a different software which I am more familiar with) and plotted
I am enclosing the resulting scatterplot at the following link:
scatterplot: https://i.ibb.co/LtnvYxp/image.png
My preliminary interpretation of this, focusing on the orthant x > 0, is that there is a negative (but non linear) relationship between action at time 2 and diff_FE.
I would like to ask the community if this strategy makes any sense at all, and whether there is an in-built tool in stata to explore the type of possible curve-fitting within a standard OLS setting for this type of non-linear data. I apologize for the question, I am not very familiar with Stata.
thank you,
paola

I hope this message is not improper, in case please discard or delete.
I have a two periods (unbalanced) panel made of 1121 groups of individuals. For each period, I have an individual-level output variable, respectively called action_(i,T1) and action_(i,T2). This variable is continuous and bounded between 0 and 1. I am trying to test the effects of group influence at period t1 on the action at period T2.
My explorative strategy is to perform a simple fractional regression panel at period T1, collect the resulting fixed effects, which would capture the group effect on individual action t1 and regress action_(i,T2) on the fixed effects, in other words, I wanted to do:
Code:
xtset groups fracreg probit action_t1 age age2 sex i.ethnic group1-group1121, vce(cluster groups)
Code:
g diff_effect = action_t1 - ecdf_fe_t1 scatter action_t2 diff_effect
scatterplot: https://i.ibb.co/LtnvYxp/image.png
My preliminary interpretation of this, focusing on the orthant x > 0, is that there is a negative (but non linear) relationship between action at time 2 and diff_FE.
I would like to ask the community if this strategy makes any sense at all, and whether there is an in-built tool in stata to explore the type of possible curve-fitting within a standard OLS setting for this type of non-linear data. I apologize for the question, I am not very familiar with Stata.
thank you,
paola
Comment