Description Usage Arguments Details Value References Examples

Calculates various coefficients for the Configural Frequencies Analysis (CFA) defining main- and (optionaly) interaction effects. The core principle is to use `glm`

in package `stats`

to calculate the expected counts considering a designmatrix, which is constructed based on an formular definition given in argument `form`

.

1 2 3 |

`patternfreq` |
an object of class |

`alpha` |
a numeric giving the alpha level for testing (default set to |

`form` |
either a character expression which can be coerced into a model formula with the function |

`ccor` |
either a logical (TRUE / FALSE) determining wether to apply a continuity correction or not. When set to |

`family` |
argument passed to |

`intercept` |
argument passed to |

`method` |
charcter defining the estimation method for expected frequencies with default set to |

`blank` |
can be used to indicate which pattern (configurations) are declared as structural cells (confgurations) for functional CFA. Should be either (1) a character vector defining the pattern (with spaces between variable categories), which will be ignored for calculation of expected frequencies; or (2) a numeric vector defining the (row) positions of the pattern in an object of class |

`cova` |
a matrix (possibly with one or more columns) holding the covariate (mean) values for each pattern (configurations) see function |

`...` |
additional parameters passed through to other functions. |

This is the main function of the package. It internaly calls several functions of the package `confreq`

which are also available as single functions. For clasification of the observed patterns into 'Types' and 'Antitypes' according to Lienert (1971), a S3 summary method for the resulting object of class `"CFA"`

can be applied - see `summary.CFA`

.

an object of class `CFA`

with results.

Lienert, G. A. (1971). Die Konfigurationsfrequenzanalyse: I. Ein neuer Weg zu Typen und Syndromen. *Zeitschrift f<c3><bc>r Klinische Psychologie und Psychotherapie, 19*(2), 99-115.

Gl<c3><bc>ck, J., & Von Eye, A. (2000). Including covariates in configural frequency analysis. *Psychologische Beitrage, 42*, 405<e2><80><93>417.

Victor, N. (1989). An Alternativ Approach to Configural Frequency Analysis. *Methodika, 3*, 61<e2><80><93>73.

Stemmler, M. (2014). *Person-Centered Methods*. Cham: Springer International Publishing.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ```
#######################################
######### some examples ########
data(LienertLSD)
LienertLSD
res1 <- CFA(LienertLSD)
summary(res1)
## testing with (full) interactions
res2 <- CFA(LienertLSD,form="~ C + T + A + C:T + C:A + T:A + C:T:A")
summary(res2)
#' ## testing the null model
res3 <- CFA(LienertLSD,form="null")
summary(res3)
#######################
data(suicide)
suicide
# suicide data is in non tabulated data representation - so it must be tabulated !
res4 <- CFA(dat2fre(suicide))
summary(res4)
``` |

confreq documentation built on May 29, 2017, 5:46 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.