1
我試圖找到物種Pike
sashelp.fish
的重量和身高的皮爾森相關係數,但我有問題返回結果專門爲派克。這裏是我的代碼:PROC CORR皮爾遜的分類變量
proc corr data=sashelp.fish pearson;
var height width;
by species;
run;
而這裏的錯誤消息:
Data set SASHELP.FISH is not sorted in ascending sequence. The current BY group has Species = Whitefish and the next BY group has Species = Parkki
。
我嘗試使用PROC SORT
按Species
對數據進行排序,但收到錯誤消息「用戶沒有適用於庫SASHELP
的授權級別」。
謝謝!
這將是一個更好的問題,如果標題相關的實際問題。 – david25272