楼主: bucketboy
3108 6

求助!非参数估计方法 [推广有奖]

  • 0关注
  • 0粉丝

博士生

5%

还不是VIP/贵宾

-

威望
0
论坛币
479 个
通用积分
3.0000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1727 点
帖子
86
精华
0
在线时间
367 小时
注册时间
2005-2-22
最后登录
2024-4-19

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
各位大佬,有没有人知道,如果要进行非参数估计,比如使用核方法、局部多项式回归、正则化方法等。。。。需要什么样的软件支持。
SPSS和EVIEWS能做吗?
二维码

扫码加我 拉你入群

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

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

关键词:非参数估计 参数估计 非参数 局部多项式回归 EVIEWS 求助 参数估计

回帖推荐

chinachun 发表于2楼  查看完整内容

stata 和R都可以

本帖被以下文库推荐

沙发
chinachun 发表于 2010-12-2 16:54:36 |只看作者 |坛友微信交流群
stata 和R都可以

使用道具

藤椅
bucketboy 发表于 2010-12-2 21:29:49 |只看作者 |坛友微信交流群
谢谢楼上。。有没有这方面的操作指南?

使用道具

板凳
chinachun 发表于 2010-12-3 01:41:42 |只看作者 |坛友微信交流群
R, there are some buildin
packages for implementing the local polynomial estimate. For example, the package
KernSmooth contains several functions.Function bkde() computes the kernel density
estimate and Function bkde2D() computes the 2D kernel density estimate.Function locpoly() is for the local polynomial fitting including a local polynomial estimate of the density of X.

# Define the local constant estimator with R
local.constant=function(y,x,z,h,ker){
# parameters: x=variable; h=bandwidth; z=grid point; ker=kernel
nz<-length(z)
nx<-length(x)
x0=rep(1,nx*nz)
dim(x0)=c(nx,nz)
x1=t(x0)
x0=x*x0
x1=z*x1
x0=x0-t(x1)
if(ker==1){x1=kernel(x0/h)} # Epanechnikov kernel
if(ker==0){x1=dnorm(x0/h)} # normal kernel
x2=y*x1
f1=apply(x1,2,mean)
f2=apply(x2,2,mean)
f3=f2/f1
return(f3)
}

使用道具

报纸
sw131a 发表于 2013-7-22 18:37:25 |只看作者 |坛友微信交流群
关注!!!!!!!!!

使用道具

地板
xuqiuhua 发表于 2013-7-22 20:45:51 |只看作者 |坛友微信交流群
chinachun 发表于 2010-12-3 01:41
R, there are some buildin
packages for implementing the local polynomial estimate. For example, the ...
这是蔡老师讲义上的代码。

使用道具

7
xmlb 发表于 2014-12-7 16:01:32 |只看作者 |坛友微信交流群
xuqiuhua 发表于 2013-7-22 20:45
这是蔡老师讲义上的代码。
哪的讲义?有吗,谢谢

使用道具

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

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

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

GMT+8, 2024-4-30 21:40