[程式] smooth function
[軟體程式類別]:
R
[程式問題]:
smooth function
[軟體熟悉度]:
高(1年以上)...但還是很弱...
[問題敘述]:
各位好!
我現在有一比binary (y=1 or 0)的資料 有將近200個變數
我想要把每個變數 smooth出兩個function (g(x):y=0那組的 f(x):y=1的)
然後得到 L(x) = f(x)/g(x)
但我跟smooth真的是不太熟> <
我用了smooth.spline 但出來的結果 我不知道要怎麼弄出我要的est.function (f and g)
可否請各位指點一下! 感謝不盡!!
[程式範例]:
smooth.spline(one$x1)
smooth.spline(zero$x1)
-----------------------------------------------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 128.120.178.141
推
06/27 16:52, , 1F
06/27 16:52, 1F
→
06/28 16:43, , 2F
06/28 16:43, 2F