在分析超过1000组配对数据的数据时,不能选择超过1000次,比如A vs B、C vs D等……
如何在 Excel 表格中总结它们,我可以一次比较所有配对数据?
下面是一个将为您的数据运行的简单脚本。该脚本假定您已将 2 个工作簿作为 2 个单独的表格读入 JMP。然后,它确定每个数据表中列的名称,将这些表连接在一起,然后运行“匹配对”平台。我附上了我在您的 Excel 工作簿中使用的 2 个 JMP 表。
此外,我创建了自己的包含 3000 个匹配列的示例数据表,并在所有 3000 个列上运行了 Matched Pairs 平台,它可以正常工作。

Names Default To Here( 1 );
// Create a pointer to the Pre data table and get
// a list of the columns in it
dt1 = Data Table( "sample data_Sheet1" );
colList1 = dt1 << get column names( continuous );
// Create a pointer to the Post data table and get
// a list of the columns in it
dt2 = Data Table( "sample data_Sheet2" );
colList2 = dt2 << get column names( continuous );
// Join the data tables together
dtJoined = dt1 << Join(
With( dt2 ),
By Matching Columns( :ID = :ID ),
Drop multiples( 0, 0 ),
Include Nonmatches( 0, 0 ),
Preserve main table order( 1 )
);
// create a new list in the column order required for the Matched Pairs platform
// which is pre1, post1, pre2, post2, etc.
finalList = {};
For( i = 1, i <= N Items( colList1 ), i++,
Insert Into( finalList, colList1[i] );
Insert Into( finalList, colList2[i] );
);
// Run the matched pairs
dtJoined << Matched Pairs(
Y( Eval( finalList ) ),
Separate Pairs( 1 ),
Reference Frame( 1 ),
Wilcoxon Signed Rank( 1 )
);
感谢你的回复。
附加的 excel 文件包括 2 张在 A 列中具有相同 ID 的工作表,分别。
我将一次将 Sheet1-Pre 中的每个相同的 COMPOUND 与 Sheet2-Post 进行比较。 每个化合物包括 243 个原始数据。
例如,通过使用 Wilcoxon 符号秩检验(配对 t 检验的非参数等效项),我想将 Sheet1-Pre 的 COMPOUND1 与 Sheet2-Post 的 COMPOUND1 和 Sheet1-Pre 的 COMPOUND2 与 Sheet2- 的 COMPOUND2 进行比较一次发布等。
你好@酒井,
给我们一个小样本和您需要的比较示例。很可能这不是太难。