Hey all,
Given a column, the code below takes the critical value of a normality test of its distribution:
z = Report(Distribution(
Continuous Distribution(Column("Column 1")),
Fit Distribution(Normal(Goodness of Fit(1)))
);
);
prob = z[Outline Box("Goodness-of-Fit Test")][Number Col Box(2)] << Get(1);
Now I plan to have this implemented across tables with varying amounts of columns. So what I'd like to know is, is there a way I can extract this value without having to spend resources to draw the chart? I really only want that float value.
My last resort would be:
1. To immediately close the chart window after extracting the value (I don't know how to do this either), or
2. To manually perform Shapiro Wilk or KS normality test to get the value I need
Thanks,
Louie