Hallo zusammen,
Ich habe einen Code erstellt, um eine Datentabelle mit Informationen zum Kontingenztabellen-Tool zu erhalten. Leider heißt die ausgegebene Tabelle „Untitled xxx“. Ich würde gerne wissen, ob es per Skript möglich sein wird, entweder die zuletzt erstellte Tabelle auszuwählen und ihren Namen zu ändern, oder die Tabelle auszuwählen, deren Name „Unbenannt“ enthält, um sie am Ende umzubenennen?
Das Ziel besteht darin, die Tabelle bei jedem Start des Skripts zu schließen, um zu vermeiden, dass mehrere Tabellen vorhanden sind.
Ich habe versucht, die Funktion „Aktuelle Datentabelle ()“ zu verwenden, aber sie funktioniert nicht richtig (eine andere Tabelle ist ausgewählt).
Der Codeabschnitt:
Contingency(
Y( :"Pass/Fail"n ),
X( :Task ),
Contingency Table(
Count( 1, Format( "Fixed Dec", 2, 0 ) ),
Total %( 1, Format( "Fixed Dec", 2, 2 ) ),
Col %( 1, Format( "Fixed Dec", 2, 2 ) ),
Row %( 1, Format( "Fixed Dec", 2, 2 ) ),
Expected( 0, Format( "Best", 3 ) ),
Deviation( 0, Format( "Best", 3 ) ),
Cell Chi Square( 0, Format( "Fixed Dec", 2, 4 ) ),
Col cumulative( 0, Format( "Fixed Dec", 2, 0 ) ),
Col cumulative %( 0, Format( "Fixed Dec", 2, 2 ) ),
Row cumulative( 0, Format( "Fixed Dec", 2, 0 ) ),
Row cumulative %( 0, Format( "Fixed Dec", 2, 2 ) )
),
Mosaic Plot( 0 ),
Make Into Data Table,
);
Danke !
Beste grüße