大規模なデータセットで1サンプルのt検定を実行するためのサンプル注釈を追跡する際の問題こんにちは、
特定のサブジェクト(unique_subject_id)について収集されたデータ(XYZ%)が参照母集団(「test_article_type」列の車両など)と大幅に異なるかどうかを判断するスクリプトをまとめようとしています。 さらに、特定のサブジェクトについて、複数の場所(変数)にわたって収集された複数のデータが存在する可能性があります。
1サンプルのt検定の実行は簡単に思えますが、「XYZ%」を使用して配布プラットフォームで「testmean」オプションを実行するときに、「unique_subject_idと変数」の情報を運ぶ方法を見つけるのに苦労していますforループを使用した各 'unique_subject_id_variables'の値。
'unique_subject_id_variables'ラベルを配布プラットフォームに引き継いで、生成されたP値を取り違えるリスクなしに親テーブルに戻す方法を考えることはできません。
任意の提案をいただければ幸いです。
ベスト、
セバスチャン
// The distribution for the "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" is assessed for each variables separately for the 'vehicle' samples only ('test_article_type')
//This is used as the starting point to assess whether each "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" values for every unique_subject_id is similar or not to the a reference population (ie 'vehicle') for their respective variables.
// the unique_subject_id_variables is not carried over in the pvalue report table so there is a risk of mix up when merging the Pvalue back to the main table
Names Default To Here( 1 );
Clear Log();
try(data Table( "one sample t-test validation Anonymized")<<CLOSE window=""></CLOSE>スクリプティングRe:大規模なデータセットで1サンプルのt検定を実行するためのサンプル注釈を追跡する際の問題したがって、スクリプトは思ったとおりに動作しますが、すべてが同じ順序になっていることを期待するだけで、常にリスクはほとんどありません。 または少なくともそれは私を緊張させます。
ラベル付きのテーブルを作成するために、いくつかの小さな調整を行いました。 ワイドフォーマットは理想的ではありませんが、スタックしてデータに結合することができます。 その部分を整理させていただきます。
また、この行についてこのコメントがありました
//By( :variables )// does not appear to be used by the platform
「:variables」はデータテーブルの列を指しますが、テーブルにはその名前の列がないため、何も実行されません。
これがJSLです、それが理にかなっていることを願っています
// The distribution for the "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" is assessed for each variables separately for the 'vehicle' samples only ('test_article_type')
//This is used as the starting point to assess whether each "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" values for every unique_subject_id is similar or not to the a reference population (ie 'vehicle') for their respective variables.
// the unique_subject_id_variables is not carried over in the pvalue report table so there is a risk of mix up when merging the Pvalue back to the main table
Names Default To Here( 1 );
Clear Log();
try(data Table( "one sample t-test validation Anonymized")<<CLOSE window=""> |t|", "Prob > t", "Prob < t"} )
);
variable = column(dt,3)<<GET values=""></GET></CLOSE>