Commit 1f985ae1 authored by Jason Rhinelander's avatar Jason Rhinelander

Report updates

parent 3564493f
......@@ -6,8 +6,12 @@ find_package(LATEX)
set(PDFLATEX_COMPILER xelatex)
set(BIBTEX_COMPILER biber)
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/dists.pdf" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/screenshot.png" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
ADD_LATEX_DOCUMENT(report.tex
BIBFILES refs.bib
DEPENDS dists.pdf
MANGLE_TARGET_NAMES
NO_DEFAULT)
......@@ -5,7 +5,7 @@ unif <- runif(999, -1, 1);
beta22 <- rbeta(999, 2, 2) * 2 - 1;
beta55 <- rbeta(999, 5, 5) * 2 - 1;
pdf("dists.pdf", width=3, height=4);
pdf("dists.pdf", width=3.25, height=3.5);
par("mar", c(5.1,4.1,4.1,5));
hist(even, -25:25/25, ylim=c(0,1.5), freq=FALSE);
hist(unif, -25:25/25, ylim=c(0,1.5), freq=FALSE);
......@@ -14,4 +14,4 @@ hist(beta22, -25:25/25, ylim=c(0,1.5), freq=FALSE);
plot.function(function (x) dbeta((x+1)/2, 2,2)/2, from=-1, to=1, ylim=c(0,1.5), add=TRUE);
hist(beta55, -25:25/25, ylim=c(0,1.5), freq=FALSE);
plot.function(function (x) dbeta((x+1)/2, 5,5)/2, from=-1, to=1, ylim=c(0,1.5), add=TRUE);
dev.off();
\ No newline at end of file
dev.off();
No preview for this file type
......@@ -31,7 +31,7 @@
journal = {The American Political Science Review},
volume = {86},
number = {4},
pages = {pp. 929--937},
pages = {929--937},
year = {1992},
}
......@@ -41,17 +41,29 @@
journal = {British Journal of Political Science},
volume = {28},
number = {1},
pages = {pp. 139--158},
pages = {139--158},
year = {1998},
}
@book{Downs,
author = {Downs, A.},
@book{Downs57,
author = {Downs, Anthony},
title = {An Economic Theory of Democracy},
publisher = {New York: Harper \& Brothers},
year = {1957},
}
@article{Hotelling29,
author = {Hotelling, Harold},
title={Stability in Competition},
journal={The Economic Journal},
volume={39},
number={153},
year={1929},
month={3},
pages = {41--57}
}
@article{Jackson03,
title={A computational theory of electoral competition},
author={Jackson, John E.},
......@@ -79,3 +91,19 @@
pages={1433--1463},
year={2006}
}
@online{ipsos:prebc,
title={BC NDP Lead By 8 Points As Campaign Ends},
author={Ipsos Reid},
year={2013},
url={http://www.ipsos-na.com/news-polls/pressrelease.aspx?id=6113},
urldate={2013-09-21}
}
@online{ipsos:postbc,
title={Inside the BC Election: What Happened and Why},
author={Ipsos Reid},
year={2013},
url={http://www.ipsos-na.com/news-polls/pressrelease.aspx?id=6120},
urldate={2013-09-21}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment