-
Notifications
You must be signed in to change notification settings - Fork 13
/
_quarto.yml
190 lines (173 loc) · 4.84 KB
/
_quarto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
project:
type: book
output-dir: docs
callout-appearance: minimal
callout-collapse: true
book:
title: "Models Demystified"
subtitle: "A Practical Guide from t-tests to Deep Learning"
# multiple author format will not work for pdf
author:
- name: Michael Clark & Seth Berry
# email: [email protected] # typical multi-author stuff fails in pdf with unhelpful \crcr error
# - name: Seth Berry
# email: [email protected]
chapters:
- index.qmd
- introduction.qmd
- models.qmd
# - part: "Linear Models & More"
# chapters:
- linear_models.qmd
- understanding_models.qmd
- understanding_features.qmd
- estimation.qmd
- uncertainty.qmd
- generalized_linear_models.qmd
- linear_model_extensions.qmd
# - part: "Machine Learning"
# chapters:
- machine_learning.qmd
- ml_common_models.qmd
- ml_more.qmd
# - part: "Other Considerations"
# chapters:
- causal.qmd
- data.qmd
- danger_zone.qmd
- conclusion.qmd
appendices:
- part: "Additional Topics"
chapters:
- acknowledgments.qmd
- matrix_operations.qmd
# - pyr.qmd
- more_models.qmd # web only
- part: "References & Resources"
chapters:
- dataset_descriptions.qmd # this and ref to separate section
- references.qmd # this and ref to separate section maybe 'resources'
search: true
open-graph: true
repo-url: https://github.com/m-clark/book-of-models
repo-actions: [edit]
repo-branch: dev
# downloads: [] # per crc request
sharing: [twitter, linkedin, facebook]
# reader-mode: true
bread-crumbs: false
back-to-top-navigation: true
page-footer:
left: "Copyright 2024 CC-BY-NC-SA"
right:
- icon: github
href: https://github.com/m-clark/book-of-models
- icon: twitter
href: https://twitter.com/statsdatasci
- icon: linkedin
href: https://www.linkedin.com/in/michael-clark-b475b5170/
# sidebar: # using this will create a background color for the left sidebar and make the whole page flush left
# style: docked
# collapse-level: 2
format:
html:
theme:
- materia # https://bootswatch.com/
- mfs.scss
- css/style.scss
mainfont: 'Source Sans 3'
monofont: 'Roboto Mono'
fontsize: 1rem
highlight-style: arrow
# table of contents
toc: true
toc-title: Contents
toc-location: right
toc-depth: 3
toc-collapsed: true
mermaid:
theme: neutral
pdf:
documentclass: krantz
# pdf-engine: xelatex
# pdf-engine: pdflatex
# latex-auto-mk: false # tried to use to save time but generally resulted in broken pdfs
# toc: true
# toc-title: Contents
# toc-depth: 3
fig-pos: 'H'
dpi: 300
keep-tex: true
callout-appearance: default
# links-as-notes: true
code-block-border-left: '#BFBFBF'
# code-block-bg: '#FAFAFA'
highlight-style: monochrome
colorlinks: false # bw pdf
link-citations: true
hyperrefoptions:
- linktoc=all
# mainfont: "Source Sans 3"
monofont: "Roboto Mono"
monofont-color: 'black'
monofontoptions: "Scale=0.7" # primarily for statsmodels and other excessive or misaligned py output
fig-format: svg
include-before-body:
text: |
\pagenumbering{roman}
include-in-header:
text: |
\pagenumbering{arabic}
\usepackage{lscape}
\newcommand{\blandscape}{\begin{landscape}}
\newcommand{\elandscape}{\end{landscape}}
\usepackage{etoolbox}
\usepackage{annotate-equations}
\usepackage{xcolor}
\usepackage{hyperref}
\AtBeginEnvironment{table}{\sffamily}
# \hypersetup{pdfborderstyle={/S/U/W 1}} # attempt to underline links in pdf; does nothing
# \usepackage[pdfborderstyle={/S/U/W 1}]{hyperref} # attempt to underline links in pdf; does nothing
# \usepackage{typearea}
# \usepackage{makeidx}
# \makeatletter
# \makeindex
# \makeatother
# include-after-body:
# text: |
# \printindex
# not needed?
# lof: true # list of figures
# lot: true # list of tables
# graphics: yes
# bibliography
bibliography: [references.bib, packages.bib]
biblio-style: chicago
# editing etc.
editor: source
# engine: jupyter
# jupyter: book-of-models
execute:
freeze : auto # not until some part is mostly ready
echo : true
eval : true
message : false
warning : false
fig.align: 'center'
out-width: 100%
tbl-cap-location: top
crossref:
fig-prefix: Figure # can we do better than figure?
tbl-prefix: Table
filters:
- include-code-files
# knitr:
# opts_chunk:
# message : false
# R.options : list(width = 120)
# cache : false
# cache.rebuild : false
# cache.lazy : false
# fig.align : 'center'
# fig.asp : .7
# dev : 'svg'