你好,
我正在尝试编写一个脚本,该脚本将确定针对特定主题(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>