各位前辈好~最近在写朋友关系的网络关系代码,用到stata的mata去写,但是有些问题。先附上我的代码:
系统提示了以下错误:
① 'g' found where '(' expected
②'double' found where almost anything else expected
③id1 not found (这个我很好奇为什么id1找不到呢)
④'using' found where almost anything else expected
⑤'local' found where almost anything else expected
⑥expression invalid
就是这六个报错,还请各位赐教。