안녕,
Degradation Data Analysis 플랫폼을 사용하여 저하 데이터를 분석할 때, AICc에 따라 최상의 모델을 선택하기 위해 다양한 모델을 스크리닝하고 싶습니다. 이를 위해 주어진 경로 정의에 대해 다른 분포와 변환을 수동으로 적용하고 "보고서 생성" 버튼을 클릭하여 각 조합에 대한 보고서를 생성합니다. JMP에서 모든 조합에 대한 보고서를 자동으로 생성하여 모델 목록에 추가할 수 있는 방법이 있습니까? 보너스는 JMP에서 이를 수행하는 동시에 부적절하다고 간주되거나 누락된 값을 생성하는 변환(예: 0이 포함된 시간 계수에 로그 변환 적용)을 제외하는 것입니다.
JMP 버전 17.2
미리 감사드립니다.
/제이에프
스크립팅으로 이 작업을 해야 할 수도 있습니다. 아래는 한 가지 옵션입니다(그다지 강력한 스크립트는 아니지만 무엇을 할 수 있는지에 대한 몇 가지 아이디어를 제공할 수 있습니다)
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Reliability/Adhesive Bond.jmp");
obj = dt << Destructive Degradation(
Y(:Strength),
Time(:Weeks),
X(:Degrees),
Censor(:Censor),
Censor Code("Right"),
Control("Log10", "Sqrt", "Normal", "Individual Path with Intercept")
);
rep = Report(obj);
cb = (rep << XPath("//PanelBox[text() = 'Distribution']/ComboBox"))[1];
rb_transformations = (rep << XPath("//PanelBox[text() = 'Transformation']//RadioBox"));
cb_options = cb << get items;
rb_tr = rb_transformations << get items;
btn = (rep << XPath("//ButtonBox[text() = 'Generate Report']"))[1];
tb1 = rep[TextBox(3)];
tb2 = rep[TextBox(4)];
For Each({option, idx}, cb_options,
cb << Set(idx);
For Each({op1, idx1}, rb_tr[1],
rb_transformations[1] << Set(idx1);
For Each({op2, idx2}, rb_tr[2],
rb_transformations[2] << Set(idx2);
visibilities = {tb1, tb2} << get visibility;
visibs = Loc(visibilities, "Visible");
If(N Items(visibs) == 0,
btn << Click(1);
,
skipped_txt = Eval insert("\[Skipped combination ^option^+^op1^+^op2^ due to ^Concat Items(({tb1, tb2} << get text)[Matrix(visibs)], ", ")^]\");
Write("\!N", skipped_txt);
);
wait(0);
);
);
);
Write();