在学习连老师门限回归的讲义,里面有两行命令运行时老是出错,也不知道啥意思,求指点:
line rss1 t, lw(thick) xlabel(0 (30) 90) ///
xline(60, lp(dash) lc(red)) sort
要是把程序分成两行(xline另一一行的话),运行结果出现“option / not allowed”和“invalid 'sort' ”,如果把两行命令写成一行的话如下:
line rss1 t, lw(thick) xlabel(0 (30) 90) /// xline(60, lp(dash) lc(red)) sort
运行会显示option / not allowed
最后,我在xline前面添加了一个逗号,如下:
line rss1 t, lw(thick) xlabel(0 (30) 90) /// ,xline(60, lp(dash) lc(red)) sort
运行能够绘出图形,但会显示invalid 'sort' 。最后的这个sort是啥意思?我查了帮助说“sort specifies that the data should be sorted by the x variable.”不知道对不对,估计问题还是出在“///”上吧?
我用的是stata13。求帮助


雷达卡






京公网安备 11010802022788号







