楼主: victorliou
2770 2

[数据管理求助] 请问这个命令为什么不能替换部分数据呢? [推广有奖]

  • 8关注
  • 5粉丝

已卖:1248份资源

副教授

11%

还不是VIP/贵宾

-

威望
0
论坛币
27434 个
通用积分
17.6934
学术水平
11 点
热心指数
6 点
信用等级
10 点
经验
15284 点
帖子
567
精华
0
在线时间
557 小时
注册时间
2005-9-21
最后登录
2025-9-8

楼主
victorliou 发表于 2015-5-30 22:42:20 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请问这个命令为什么不能替换部分数据呢?
replace K=k/1.011     if year==2000

二维码

扫码加我 拉你入群

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

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

关键词:部分数据 replace place year LAC replace

沙发
SpencerMeng 在职认证  发表于 2015-5-31 08:40:21
错误提示是什么?

提供部分数据

藤椅
victorliou 发表于 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.

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-7 14:08