楼主: deezhi
5990 3

求助内置函数anycount(varlist) [推广有奖]

  • 13关注
  • 2粉丝

金融大厄

已卖:708份资源

副教授

66%

还不是VIP/贵宾

-

威望
0
论坛币
72 个
通用积分
13.7417
学术水平
0 点
热心指数
9 点
信用等级
0 点
经验
16641 点
帖子
364
精华
0
在线时间
1468 小时
注册时间
2005-7-22
最后登录
2024-9-8

楼主
deezhi 发表于 2010-11-5 11:10:34 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
鄙人用的是Stata10.1SE,系网上下载版。最近在使用函数anycount(varlist)时,发现调不出来,也help不到,很是郁闷!
在网上查了好久,可能不得法,居然也没有找到这个功能的下载。
请问高手,有什么妙招解决 啊,
期待中………………
二维码

扫码加我 拉你入群

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

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

关键词:anycount varlist Count list NYC 求助 函数 anycount varlist

沙发
蓝色 发表于 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).
已有 1 人评分论坛币 收起 理由
dxystata + 5 好的意见建议

总评分: 论坛币 + 5   查看全部评分

板凳
deezhi 发表于 2010-11-10 11:33:46
谢谢啊!我又从网上当了一个Stata11破解版,能掉出这个函数了,

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-9 03:53