Could you give us a small set of sample data and what you expect for results from it?
Create a panel data
3 次查看(过去 30 天)
显示 更早的评论
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) ?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dynamic System Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!