PID {EffectStars}R Documentation

Party Identification

Description

Subset of the 1996 American National Election Study.

Usage

data(election)

Format

A data frame with 944 observations on the following 6 variables.

TVnews

Days in the past week spent watching news on TV

PID

Party identification with levels Democrat, Independent and Republican

Income

Income

Education

Educational level with levels low (no college) and high (at least college)

Age

Age in years

Population

Population of respondent's location in 1000s of people

Source

R package faraway: nes96

Examples

## Not run: 
data(PID)
PID$TVnews <- scale(PID$TVnews)
PID$Income <- scale(PID$Income)
PID$Age <- scale(PID$Age)
PID$Population <- scale(PID$Population)

star.nominal(PID ~ TVnews + Income + Population + Age + Education, data = PID)

## End(Not run)
 

[Package EffectStars version 1.9-1 Index]