全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3442 4
2014-07-04
悬赏 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 ...
二维码

扫码加我 拉你入群

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

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

全部回复
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
二维码

扫码加我 拉你入群

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

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

2014-7-4 23:07:59
楼主可以把报酬提高点,这样可能会更快解决问题(鄙人不懂)
二维码

扫码加我 拉你入群

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

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

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.
二维码

扫码加我 拉你入群

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

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

2016-11-21 14:04:26
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
为什么会有这个提示呢?
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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