全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2735 2
2015-05-30
请问这个命令为什么不能替换部分数据呢?
replace K=k/1.011     if year==2000

二维码

扫码加我 拉你入群

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

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

全部回复
2015-5-31 08:40:21
错误提示是什么?

提供部分数据
二维码

扫码加我 拉你入群

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

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

2015-5-31 09:20:59

search for r(198)                                                                                                                                                       (manual:  [R] search)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

        Keywords:  r(198)
          Search:  (1) Official help files, FAQs, Examples, SJs, and STBs


Search of official help files, FAQs, Examples, SJs, and STBs

[P]     error . . . . . . . . . . . . . . . . . . . . . . . .  Return code 198
        invalid syntax;
        option __________ incorrectly specified;
        option __________ not allowed;
        __________ invalid;
        range invalid;
        __________ invalid obs no;
        invalid filename;
        __________ invalid varname;
        __________ invalid name;
        multiple by's not allowed;
        __________ found where number expected;
        on or off required;
        All items in this list indicate invalid syntax.  These errors
        are often, but not always, due to typographical errors.  Stata
        attempts to provide you with as much information as it can.
        Review the syntax diagram for the designated command.
        In giving the message "invalid syntax", Stata is not helpful.
        Errors in specifying expressions often result in this message.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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