全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3902 1
2014-06-29
请问大家:    stata中tokenize函数怎么用啊 ? 它的解释看不太懂啊????   tokenize divides string into tokens, storing the result in `1', `2', ... (the positional    local macros).  Tokens are determined based on the parsing characters pchars, which
    default to a space if not specified.
Examples
    . tokenize some words
    . di "1=|`1'|, 2=|`2'|, 3=|`3'|"
另外

program myprog
            version 11
            syntax [varlist] [if] [in]
            marksample touse
            tokenize `varlist'
            local first `1'
            macro shift
            local rest `*'

中,这段话又是什么意思啊?求解答啊




二维码

扫码加我 拉你入群

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

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

全部回复
2020-10-4 10:42:26
三个字,“分解宏”,试运行以下命令:
复制代码
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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