3.2.10 Analyzing Distribution of Numeric Variables

The ore.univariate function provides distribution analysis of numeric variables in an ore.frame.

The ore.univariate function provides these statistics:

  • All statistics reported by the summary function

  • Signed rank test, Student's t-test

  • Extreme values reporting

The ore.univariate function returns an ore.frame as output in all cases.

For details about the function arguments, invoke help(ore.univariate).

Example 3-60 Calculating the Default Univariate Statistics

This example calculates the default univariate statistics for AGE, YRS_RESIDENCE, and CLASS.

ore.univariate(NARROW, var="AGE,YRS_RESIDENCE,CLASS")

Example 3-61 Calculating the Default Univariate Statistics

This example calculates location statistics for YRS_RESIDENCE.

ore.univariate(NARROW, var="YRS_RESIDENCE", stats="location")

Example 3-62 Calculating the Complete Quantile Statistics

This example calculates complete quantile statistics for AGE and YRS_RESIDENCE.

ore.univariate(NARROW, var="AGE,YRS_RESIDENCE",stats="quantiles")