[程式] sas 偏相關要怎麼跑??
------------------------------------------------------------------------
[軟體程式類別]:
sas
[軟體熟悉度]:
中(3個月到1年)
[問題敘述]:
偏相關係數我跑不出來...
sas網站跟內建的help已經查過
可是沒找到如何計算偏相關的方法
麻煩高手指點一下...
謝謝
[程式範例]:
data R86981035;
input y x1 x2;
cards;
2.215 0.094 0.712
0.669 0.094 0.321
113.788 10.394 50.605
5.391 0.230 0.999
81.570 3.492 37.866
27.452 3.737 11.525
203.693 28.560 85.864
31.056 2.547 13.545
125.037 14.158 55.016
26.606 0.088 12.434
25.038 0.061 11.264
35.330 0.010 16.330
97.464 13.440 40.324
183.728 25.380 78.349
50.434 3.024 21.400
156.562 5.367 74.733
50.881 2.021 23.113
116.785 15.682 48.556
5.436 0.235 0.766
2.936 0.101 0.368
381.095 44.719 166.715
140.091 17.327 59.453
20.141 1.551 7.631
7.241 0.760 2.301
13.186 1.504 4.549
46.206 6.127 19.363
208.828 25.318 91.458
47.343 6.409 19.246
3.951 0.154 0.687
128.955 17.303 53.740
;
proc reg data = R86981035;
model y = x1 x2 / r ss1 selection = rsquare adjrsq;
output out = regression;
run;
-----------------------------------------------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.40.95.71
→
10/07 03:21, , 1F
10/07 03:21, 1F
→
10/07 09:35, , 2F
10/07 09:35, 2F