你好,
我正在嘗試編寫一個腳本,該腳本將確定針對特定主題(unique_subject_id)收集的數據(XYZ%)是否與參考人群(例如“ test_article_type”列中的車輛)顯著不同。 另外,對於給定的主題,可以在多個位置(變量)收集多個數據。
運行單樣本t檢驗似乎很簡單,但是我正在努力尋找一種方法來在分發平台中使用“ XYZ%”運行“測試均值”選項時攜帶“ unique_subject_id和變量”信息使用for循環的每個“ unique_subject_id_variables”的值。
我想不出一種方法來將'unique_subject_id_variables'標籤保留到分發平台中,以使生成的Pvalue返回到父表中而不會造成混淆。
任何建議將不勝感激。
最好,
塞巴斯蒂安
// 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>