4.2.10 Analyze the 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, call help(ore.univariate)
.
Example 4-65 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 4-66 Calculating the Default Univariate Statistics
This example calculates location statistics for YRS_RESIDENCE.
ore.univariate(NARROW, var="YRS_RESIDENCE", stats="location")
Example 4-67 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")
Parent topic: Explore Data