Post

Testing MathJax and code snippets

Here are some math equations:

\[\frac{1}{N} \sum_{i=1}^N x_i\] \[y_i = \mathbf{X} \beta + \epsilon_i\]

Here’s a python code snippet:

1
2
3
4
import numpy as np
import pandas as pd

df = pd.read_csv("mydata.csv")

Here’s a R code snippet:

1
2
3
4
rm(list=ls())
library(dplyr)

df <- read.csv("mydata.csv")
This post is licensed under CC BY 4.0 by the author.