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
Potential problems with transforming a dataset of ordinal variables into different variable typesHello everyone, Im working with a variable set (N=914) that includes almost only ordinal variables …
How to ask stata to round the labels in a histogram?Hi , I am using the following code to make a graph, but: the decimals in the graph are annoying; if …
Goodness-of-fit for binomial (not inverse binomial) variableI have a dataset containing 5,772,663 distinct values. If I plot them using a histogram a (more or l…
Merge two datasetsGood morning everyone. I need to merge two datasets but the do file doesn't work. The structure is t…
STATA 1 Reference Manual now available to anyone who wants itA while back UCLA posted the STATA 1 Reference Manual. I've gone through the files, made them search…
Subscribe to:
Post Comments (Atom)
0 Response to Regressing the t-1 values from a panel
Post a Comment