在数据集和生成的斜率之间拟合模型我想在加速数据集(特定温度下不同时间点的数据)和这些点的斜率之间拟合一个模型
因为我想生成400个伪数据集并拟合每个数据集的斜率。 JMP 可以帮我做到这一点吗?
我尝试将斜率作为公式获取,但不幸的是,分析器无法识别公式列,并且我无法将时间、结果值和斜率拟合到一行中以在添加噪声后重复数据探索和可视化预测建模和机器学习回复:在数据集和生成的斜率之间拟合模型你好,
您能否分享您尝试在分析器中使用的数据和公式的示例(模拟数据可以)? 仅凭您上面的简短描述,我无法弄清楚如何解决您的问题。
谢谢。
最好的,
TS
回复:在数据集和生成的斜率之间拟合模型我想使这个功能如下图所示
回复:在数据集和生成的斜率之间拟合模型如果您的输入数据类似于所附的 Excel 布局图片,则以下是执行此操作的方法示例。

names default to here(1);
// Create an example data table
dt =
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
dtExample = dt << Subset( columns(:NPN1, :NPN2, :NPN3, :NPN4), output table( "Example" ) );
// Close the semiconductor capability data table
close( dt, nosave );
// add the initial comparison slope as row 1
dtExample << Add Rows( 1, At Start );
:NPN1[1] = 0;
:NPN2[1] = 1;
:NPN3[1] = 3;
:NPN4[1] = 6;
// Create the Slope Column and add the formula
dtExample << New Column( "Slope",
formula(
// Create the y matrix from the 4 columns at row 1;
// The y matrix needs to be the transpose of row 1,
// since the matrix needs to be a 4 row matrix, not
// a 4 column matrix
As Constant( x = current data table()[1, 1::4]` );
// For all rows in the data table, except the first
// create the y matrix(transposed) and then run the
// regression, stripping out only the slope from
// the Estimates list created from the linear regression
If( Row() > 1,
y = current data table()[Row(), 1::4]`;
{Estimates, Std_Error, Diagnostics} = Linear Regression( y, x );
slope = Abs( Estimates[2] );
,
slope = .
);
)
);
回复:在数据集和生成的斜率之间拟合模型进一步考虑您的请求,您希望考虑使用 JMP 中提供的响应筛选平台。它旨在查看大量分析,并尝试使误报可能影响分析的事实变得有意义。

为此,需要将数据从以行为中心的形状简单转置为以列为中心的形状(JMP 通常使用以列为中心的数据结构)。
下面的例子展示了转置和分析
names default to here(1);
// Create an example data table
dt =
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
dtExample = dt << Subset( columns(:NPN1, :NPN2, :NPN3, :NPN4), output table( "Example" ) );
// Close the semiconductor capability data table
close( dt, nosave );
// Transpose into columns
dtTrans = dtExample << Transpose(
columns( Column Group( "Processes" ) ),
Output Table( "Transpose of Example" )
);
close( dtExample, nosave );
// New column: Primary
dtTrans << New Column( "Primary",
Numeric,
"Continuous",
Format( "Best", 12 ),
values([0,1,3,6])
) << Move Selected Columns( {:Primary}, To First );
// Build a JMP list to handle all of the transposed columns as
// a single reference
responseColList = dtTrans << get column names(string, continuous );
// Delete the first entry which is the new column called Primary
remove from( responseColList, 1,1);
// Run the Response Screening Platform which is designed to allow for the
// exploration of a large number of analyses
// Launch platform: Predictor Screening
dtTrans <<
response Screening(
Y( eval(responseColList)
),
X( :Primary ),
Show Slopes( 1 ),
PValues Table on Launch( 0 ),
Common Y Scale( 1 ),
Common X Scale( 1 ),
);
有关响应筛选平台的详细信息,请参阅帮助屏幕或预测和专业建模文档(可在 JMP 文档库的“帮助”下拉菜单下找到)
回复:在数据集和生成的斜率之间拟合模型感谢您的努力,我的工作表的主要目的是进行蒙特卡罗模拟,以固定时间点将噪声(400个伪数据集)添加到第一行,我与您共享的Excel工作表由实验组成row 和 399 生成的数据集,我想说的是,如果以列为中心有助于生成这些数据,请告诉我如何做到这一点。
我已经尝试过你的第一种方法并且它有效,但不幸的是我对 JMP 仍然是新手,所以现在我学习 JSL 以了解如何制定你的方法。
再次感谢
回复:在数据集和生成的斜率之间拟合模型JMP 文档库中的刻画器文档中有有关刻画器和噪声因子使用的详细文档,可在“帮助”下拉菜单下找到。
也许这将为您提供您所需要的。