Heading 1

Heading 2

Here is an example of how you could present linear models:

Here’s my table.

Dependent variable:
prestige
(1) (2)
Income 0.676*
(0.094)
Education 0.564*
(0.156)
Type: Professional 33.156* 26.088*
(4.832) (9.846)
Type: White Collar -4.277 -6.500
(5.550) (8.604)
Intercept 6.704* 8.469
(3.224) (5.004)
Observations 45 45
R2 0.893 0.816
Adjusted R2 0.885 0.802
Residual Std. Error (df = 41) 10.678 14.007
F Statistic (df = 3; 41) 114.043* 60.557*
Note: *p < 0.05, two-sided

Then you could write some more stuff and include a figure.

You can also write with citations (note that in the document here, I wrote [@davenport_state_2007]) (Davenport 2007) or if you just wanted the year because you already said Davenport wrote something, you could use ([-@davenport_state_2007]) (2007). You can also use multiple citations in the same place by separating them with a semicolon [@davenport_state_2007;@marshall_class_1965] (Davenport 2007; Marshall 1965).

For this to work, you’ll need to install both pandoc and pandoc-citeproc. You can find out more about installing pandoc here. You can also write math. You could write inline math by using a single dollar signe on each side of the equation you’re writing. The mathematical operators and symbols are the ones used in LaTeX. You can learn more about what those look like here. You can write offset equations with two dollar signs on each side of the equation. For example, an in-line expression could be \(\beta = (X^{\prime}X)^{-1}X^{\prime}y\). Or, you could do offset equations with:

\[\log\left(\frac{p_{i}}{1-p_{i}}\right) = b_{0} + b_{1}x_{i} + b_{2}z_{i}\]

The equations are numbered by putting the following at the top of your document after the metadata:

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "all"} } });
</script>

Multiline equations can be defined with the align environment:

\[\begin{align} \hat{y}_{ij} &= \alpha_{j} + \beta_1 x_{ij} + \beta_2 z_{ij} + \varepsilon_{ij}\\ \alpha_{j} &= \gamma_{00} + \nu_{j} \end{align}\]

This should be enough to get you going for now.

References

Davenport, Christian. 2007. State Repression and the Domestic Democratic Peace. Cambridge: Cambridge University Press.

Marshall, T H. 1965. Class, Citizenship and Social Development. Garden City: Doubleday.