如何从 JMP 报告中提取数据的 R 方和斜率?
How do I extract the R-square and slope of the data from JMP report?
我使用 JSL 脚本绘制了两个条件 A 和 B 中的几个变量 V1、V2、V3(等等),以查看它们的相关程度。例如。 A 的 V1 与 B 的 V1
然后我将图表发送到 JMP 报告,这样所有图表都将显示在一个 window 中。
在 JMP 中,我使用 "Fit Line" 命令生成 R 平方 table。然后,我使用 "Fit Special" 命令生成一条斜率等于 1 的线。因此,我创建了线性回归线并创建了回归报告。参见 http://www.jmp.com/support/help/Regression_Reports.shtml#846953
我的问题是这样的。如何 "extract" 回归报告中的数字并将它们放入变量中?
我的目的就是这个。我需要在单个 table 中列出 R 平方值和 y 截距。现在,我正在手动输入。
非常感谢。
这是一个基于 JMP 中的血压样本数据的样本:
我们将 "Fit X to Y" 对 X 使用 "BP 6M",对 Y 使用 "BP 8M" 并添加一条拟合线。这个初始部分是用 "Save Script to Script Window." 完成的 biv
的命名 + 添加了其余部分。
/* get the Bivariate fit with its Fit Line into a variable */
biv = Bivariate( Y( :BP 8M ), X( :BP 6M ), Fit Line( {Line1 Color( {213, 72, 87} )} ) );
/* get the report into a variable */
reportbiv = biv << Report;
/* output the Summary of Fit to a table */
dt = reportbiv["Summary of Fit"][1] << MakeIntoDataTable;
我使用 JSL 脚本绘制了两个条件 A 和 B 中的几个变量 V1、V2、V3(等等),以查看它们的相关程度。例如。 A 的 V1 与 B 的 V1
然后我将图表发送到 JMP 报告,这样所有图表都将显示在一个 window 中。
在 JMP 中,我使用 "Fit Line" 命令生成 R 平方 table。然后,我使用 "Fit Special" 命令生成一条斜率等于 1 的线。因此,我创建了线性回归线并创建了回归报告。参见 http://www.jmp.com/support/help/Regression_Reports.shtml#846953
我的问题是这样的。如何 "extract" 回归报告中的数字并将它们放入变量中?
我的目的就是这个。我需要在单个 table 中列出 R 平方值和 y 截距。现在,我正在手动输入。
非常感谢。
这是一个基于 JMP 中的血压样本数据的样本:
我们将 "Fit X to Y" 对 X 使用 "BP 6M",对 Y 使用 "BP 8M" 并添加一条拟合线。这个初始部分是用 "Save Script to Script Window." 完成的 biv
的命名 + 添加了其余部分。
/* get the Bivariate fit with its Fit Line into a variable */
biv = Bivariate( Y( :BP 8M ), X( :BP 6M ), Fit Line( {Line1 Color( {213, 72, 87} )} ) );
/* get the report into a variable */
reportbiv = biv << Report;
/* output the Summary of Fit to a table */
dt = reportbiv["Summary of Fit"][1] << MakeIntoDataTable;