Dear Statalists,
I am currently working on my master thesis with Paneldata from the German Socioeconomic Panel and have a problem regarding the created dummy variable: deprivation.
Since deprivation-variables are from 2001 on and only available every second year I want to fill the missing years with the values of the previous year (which I know how to do).
In order to do so I wanted to check, whether the income (5 categories in relation to median equivincome) of a person changes in the missing year, where I just filled in the value to make sure there wont be a bias. Therefore I want to create a change variable for deprivation and income (t to t+2; e.g. 2001 to 2003) and compare the two. I am only familiar with basic gen, recode and egen-commands and haven't found anything in the forum, probably because I am not really sure what I am looking for... can anyone help me?
Thank you in advance!
Related Posts with creating change variables in panel-structure
Mean of a group minus the observation's value in Panel dataHi, I have a data structure like this: IO-IOarea-Year-index 1----4-------1997-0 2----4-------1998-…
How to change display of scientific notation of summary statistics to nummeric?Stata 15.1 I am attempting to create a descriptive statistics table for my thesis. However, I found…
How to regress categorical variables without baseHello, Currently I am investigating the impact of industry categorization (categorical variable) on…
Error terms for Time Series Regression with a Panel VariableDear all, For my master thesis, I would like as a first step to run a Fama-French three factor regr…
Command problem with counting sample firms smaller than the firm for each country in each year (panel data)Hi, guys, I would like to measure the percentage of sample firms smaller than the firm for each coun…
Subscribe to:
Post Comments (Atom)
0 Response to creating change variables in panel-structure
Post a Comment