-
Notifications
You must be signed in to change notification settings - Fork 6
/
template.qmd
71 lines (61 loc) · 1.55 KB
/
template.qmd
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
---
title: "Our great idea"
author:
- name: Marie Curie
affiliations:
- name: University of Paris
department: Department of Radiation
address: Somewhere
city: Paris
country: France
postal-code: PX2039
email: [email protected]
corresponding: true
- name: Genghis Khan
affiliations:
- name: Monash University
department: Department of Econometrics & Business Statistics
city: Clayton VIC
country: Australia
postal-code: 3800
- name: Monique Ash
email: [email protected]
abstract: |
A brief summary of our ideas
keywords: [blah, blah]
bibliography: references.bib
wpnumber: no/yr
jelcodes: C10,C14,C22
blind: false
cover: true
linestretch: 1.5
format:
wp-pdf:
keep-tex: true
filters:
- blindable-div
---
# Introduction
In a famous paper, @BC64 introduced a family of transformations \dots
```{r}
#| label: fig-density
#| fig-cap: Simulated data from a N(0,1) distribution.
library(tidyverse)
set.seed(2022-12-20)
df <- tibble(x = rnorm(200))
df |>
ggplot(aes(x=x)) +
geom_density(bw = "sj") +
geom_rug()
```
@fig-density shows a kernel density estimate of simulated data from a N(0,1) distribution. The sample variance is given by
$$
s^2 = \frac{1}{n-1} \sum_{i=1}^n (x_i-\bar{x})^2 = `r round(sd(df$x), 2)`.
$$ {#eq-s2}
Note that @eq-s2 is an unbiased estimate of the variance, but it is not the maximum likelihood estimate [@Rice2007, p.269].
New paragraph.
## Subsection header
::: {.blindable}
# Acknowledgement {.unnumbered}
We would like to thank our pet goldfish...
:::