ヒストグラムの境界線を含めて、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>Y値の(中央の)60%を含む行を見つけて選択し、サブセット化してから、関連する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 ) );
こんにちは、
私の問題はおそらく非常に単純ですが、私はそれを理解することができないようです。
列Xと列XをプロットしたY列があり、添付画像のように見えます。
XでYポイントの60%をもたらす(または含む)範囲を見つけたい。2つの列に関連する定義式はありません。
何か案は?
