JMP 14.2 联机文档
发现 JMP
使用 JMP
基本分析
基本绘图
刻画器指南
实验设计指南
拟合线性模型
预测和专业建模
多元方法
质量和过程方法
可靠性和生存方法
消费者研究
Scripting Guide
JSL Syntax Reference
该帮助的版本不再更新,请参见
https://www.jmp.com/support/help/zh-cn/15.2
获取最新的版本.
Scripting Guide
•
Scripting Platforms
•
Specify Which Columns to Analyze
• Specify Multiple Column Names at Once
上一个
•
下一个
Specify Multiple Column Names at Once
If you have a lot of column names, instead of listing each one individually, you can use lists as column arguments. The following example gets the column names from a list and runs a Distribution on each column in the list.
dt =
Open
(
"$SAMPLE_DATA/Cities.jmp"
);
dt <<
Fit Group
(
Oneway
( Y( {:SO2, :POP} ), X( :State ) ) );
If you do not know the column names when you are writing the script, use column indices, as done in the following example.
dt =
Open
(
"$SAMPLE_DATA/Big Class.jmp"
);
dt <<
Distribution
( Y(
1
::
N Col
( dt ) ) );
You can also use indices when specifying effects as shown here:
dt << Fit Model( Y( :y ), Effects( 1 :: 4 ) );