Posts

Making a Difference with Data: The Essential Role of Official Statistics

In a world driven by data, few fields are as impactful and essential as official statistics. Whether it’s tracking poverty rates, monitoring public health trends, or guiding economic policies, the field of official statistics serves as the backbone of informed decision-making in society.

Conditional Probability Density Functions

[Note: This post was created as part of a lecture for STAT 131 at UCSC.] Recall that for two continuous random variables \(X\) and \(Y\), we work with the joint probability density function \(f(x,y)\).

Plotting PUMAs in R

If you work with any Census Bureau data, you are probably familiar with Public Use Microdata Samples (PUMS) from the American Community Survey. These are individual records (either person or household) that allow data users more customized analysis than would be available with the ACS tabulated data products.

Exploring Stock Data

I have recently been intrested in modeling stock volatility. In order to make the process easier, I wanted a way to quickly download stock data in R, and after some quick searching on the web, I stumbled across the tidyquant package which is able to download stock data from Yahoo Finance, and then conveniently store the data as a tibble object.