Hallo, vielleicht gehört das in den Abschnitt "Wunschliste", aber ich finde oft, dass Skripte, die ich in einer Datentabelle speichere, sehr schnell sehr lang und schwer zu lesen sind. Unten ein Beispiel, in dem ich eine einzelne Tabelle in ein anderes Zahlenformat geändert habe ( {Format festlegen( "Beste", 2 )} ). Dadurch entstehen etwa 16 nachfolgende Individuen Versenden(..) Abschnitte, anstatt dass es nur so etwas wie:
For col in table.columns:
Dispatch({"Life Distribution - Compare Groups", "Statistics", "Summary"},
col,
NumberColBox,
{Set Format( "Best", 2 )})Es wäre schön, wenn JMP eine kompaktere Version desselben Codes erstellen würde.
<BR />dt=Open("$SAMPLE_DATA\big class.jmp");<BR />Life Distribution(
Perspective( Compare Groups ),
Y( :height ),
Grouping( :sex ),
Confidence Interval Method( Wald ),
Select Distribution( Distribution, Weibull ),
Select Scale( Weibull ),
Tabbed Report( 0 ),
SendToReport(
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Summary"},
"Number failed",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Summary"},
"Left Censor",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Summary"},
"Interval Censored Failure",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Summary"},
"Right Censored",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Summary"},
"Mean",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Summary"},
"Std Error",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Group Homogeneity Tests"},
"ChiSquare",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Group Homogeneity Tests"},
"DF",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Group Homogeneity Tests"},
"Prob>ChiSq",
NumberColBox,
{Set Format( "Best", 2 ), Set Conditional Format( "" )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Model Comparisons"
},
"AICc",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Model Comparisons"
},
"-2Loglikelihood",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics", "Model Comparisons"
},
"BIC",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Parameter Estimates", "Parametric Estimate - Weibull"},
"Weibull α",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Parameter Estimates", "Parametric Estimate - Weibull"},
"Weibull α CI Lower",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Parameter Estimates", "Parametric Estimate - Weibull"},
"Weibull α CI Upper",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Parameter Estimates", "Parametric Estimate - Weibull"},
"Weibull β",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Parameter Estimates", "Parametric Estimate - Weibull"},
"Weibull β CI Lower",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Statistics",
"Parameter Estimates", "Parametric Estimate - Weibull"},
"Weibull β CI Upper",
NumberColBox,
{Set Format( "Best", 2 )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Individual Group"},
"",
List Box( 2 ),
{Set Summary Behavior( "Collapse" )}
),
Dispatch(
{"Life Distribution - Compare Groups", "Individual Group"},
"",
List Box( 75 ),
{Set Summary Behavior( "Collapse" )}
)
)
)