pbc.vote {BaM}R Documentation

pbc.vote

Description

Precinct level data for Palm Beach County, Florida from the 2000 U.S. Presidential election

Usage

pbc.vote

Format

A data frame where each case (row) is one of 516 precincts. The column variables are defined by:

avgage
Average age of precinct voters
technology
Voting Technology
badballots
combined overvotes and undervotes
size
Total ballots cast
Republican
Republican
npa
No party affiliation
white
White
bla
Black
his
Hispanic
int
Independent party
new
Registered to vote after June 30, 2000

Source

Conell, C. and Cohn, S. (1995). Learning from Other People's Actions: Environmental Variation and Diffusion in French Coal Mining Strikes, 1890-1935 American Journal of Sociology LI, American Journal of Sociology.

Examples

## Not run: 
        {
        n <- length(strikes)
        r <- 1
        s.y <- sum(strikes)

        p.posterior.1000000 <- rbeta(1000000,n*r,s.y+0.5)
        length(p.posterior.1000000[p.posterior.1000000<0.05])/1000000

        par(mar=c(3,3,3,3))
        ruler <- seq(0,1,length=1000)
        beta.vals <- dbeta(ruler,n*r,s.y+0.5)
        plot(ruler[1:200],beta.vals[1:200],yaxt="n",main="",ylab="",type="l")
        mtext(side=2,line=1,"Density")
        for (i in 1:length(ruler))
        if (ruler[i] < 0.05)
        segments(ruler[i],0,ruler[i],beta.vals[i])
        segments(0.04,3,0.02,12.2)
        text(0.02,12.8,"0.171")
}
## End(Not run)

[Package BaM version 0.96 Index]