搜索
人大经济论坛 附件下载

附件下载

所在主题:
文件名:  sqc1.zip
资料下载链接地址: https://bbs.pinggu.org/a-1856538.html
本附件包括:
  • cylinder.dat
  • pca.tut
  • pciest.ado
  • pciest.hlp
附件大小:

命令

演示教程内容(自学专用)

附件

aboutreg

回归分析

bstrap /bstut

自助法

pyramid

人口金字塔

randwalk /tt7

随机游走

sqc1/pca

计算工序能力指数Process Capability Indices(PCIs)


  1. findit aboutreg
  2. findit bstut
  3. findit pyramid
  4. findit sqc1
  5. findit randwalk
复制代码

安装使用:

1.command窗口输入cd或pwd
2.将附件解压到当前工作路径
2.在command窗口输入 tutorial 命令名
3.然后按Enter键不断执行


注:

pyramid.tut在运行时出现codebook错误:
解决方法1.运行aboutreg.tut后再运行,

解决方法2.使用如下代码
(即保存为do文档代替演示,见附件)
解决方法3.对原命令进行修改,遇错后继续执行(见9楼):

  1. qui use fyn,clear
  2. gen sex = 1 in 3
  3. replace sex = 2 in 4
  4. label define sexlbl 1 male 2 female
  5. label value sex sexlbl
  6. drop if sex == .
  7. gen id = _n


  8. reshape long c, i(id) j(age)
  9. replace age = age-2

  10. drop if age > 99 | age < 0

  11. gen count = real(c)
  12. gen males = -real(c) if sex == 1
  13. gen females = real(c) if sex == 2

  14. replace females = real(c[_n+100]) if sex == 1
  15. drop in 101/200
  16. gen lbl =age
  17. replace lbl = . if mod(age,10) > 0

  18. hbar males females, l(lbl)
  19. gen str2 slbl = string(lbl)
  20. replace slbl = " " if lbl == .

  21. hbar males females, l(slbl) lap /*
  22. */ xla(-4250,-4000,-3000,-2000,-1000,0,1000,2000,3000,4000,4250) /*
  23. */ ttick t1(Demographic composition, 1998) t2(Funen County, Denmark)/*
  24. */ barfrac(0.85) xline(-1000,-2000,-3000,0,1000,2000,3000) saving(pyramid,replace)

  25. gsort -age

  26. more
  27. hbar males females, l(slbl) lap /*
  28. */ xla(-4250,-4000,-3000,-2000,-1000,0,1000,2000,3000,4000,4250) /*
  29. */ ttick t1(Demographic composition, 1998) t2(Funen County, Denmark)/*
  30. */ barfrac(0.85) xline(-1000,-2000,-3000,0,1000,2000,3000) saving(pyramid,replace)

  31. more

  32. gen dif = males - (-females)
  33. label var dif "Male Female "

  34. hbar dif, l(slbl) lap /*
  35. */ xla(-500,-250,0,250,500) t2(Diffence N males - N of females) /*
  36. */ ttick t1(Female preponderance with age) /*
  37. */ barfrac(0.85) xline(-250,0,250,500)
复制代码




命令

作者

abooutreg Stanislav Kolenikov
pyramid Jens M.Lauritsen: (v1.02)
randwalk Albert Verbeek/Jeroen Weesie
bstrap Stanislav Kolenikov
pca/sqc1 Sutaip L. C. Saw and Teck Wong Soon



    熟悉论坛请点击新手指南
下载说明
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。
2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。
3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。
(如有侵权,欢迎举报)
二维码

扫码加我 拉你入群

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

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

GMT+8, 2026-1-1 18:49