您可以尝试包括直方图边框并突出显示Y分布的部分 - 应突出显示X值。 然后,如果要检查这些,可以在数据集的列中命名该选择(例如,兴趣点)以进行进一步分析。
你好 @NSadeghi
请查看此脚本,如果有用,请告知我们。
也许其他人有更优雅的方式来做这件事。我也想知道
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
// this is just in case you want to bring the data back to original row order later.
rowcol = New Column("Row", Numeric, "Continuous", Format("Best", 12), Formula(Row()));
dt << run formulas();
rowcol << suppress eval( true );
// now we start working
dt << Sort( By( :height ), Order( Ascending ), replace table );
// here is where we define the share of included range (0.6)
difcol = New Column("dif", Numeric, "Continuous", Format("Best", 12), Formula(Abs(:height - Lag(:height, -(N Rows() * 0.6)))));
dt << run formulas();
difcol << suppress eval( true );
start = (dt<<GET rows="" where="">= start, row()<=end),1 ,0 ));
// make graphs for observations in the range only.
Bivariate( Y( :height ), X( :weight ), Where( :inrange == 1 ) );
Graph Builder(
Size( 542, 448 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ), Where( :inrange == 1 ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
);</GET>您可以查找,选择和子集包含(中间)60%Y值的行,然后检查关联X值的分布。
Names Default to Here( 1 );
dt 1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt 1 << Bivariate( Y( :weight ), X( :height ) );
lo = Col Quantile( :weight, 0.2 );
hi = Col Quantile( :weight, 0.8 );
dt 1 << Select Where( lo <= :weight <= hi );
dt 2 = dt 1 << Subset(
Selected Rows( 1 ),
Selected columns only( 0 )
);
dist = dt 2 << Distribution( Y( :height ) );
嗨,
我的问题可能很简单,但我似乎无法弄明白。
我有一个Y列,我已将其绘制为与列X相比,它看起来像附加图像。
我想在X中找到它产生(或包括)60%Y点的范围。没有与2列相关的定义公式。
有任何想法吗?
