全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2353 1
2016-02-27
悬赏 10 个论坛币 未解决
大家好,

当我输入"numlabel _all, add"时,stata有时会说”mismatched quote", 即便我加上force这个选项也没用。请问这是为什么呢?有什么解决方法吗?

非常感谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2016-2-27 22:16:34
You can break numlabel by strating a label with the single left quote character.

Code:
label define foo 42 "`single left quote"
label list foo
capture noisily numlabel foo , add
label drop foo
The single left quote causes problems in other places as well, .e.g. it will breaks levelsof when part of a string variable value.

This could probably be fixed but until then the single left quote is best avoided.

Best
Daniel
Last edited by daniel klein

http://www.statalist.org/forums/forum/general-stata-discussion/general/1328477-numlabel-_all-add-sometimes-return-mismatched-quotes
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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