我有每日數據(每日重複過程的時間數據)。我希望能夠從所謂的循環(定向)統計領域獲得一些圖表和技術(參見 Pewsey A、Neuhauser、M Ruxton G. R. Oxford 的循環統計,OUP. 2013)。
我在想,既然有一個用於循環統計的 R 包,我可能可以透過從 JSL 呼叫 R 來存取其中一些函數。但如果有 JMP 內建函數那就太好了。即使只是基本圖形(圓形圖、玫瑰圖等)。
哇!非常感謝您這樣做。我已經使用JSL與R鏈接來運行R腳本,所以讓我下載Astropy並嘗試一下。由於涉及腳本的任何事情都會使我感到困惑,因此您幾乎肯定會盡快從我這裡收到一封私人電子郵件!
我只想讓您知道Python中有很多循環統計信息包,並且我已經能夠創建JSL函數,該函數包裝了多個Python循環統計信息函數,並且運行良好。下面是包裝來自Python astropy包的Rayleigh Test函數的示例。我還包裝了一些圓形的描述性統計函數,並致力於將圓形條形圖從Python轉換為JMP。
如果您需要更多詳細信息,請給我發私人消息,我們可以討論詳細信息。
Add Custom Functions(
New Custom Function(
"x",
"Rayleigh Test",
Function( {samples, high = 2 * Pi(), low = 0},
{arg, rslt, span},
If( Is List( samples ),
samples = Matrix( samples )
);
samples = Shape( samples, N Col( samples ) * N Row( samples ) );
span = high - low;
samples = 2 * Pi() / span * Modulo( samples - Matrix( low ), span );
arg = Eval Insert(
"\[
from astropy import stats as ast;
import numpy as np;
data = np.array(^samples^)
rslt = ast.circstats.rayleightest(data)
]\"
);
Python Init();
Python Submit( arg );
rslt = Python Get( rslt );
Python Term();
rslt;
)
)
<<FORMULA category=""></FORMULA>我第二。我只是去嘗試分析幼蟲的釋放數據,發現我無法進行沃森檢驗或瑞利檢驗。我想知道是否有類似的東西? https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6060829/
您好@john_madden ,感謝您的建議!我們已收到您的請求並將予以考慮。