Hi everyone,
I have a Panel Data Set and want to create a variable which shows me the change of the individual responses between two (and more) variables. So the two variables are these ones:
1. a variable that shows how satisfied people are with the government, ranging from 0 (not very satisfied) to 1 (very satisfied). This variable was conducted on September 2013.
2. The second variable is the same, showing how satisfied people are with the government from 0 (not very satisfied) to 1 (very satisfied). This variable was conducted on December 2013.
So now I want to create a new variable which will calculate the change from the first to the second variable (for example, if one respondent answered the first question with 0 and the second question with 1, it is a change of one-->I want exactly this in a new variable). Unfortunately, I don't have a variable which shows the wave or a time-series variable. I tried a lot but it didn't work. Is there a way to calculate this in STATA (I'm working with Stata 15)?
Maybe someone knows a solution.
Thanks in advance
Related Posts with Creating a change variable, panel data
Estimate monthly data with annual time series dataI would like to calculate an estimate of the monthly population with population data sorted by regio…
Computation of mean with nondetects / data with left censored dataHi I would like to know how can I get the mean of my data that has left censored: +----------------…
ttest or xtmixedHello everybody, excuse me for my english. I am a french resident and i am doing a research about t…
Systematic VariationHow can I test the systematic variation in the Stata? I tried to use F-test to check it.Am I on the …
How to extract the regression coefficients in a model and compare if they are different significantly?How can I save the coefficient from the panel data regression and compare them using T-test? For exa…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a change variable, panel data
Post a Comment