Creates a summary object that produces the detailed SPSS-style "Tests of Normality" table when printed.
Usage
# S3 method for class 'normality_test'
summary(object, tests = TRUE, digits = 3, ...)See also
normality_test for the main analysis function.
Examples
result <- normality_test(survey_data, age, income)
summary(result)
#>
#> Normality Tests Results
#> -----------------------
#> - Variables: age, income
#>
#> Tests of Normality
#> ------------------------------------------
#> Variable KS df KS p W W p
#> ------------------------------------------
#> age 0.028 2500 <.001 0.990 <.001
#> income 0.079 2186 <.001 0.963 <.001
#> ------------------------------------------
#>
#> KS = Kolmogorov-Smirnov statistic with Lilliefors significance correction.
#> W = Shapiro-Wilk statistic (computed for 3 <= n <= 5000, as in SPSS).
#> p < 0.05 indicates a significant deviation from normality.
