<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />各位,
你能给我举个例子,说明如何在图表生成器中使用频域吗?
先感谢您。
坤
我写了一个小脚本,它比较了示例结构的数据表,使用 Graph Builder 的 Freq drop zone,与将数据扩展为实际观察值,然后根据扩展数据进行图形构建。

Names Default To Here( 1 );<BR />
/*dt = New Table( "Example",
Add Rows( 16 ),
New Column( "#non conformities",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values( [1, 1, 1, 4, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2] )
),
New Column( "X",
Numeric,
"Nominal",
Format( "Best", 12 ),
Set Values( [2, 4, 3, 5, 5, 4, 2, 1, 2, 3, 3, 1, 4, 2, 4, 1] )
),
New Column( "Y",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values(
[87.6761003304139, 69.8609169241848, 87.4616511288794, 70.3768356100406, 70.8645383423261,
85.4167498650613, 85.0039197906326, 83.0781777845281, 81.445262575383, 77.6469864353613,
73.528707708996, 91.6793408130229, 82.0904076861622, 74.5541146955842, 95.3095947684666,
80.9917511770325]
)
)
);*/
dt = current data table();
dt << Add Multiple Columns( "Y", Col Max( :name( "#non conformities" ) ) - 1, numeric, after last );
For Each Row( For( i = 2, i <= :Name( "#non conformities" ), i++, Column( 2 + i )[Row()] = :Y[Row()] ) );
theList = {"Y"};
For( i = 1, i <= Col Max( :name( "#non conformities" ) ) - 1, i++,
Insert Into( theList, "Y " || Char( i ) )
);
dtStack = dt << Stack( columns( theList ), Source Label Column( "Label" ), Stacked Data Column( "Data" ) );
dtStack << select where( Is Missing( :Data ) == 1 );
dtStack << delete rows;
New Window( "Comparison",
H List Box(
dt << Graph Builder(
Size( 528, 450 ),
Show Control Panel( 0 ),
Variables( X( :X ), Y( :Y ), Frequency( :Name( "#non conformities" ) ) ),
Elements( Box Plot( X, Y, Legend( 6 ) ) ),
SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( "Using Freq" )} ) )
),
dtStack << Graph Builder(
Size( 528, 450 ),
Show Control Panel( 0 ),
Variables( X( :X ), Y( :Data ) ),
Elements( Box Plot( X, Y, Legend( 6 ) ) ),
SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( "Stacked" )} ) )
)
)
);
如果针对您的数据运行此脚本,您应该会得到与您的数据创建的 Freq 版本形式相同的图表。
@XanGregg ,能否请您详细说明 JMP 如何确定将使用什么数字作为乘数?
为了更好地解释这种情况,我创建了这个例子:
数据表

该图只有 Y x X,没有频率。

以及在频率中放置“#non conformities”的图表。

什么 JMP 用作乘法器?
如果需要,#non conformities 列具有以下分布。

期待阅读您的回复,一旦我必须在我担任讲师的课程中解释它。
提前致谢
无论您放在那里的什么变量都充当响应变量的权重/频率变量。 基本上是一个乘数。