如何检查样本数据的分布类型?大家好,
您能否请我帮我查一下JSL的样本数据集的分布情况(例如:检查样本数据是否正常分布?
谢谢。
Re:我如何检查样本数据的分布类型?我假设您的问题是用户没有直接参与(交互式评估),而是需要进行假设检验。我会使用分发平台。使用要在Y角色中测试的数据列启动它。拟合正态分布并获得拟合优度检验的结果。使用示例数据表Big Class中的weight变量进行说明:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dist = dt << Distribution(
Y( :weight ),
Fit Distribution( Normal( Goodness of Fit( 1 ) ) )
);
dist rep = dist << Report;
p value = dist rep["Goodness-of-Fit Test"][NumberColBox("Prob<W></W>
希望答案有帮助。
Re:我如何检查样本数据的分布类型?以下是来自的示例:
帮助==>脚本索引==>分布==>连续分布==>全部
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = Distribution( Column( :CO ) );
obj << Fit Distribution( All( 1 ) );