Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
V
voting
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
eris
voting
Commits
1f985ae1
Commit
1f985ae1
authored
Sep 23, 2013
by
Jason Rhinelander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report updates
parent
3564493f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
589 additions
and
128 deletions
+589
-128
CMakeLists.txt
report/CMakeLists.txt
+4
-0
distributions.R
report/distributions.R
+2
-2
dists.pdf
report/dists.pdf
+0
-0
refs.bib
report/refs.bib
+32
-4
report.tex
report/report.tex
+551
-122
screenshot.png
report/screenshot.png
+0
-0
No files found.
report/CMakeLists.txt
View file @
1f985ae1
...
...
@@ -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
)
report/distributions.R
View file @
1f985ae1
...
...
@@ -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
();
report/dists.pdf
View file @
1f985ae1
No preview for this file type
report/refs.bib
View file @
1f985ae1
...
...
@@ -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{Downs
57
,
author = {Downs, A
nthony
},
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}
}
report/report.tex
View file @
1f985ae1
This diff is collapsed.
Click to expand it.
report/screenshot.png
0 → 100644
View file @
1f985ae1
22.3 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment