マーカムQ機能このウィッシュリストのリクエストのきっかけは何ですか?
私は、CDF の Marcum Q 関数を使用する Rice 分布としていくつかのデータをモデル化しようとしていました。
何ですかどのような改善を望みますか?
JMPがMarcum Q関数Qν (a,b)をサポートしてくれると嬉しいです。
このアイデアはなぜ重要なのでしょうか?
Marcum Q 関数は、多くの統計分布の CDF を記述するために使用されます。これにより、ユーザーは非線形プラットフォームを使用して、現在 JMP でサポートされている分布よりもはるかに多くの分布を適合できるようになります。
以下の分布のCDFはQ関数を使用してモデル化できる。
- 指数関数
- アーラン
- カイ二乗
- ガンマ
- ワイブル
- 一般化ガンマ
- 非心カイ二乗検定
- レイリー
- マクスウェル・ボルツマン
- 過ごす
- 中上
- 米
- 非中心気
高度な統計モデリングRe: Marcum Q Function - ステータスが「確認済み」に変更されましたこんにちは、 @rdaさん。ご要望を承りました。JMPには標準関数として直接組み込まれていません。そこで調べてみたところ、Marcum Q関数を近似するカスタムスクリプトを実装できることが分かりました。
-
カスタム関数:
JSL スクリプトを使用して、Marcum Q 関数を実装するカスタム関数を JMP で作成できます。
これには、Marcum Q 関数を定義する積分 (または級数展開) を計算する JSL 関数の定義が含まれます。
-
JSLによる近似:
Since the Marcum Q-function can be expressed as a series expansion, you can approximate it in JSL using iterative calculations and JMP's built-in functions like If, Choose, Match, and potentially the Sum function.
-
外部ライブラリの使用:
外部ライブラリまたはアドインにアクセスできる場合、これらには事前に実装された Marcum Q 関数が含まれている可能性があります。
これを JMP 内で活用できます。
<SPAN>// Simple example, not a fully accurate implementation</SPAN><BR aria-hidden="true" /><SPAN>// This is for illustration purposes only</SPAN><BR aria-hidden="true" /><BR aria-hidden="true" /><SPAN>On Calculate Do</SPAN><BR aria-hidden="true" /><BR aria-hidden="true" /><SPAN> // Get inputs (assuming </SPAN><SPAN class="rQeGvc">'a'</SPAN><SPAN> and </SPAN><SPAN class="rQeGvc">'b'</SPAN><SPAN> are column names)</SPAN><BR aria-hidden="true" /><SPAN> a = Column( </SPAN><SPAN class="Bkvjgc">1</SPAN><SPAN> ).Data(); // Replace with actual column name</SPAN><BR aria-hidden="true" /><SPAN> b = Column( </SPAN><SPAN class="Bkvjgc">2</SPAN><SPAN> ).Data(); // Replace with actual column name</SPAN><BR aria-hidden="true" /><BR aria-hidden="true" /><SPAN> // Loop through values</SPAN><BR aria-hidden="true" /><SPAN> For( i, </SPAN><SPAN class="Bkvjgc">1</SPAN><SPAN>, NRow(a),</SPAN><BR aria-hidden="true" /><SPAN> // Approximate the Marcum Q-function (replace with your desired method)</SPAN><BR aria-hidden="true" /><SPAN> result = </SPAN><SPAN class="Bkvjgc">1</SPAN><SPAN>; // Placeholder for your calculation</SPAN><BR aria-hidden="true" /><SPAN> // Update the output column with the result</SPAN><BR aria-hidden="true" /><SPAN> Col(</SPAN><SPAN class="Bkvjgc">3</SPAN><SPAN>)[i] = result; // Replace </SPAN><SPAN class="Bkvjgc">3</SPAN><SPAN> with the desired output column number</SPAN><BR aria-hidden="true" /><SPAN> );</SPAN><BR aria-hidden="true" /><BR aria-hidden="true" /><SPAN> // Do other calculations...</SPAN><BR aria-hidden="true" /><BR aria-hidden="true" /><SPAN>End Do</SPAN>
JSL で Marcum Q 関数の近似値を求める方法の簡略化された例:
Re: Marcum Q関数こんにちは、ヴァレリー。
回答には感謝していますが、これは ChatGPT からコピーして貼り付けただけのものと思われるので残念です。
この例は JSL ではありません。テキストは単に「自分でやってください」と冗長に述べているだけであり、これは JMP に特有のものではなく、JMP に精通していることも示していません。
校正もされておらず、不要な「3.」があり、最後の行には従うべき例があることが示唆されていますが、貼り付けられていません。
JMPスタッフの投稿は、コンテンツへの支持を示唆しています。LLMの幻覚を推奨することは、ユーザーを混乱させ、時間を無駄にするだけです。これよりは、何も反応がない方がましです。