全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
5961 3
2010-11-05
鄙人用的是Stata10.1SE,系网上下载版。最近在使用函数anycount(varlist)时,发现调不出来,也help不到,很是郁闷!
在网上查了好久,可能不得法,居然也没有找到这个功能的下载。
请问高手,有什么妙招解决 啊,
期待中………………
二维码

扫码加我 拉你入群

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

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

全部回复
2010-11-5 13:47:02
看egen命令啊
二维码

扫码加我 拉你入群

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

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

2010-11-5 13:47:32
help egen                                                                                         dialog:  egen
---------------------------------------------------------------------------------------------------------------

Title

    [D] egen -- Extensions to generate


Syntax

        egen [type] newvar = fcn(arguments) [if] [in] [, options]

    by is allowed with some of the egen functions as noted below.

    where depending on the fcn, arguments refers to an expression, varlist, or numlist, and the options are
        also fcn dependent, and where fcn is

        anycount(varlist), values(integer numlist)
            may not be combined with by.  It returns the number of variables in varlist for which values are
            equal to any integer value in a supplied numlist.  Values for any observations excluded by either
            [if] or [in] are set to 0 (not missing).  Also see anyvalue(varname) and anymatch(varlist).

        anymatch(varlist), values(integer numlist)
            may not be combined with by.  It is 1 if any variable in varlist is equal to any integer value in
            a supplied numlist and 0 otherwise.  Values for any observations excluded by either [if] or [in]
            are set to 0 (not missing).  Also see anyvalue(varname) and anycount(varlist).

        anyvalue(varname), values(integer numlist)
            may not be combined with by.  It takes the value of varname if varname is equal to any integer
            value in a supplied numlist and is missing otherwise.  Also see anymatch(varlist) and
            anycount(varlist).
二维码

扫码加我 拉你入群

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

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

2010-11-10 11:33:46
谢谢啊!我又从网上当了一个Stata11破解版,能掉出这个函数了,
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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