svychisqC {poliscidata}R Documentation

Chi-Squared Statistic for Relationship Between Categorical Variables using Weighted Dataset

Description

This function reports chi-squared test statistic based on weighted dataset

Usage

svychisqC(formula, design)

Arguments

formula

Formula expressing the relationship between variables in the form ~ depvar + indepvar

design

Weighted design dataset (like gssD, nesD, statesD, or worldD)

Value

No return

Examples

   library(poliscidata)
   
   svychisqC(~ gay_rights3 + libcon3, nesD)

[Package poliscidata version 2.3.0 Index]