Normierung {CMO}R Documentation

Build a list of Normtabelle objects based on population stratifications

Description

Foreach population stratification it builds a SPSS like frequency table based on the stratified test value vector. Calculates amongst others cumulative frequency, percentile ranks and rounded percentile ranks. Associates test values to (rounded) percentile ranks. Saves a Normtabelle foreach stratification.

Usage

  Normierung(Base, Faktor = NULL, Teilstichproben = levels(factor(Faktor)),
  Dateipraefix = "") 

Arguments

Base numeric test value vector
Faktor factor id describing the stratification of individuals, if FALSE(default) the total population is used without stratification
Teilstichproben stratifications of interest (defined by levels of Faktor). The levels of Faktor of interest define a new total population for which a Normtabelle is calculated. Additionally foreach Faktor of interest a Normtabelle is calculated.
Dateipraefix nameprefix for saving the Normtabelle, describing the stratification

Details

Rounded percentile ranks are calculated using the function ceiling. The overall population is defined only by those where (stratification) Faktor is not NA.

Value

A list of class ListeNormtabellen which contains one List of class Normtabelle per stratification or a list of class Normtabelle if no stratification is used (Faktor = FALSE.) Additionally a data.frame stats.summary summarizing the data of each Normtabelle.

Author(s)

Christian Montel

See Also

Normierung and normieren

Examples

#mimik some data vector
data <- ceiling(runif(1000)*100)
#mimik some stratification
stratif <- factor(rep(c(1,2),500))
str(Normierung(Base=data, Faktor=stratif,
Teilstichproben = c(1,2), Dateipraefix=""))

[Package CMO version 1.02 Index]