Create a panel data

4 visualizzazioni (ultimi 30 giorni)
Thomas Leirvik
Thomas Leirvik il 10 Set 2012
I have 1173 individuals, each measured annually from 1959 through 2002, which means 44 years of data of one specific variable. In total the matrix has 51612 rows. I want to include an additional variable. This variable has several missing values, and in total 17933 values. For some individuals there is only one value, for example there is a value for the year 1974, and other has no missing values. There are no individuals without any values for this variable.
My question is: how do I include the 17933 values into the panel data of the individuals, at the correct place (i.e. year) ?
  1 Commento
Sean de Wolski
Sean de Wolski il 10 Set 2012
Could you give us a small set of sample data and what you expect for results from it?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Dynamic System Models in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by