看板 Statistics 關於我們 聯絡資訊
※ 引述《KnightX (........)》之銘言: : 不是吧! 難道是程式下不對嗎? : 你可以去看看 SAS 說明檔裡面 proc cluster 的例子, : 而且若是要以經度做分群, : 因為你的資料 longitude 裡並非唯一, : 所以你需要先為每個經度給予一個唯一的值, : 再以他做分類,應該就可以跑出來了~! 我順便附上程式好了 data; no=_n_; input longitude $ sws sst EKE current; cards; 121 0.35 25 1400 56 . . . 123 0.13 30 1654 34 ; proc cluster method=centroid; var sws sst EKE current; id no; proc tree horizontal; id no; run; -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.152.30