forked from quarto-monash/workingpaper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.qmd
61 lines (55 loc) · 1.42 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
---
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: mcurie.notreal@gmail.com
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: Monique.Ash@monash.edu
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
---
# 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