Create a panel data
显示 更早的评论
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 个评论
Sean de Wolski
2012-9-10
Could you give us a small set of sample data and what you expect for results from it?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Dynamic System Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!