回复:獲取框架文本對於 Jackknife Distances,您可以先將距離保存到數據表,然後獲取“Jackknife Value”列屬性值Jackknife 預測值.
或者您可以從圖中獲取線段值
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
frame = Report(myrpt)[Framebox(82)];
seg = (frame << Find Seg(Line Seg(1)));
seg << get y values;
回复:獲取框架文本names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Jackknife Distances( 1, Save Jackknife Distances );
jd1 = dt:Jackknife Distances << get property("Jackknife Value");
show(jd1);這是獲得我尋求的價值的另一種方式。感謝您指導我了解列屬性, @jthi !
獲取框架框文本你好,
我想從框架框中獲取文本,但我還沒有弄清楚執行此操作的語法。 有人可以幫忙嗎?
我已經改編了該線程的腳本,但發現它似乎不適用於我正在尋找的內容。
https://community.jmp.com/t5/Discussions/JSL-Retrieve-Selected-Frame-Box/mp/14552
我還有另一個腳本,可以從分析器繪圖工具中獲取數字,並且我已經對其進行了調整,但我認為我也沒有正確修改它。
下面是一個例子。
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Show tree structure;
// Try 1
mynum1 = myrpt[ Framebox(83) ] << Get text; // Send error
show( mynum1 );
// Try 2
mynum2 = Num( Report( myrpt )["Multivariate", Framebox( 83 )] << Get Text );
show( mynum2 ); // Empty
// Try 3
mynum3 = Num( Report( myrpt )["Jackknife Distances", Framebox( 83 )] << Get Text ); // Send error
show( mynum3 );
report( myrpt ) << Close report;


是否有關於如何從樹結構的不同部分獲取數據的指南?
自動化和腳本編寫視窗回覆:取得Framebox文本當我顯示(seg)時,seg = DisplaySeg[];被返回。你知道這是什麼嗎?我正在尋找 UCL 值或整個字串,因為很容易提取我需要的內容。
當我修改嘗試 1 時,nynum1 最終變為空。你知道為什麼嗎?似乎找到了框架框,但沒有返回任何內容。
mynum1 = report(myrpt)[ Framebox(83) ] << Get text;
show( mynum1 );