[程式] smooth function

看板Statistics作者 (@@)時間14年前 (2011/06/27 15:33), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
[軟體程式類別]: 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
http://ppt.cc/kSuK 希望對你有幫助
06/28 16:43, 2F
文章代碼(AID): #1E239TNe (Statistics)