@蓝色
问题1已解决,谢谢。根据蓝色博主的指导,我检查了我的数据,发现我把变量名错写为:2003invest|2004invest...而stata中变量名不能以数字开头,更正为invest2003|invest2004...后,问题迎刃而解。指令一致。
问题2尚存。即,如何将excel文件直接导入的问题。我的口令为
。stata报错:_xlshreadstringcolforce(): 3204 matrix found where scalar required import_excel_get_first_row(): - function returned error import_excel_load_file(): - function returned error import_excel_import_file(): - function returned error
<istmt>: - function returned error r(3204)。 我通过file-import手动操作,还是出现同样的错误提示。请大侠不吝赐教呀。