全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
8373 1
2009-09-12
我现在生成了一个csv文件(可用EXCEL打开),但是用命令insheet using"data3.csv", stata的输出是: (6 vars, 41 obs)
但是下一个命令drop countryname seriescode yr2000,stata的输出时variable countryname not found
我看了一下data browser, 发现变量并没有到那个v1, v2, v3.......那个在表格上的一行(那一行就是代表的变量),而是全部到了下一行,成了我6个变量的第一个数值了。。。这个问题应该怎么解决呢?其实我还有一个csv文件的内容几乎和这个有问题的csv文件一摸一样,但是前一个csv文件可以打开啊?

谢谢大家
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2009-9-13 02:23:56
help insheet
[no]names informs Stata whether or not variable names are included on the first line of the file.
        Specifying this option will speed insheet's processing, assuming that you are right.  insheet can
        determine for itself whether the file includes variable names.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群