최소한의 작업으로 ANOVA와 카이-제곱 분석을 직접 수행할 수 있는 스크립트를 만들려고 합니다.
나는 스크립트를 시작했습니다:
Names Default To Here(1);
dt=Current Data Table();
dlg = Column Dialog(
name = ColList( "Parameters", Min Col(1) ),
subject = ColList( "Treatment", Min Col(1), MaxCol(1) ),
Reffect = ColList( "Random", Min Col(0), MaxCol(2) )
);
// Stop if the user did not press 'OK'
If( dlg["Button"] != 1, Beep(); Throw());
name = dlg[ "name" ];
subject = dlg["subject"];
Reffect = dlg ["Reffect"];
show (name, subject, Reffect);
dt<<FIT model=""></FIT>
However, there is an issue to do the fit model. The fit model box open only with the Y.
on the Y most of the time I need to add more than 1 variable as well, so I will have more student residuals to save to be able to verify the outliers, then the normal distribuition and the equal variance.
Thanks for your help :)</img>
안녕,
코드를 조정하여 eval(eval expr(expr)))를 추가해 보세요. 이 기능이 어떻게 작동하는지 조금 설명하는 블로그 게시물이 여기에 있습니다. 또한, 열 대화 상자 창이 설정된 방식에서는 여러 개의 Y를 선택할 수 있습니다.
Eval(Eval Expr(obj=dt<<FIT model=""></FIT>