全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2626 1
2009-06-03

 运行一个简单的do时,碰到codebook时,居然出现问题,到底怎么回事。help version也没搞懂,我是标准的10.0版的啊

count
   40

. gen bcg=r(N)

. version 10.0

. codebook bcg
  ------------------------------------------------------------------------- begin codebook ---
  - version 8.1, born(09sep2003) missing
 - nobreak {
  - macro drop T_cb_*
  - capture noisily break {
  - Codebook_u `0'
  = Codebook_u bcg
    ------------------------------------------------------------ begin codebook.Codebook_u ---
    - syntax [varlist] [if] [in] [, All Tabulate(integer 9) Mv Notes Header Problems Detail LA
> NGuages LANGuages2(str) Compact dots ]
    - if "`compact'" != "" {
    = if "" != "" {
      if `tabulate' == 9 {
      local tabulate ""
      }
      local optmacs "all tabulate mv notes header problems"
      local optmacs "`optmacs' detail languages languages2"
      local optlist "all tabulate() mv notes header problems"
      local optlist "`optlist' detail languages languages()"
      tokenize `optmacs'
      foreach opt of local optlist {
      if "``1''" != "" {
      di as err "compact and `opt' are mutually exclusive"
      exit 198
      }
      macro shift
      }
      SummCompact `varlist' `if' `in', `dots'
      exit
      }
    - else {
    - if "`dots'" != "" {
    = if "" != "" {
      di as err "dots allowed only with compact"
      exit 198
      }
    - }
    - if "`problems'" != "" & "`detail'" == "" {
    = if "" != "" & "" == "" {
      local quiet quiet
      local notes
      }
    - if "`all'" != "" {
    = if "" != "" {
      local header header
      local notes notes

二维码

扫码加我 拉你入群

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

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

全部回复
2009-6-3 07:48:00

把你的do文件和数据贴上来

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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