楼主: james9609
3162 4

[回归分析求助] boost regression求助,愿付200金币 [推广有奖]

  • 0关注
  • 29粉丝

副教授

76%

还不是VIP/贵宾

-

威望
1
论坛币
16431 个
通用积分
19.5921
学术水平
173 点
热心指数
139 点
信用等级
106 点
经验
14867 点
帖子
237
精华
3
在线时间
883 小时
注册时间
2007-10-15
最后登录
2023-11-25

200论坛币
请教各位朋友,
我用boost这个命令执行boost回归,总是出现unrecognized command的红字,这是为什么啊?

我的命令如下:
boost grant fa_educ fam_income, distribution(logistic) trainfraction(0.8) pred(p) inter(2) shrink(.0005) influence过程如下:
. gen x=uniform()
. sort x
. set seed 1000
. boost grant fa_educ fam_income, distribution(logistic) trainfraction(0.8) pred(p) inter(2) shrink(.0005) influence
influence
Distribution=logistic
predict=p
Trainfraction=.8 Shrink=.0005 Bag=.5 maxiter=20000 Interaction=2
unrecognized command

grant因变量是一个两分变量, fa_educ和fam_income是连续自变量(实际上,我换成类别变量也是不行)。boost命令我也下载了,并且help boost能看到帮助文件。奇怪的是,似乎前面执行是正确的,在识别出命令程序后,再出现unrecognized command,求解。如能提供实质性帮助,愿付报酬200金币,谢谢!

最佳答案

hplcdadong 查看完整内容

*Boost is not an "ordinary" user-written command, it's a "plugin" (need a special work to load). *Two important things: 1) your Stata is 32-bit or 64-bit version; 2) remember the location of your downloaded boost32.dll or boost64.dll *The following procedures go well in Stata 11 MP in my 64-bit computer. Hope it will help you in some way. capture program drop boost_plugin program boost ...
关键词:regression regressio regress boost ESS command 因变量 自变量 朋友
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
花逝无痕梦丶 + 1 + 1 + 1 精彩帖子

总评分: 学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

沙发
hplcdadong 发表于 2014-7-4 22:49:13 |只看作者 |坛友微信交流群
*Boost is not an "ordinary" user-written command, it's a "plugin" (need a special work to load).
*Two important things: 1) your Stata is 32-bit or 64-bit version; 2) remember the location of your downloaded boost32.dll or boost64.dll
*The following procedures go  well in Stata 11 MP in my 64-bit computer. Hope it will help you in some way.



capture program drop boost_plugin
program boost_plugin, plugin using("C:\Users\guest1\Documents\boost64.dll")   

set more off
set seed 12345678

sysuse auto, clear

gen u=runiform()
sort u
boost foreign price trunk weight, distribution(logistic) trainfraction(0.8) predict(pred) inter(2) shrink(.0005)  influence

使用道具

藤椅
323191599 发表于 2014-7-4 23:07:59 |只看作者 |坛友微信交流群
楼主可以把报酬提高点,这样可能会更快解决问题(鄙人不懂)

使用道具

板凳
james9609 发表于 2014-7-5 23:00:22 |只看作者 |坛友微信交流群
thank you for your help. The question is done. It actually need to install the boost32/64.dll. I didn't see the important information in helpfile. Thanks again.

使用道具

hplcdadong 发表于 2014-7-4 22:49
*Boost is not an "ordinary" user-written command, it's a "plugin" (need a special work to load).
*T ...
program boost_plugin, plugin using("E:\统计类\Stata12.0(已破解版)\ado\base\b\boost64.dll")
Could not load plugin: E:\统计类\Stata12.0(已破解版)\ado\base\b\boost64.dll
为什么会有这个提示呢?

使用道具

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

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 01:57