[R] V-Cramer in svy

Thomas Lumley tlumley at uw.edu
Mon Jun 11 03:02:56 CEST 2012


On Mon, Jun 11, 2012 at 10:09 AM, Diana Marcela Martinez Ruiz
<dianammr06 at hotmail.com> wrote:
> Hello forum,
>
> I want to find in survey how to test V-cramer and
> coefficient Goodman-Kruskal gamma, to test the collinearity between varibles
> to enter a model.
>
> For the V-Cramer function is used with the package vcd assocstats but
> without considering the survey package.

You can use svytable() to generate an estimated population table and
then feed that to assocstats().

   -thomas

-- 
Thomas Lumley
Professor of Biostatistics
University of Auckland



More information about the R-help mailing list