全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7372 7
2016-08-08
                stata里面,*代表任意一个字符,@键代表什么呢?怎么用。。没查到,哪位大神指导一下,万分感谢
二维码

扫码加我 拉你入群

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

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

全部回复
2016-8-9 10:46:02
好像并没有什么特别的意思
    The * character indicates to match one or more characters.  All variables
    matching the pattern are returned.

    The ~ character also indicates to match one or more characters, but unlike
    *, only one variable is allowed to match.  If more than one variable
    matches, an error message is presented.

    The ? character matches one character.  All variables matching the pattern
    are returned.

    The - character indicates that all variables in the dataset, starting with
    the variable to the left of the - and ending with the variable to the
    right of the - are to be returned.
help varlist
二维码

扫码加我 拉你入群

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

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

2016-8-11 10:51:08
谢谢亲。我看到一个语句 foreach i of varlist var@ue ,估计@代表的一个字符串。
二维码

扫码加我 拉你入群

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

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

2016-8-11 22:10:58
阿璇2016 发表于 2016-8-11 10:51
谢谢亲。我看到一个语句 foreach i of varlist var@ue ,估计@代表的一个字符串。
你试了么?我试了并不行诶
复制代码
二维码

扫码加我 拉你入群

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

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

2016-8-15 16:38:51
是的,我试了试不行。。我看到的那段程序没存,,,sorry
二维码

扫码加我 拉你入群

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

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

2016-8-15 19:01:59
reshape  的命令里面是有@的选项的
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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