summary of weighted or unweighted statistics of a given variable in an edsurvey.data.frame
For categorical variables, the summary results are a crosstab of all variables and include the following:
[variable name]level of the variable in the column name that the row regards. There is one column per element of variable
.
Nnumber of cases for each category. Weighted N also is produced if users choose to produce weighted statistics.
Percentpercentage of each category. Weighted percent also is produced if users choose to produce weighted statistics.
SEstandard error of the percentage statistics
For continuous variables, the summary results are by variable and include the following:
Variablename of the variable the row regards
Ntotal number of cases (both valid and invalid cases)
Min.smallest value of the variable
1st Qu.first quantile of the variable
Medianmedian value of the variable
Meanmean of the variable
3rd Qu.third quantile of the variable
Max.largest value of the variable
SDstandard deviation or weighted standard deviation
NA'snumber of NA
in variable and in weight variables
Zero-weightsnumber of zero-weight cases if users choose to produce weighted statistics
If the weight option is chosen, the function produces weighted percentile and standard deviation. Refer to the vignette titled
Statistical Methods Used in EdSurvey and
the vignette titled
Methods Used for Estimating Percentiles in EdSurvey
for how the function calculates these statistics (with and without plausible values).