이전에 스크립트에 열을 넣지 않은 스크립트를 수행하여 스크립트가 실행될 때 플랫폼을 불러와 다음과 같은 정보를 넣을 수 있도록 했습니다.
Fit Model(
Y( ),
Effects( ),
Personality( "Standard Least Squares" ),
Emphasis( "Minimal Report" ),
Run(
:height << {Summary of Fit( 1 ), Analysis of Variance( 1 ),
Parameter Estimates( 1 ), Plot Actual by Predicted( 1 ),
Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 0 ),
Plot Effect Leverage( 1 ), Box Cox Y Transformation( 0 )}
)
);
이것은 그들이 정보를 입력할 수 있는 적합 모델 플랫폼을 불러옵니다.
그러나 생존 플랫폼으로 이것을 시도하면 작동하지 않습니다.
Names Default To Here( 0 );
Clear Log();
dt = Current Data Table();
If( Not( Is Scriptable( dt ) ),
dtsel = Pick File( "Open File", {"JMP|jmp", "All files|*"} );
If( dtsel == "",
Stop(),
Try( dt = Open( dtsel ), Stop() )
);
);
dt<<SURVIVAL></SURVIVAL>이것이 서바이벌에서 작동하지 않는 이유는 무엇입니까?
MacBook에 JMP Pro 16.0이 있습니다.
Survival에서 작동하지 않는 이유 / Fit 모델에서 작동하는 이유를 잘 모르겠습니다. 그러나 Survival에서 열 정의를 그대로 두려고 할 수 있으며, 저를 위해 플랫폼을 여는 것 같았고 (적어도 일부) 설정이 있었습니다. 올바르게 설정
Names Default To Here( 0 );
dt = Open("$SAMPLE_DATA/Rats.jmp");
If( Not( Is Scriptable( dt ) ),
dtsel = Pick File( "Open File", {"JMP|jmp", "All files|*"} );
If( dtsel == "",
Stop(),
Try( dt = Open( dtsel ), Stop() )
);
);
dt << Survival(
Failure Plot( 1 ),
Show Points( 1 ),
Show Shaded Simultaneous CI( 1 ),
Show Simultaneous CI( 1 )
)