I have a panel dataset with multiple observations where I would like to regress a variable Y on the changes of variable X from 1 year to another. I know that I have to calculate the differences of the X values from t to t-1 but don't know how to implement the code in STATA. Do you have any suggestions?
Related Posts with Regressing the t-1 values from a panel
Test differences in average marginal effects within subgroups based on logistic regression modelI'm analyzing a randomized controlled trial with four treatment groups. I want to test whether there…
Problem with reshapeI have a dataset (attached) that I am trying to reshape to long from wide. The data consist of aggre…
Before After effectIs before and after effect of a corporate tax cut a good research objective for a paper? …
Advanced Stata programming question: Dialog box for user-defined powerHi everyone, I am looking to create a dialog box (or add to the power dialog box?) for a user-defin…
Index variable within two grouping variablesGood afternoon, I am attempting to create an indexing variable that takes into account two variables…
Subscribe to:
Post Comments (Atom)
0 Response to Regressing the t-1 values from a panel
Post a Comment