로지스틱 회귀 출력에서 AUC 값을 가져와 테이블에 쓰려고 합니다. 지금까지 내 스크립트는 아래 출력에 표시된 대로 0.62937 대신 빈 값을 반환합니다. 데이터 테이블이 올바르게 생성되고 "모델 적합" 명령이 실행됩니다. 마지막 줄에 오류가 있는 걸까요? 이 포럼의 다른 게시물에 있는 예를 따르고 있지만 이전 버전의 JMP(버전 9.0)에 문제가 있는 것으로 의심됩니다.
Names Default To Here( 1 );
// Open data table
dt = Open( "sample.jmp" );
// Create an output data table for the results
MyTable = New Table( "Results", New Column( "AUC" ) );
// Add a new row to the output data table
MyTable << Add Rows( 1 );
// Run Fit Model
MyResult = dt << Fit Model(Y( :case ),Effects( :weight ),Personality( Nominal Logistic ),Run(Positive Level( "1" ),Likelihood Ratio Tests( 1 ),ROC Curve( 1 ),));
// Add the AUC to the data table by grabbing it from the display report output
MyTable:AUC = (Report( MyResult )["Receiver Operating Characteristic"][Number Col Box( 1 )] << get [1]);

