全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
12181 1
2021-02-20
用stata对变量取对数时遇到这样的问题,求大神解答
输入命令:gen ln mfincome1 =log( mfincome1 )
错误提示:[P]     error . . . . . . . . . . . . . . . . . . . . . . . .  Return code 110
        __________ already defined
        A variable or a value label has already been defined, and you
        attempted to redefine it.  This occurs most often with generate.
        If you really intend to replace the values, use replace.  If you
        intend to replace a value label, specify the replace option with
        the label define command.  If you are attempting to alter an
        existing label, specify the add or modify option with the
        label define command.

二维码

扫码加我 拉你入群

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

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

全部回复
2021-2-20 13:09:39
gen ln mfincome1 =log( mfincome1 ),你这个ln后面是不是多了一个空格
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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