学习笔记1. Do identifier and time uniquely identify the data?Observations in panel data are uniquely identified by the combination of identifier and year.
代码:. isid id time //检验id和year是否是唯一标识,即是否有重复观测值
结果1:no news is good news
结果2:variables ctnm_id year do not uniquely identify the observations
r(459);
——确实有重复
2. using the duplicates command, which is a small bundle of tools for investigating possible problems arising from duplicated observations.