Siyaset BilimiİngilizceQuarto

Andrew Heiss's blog

Andrew Heiss's blog
Ana SayfaRSS BeslemeMastodon
language
PandocMacosSiyaset Bilimiİngilizce
Yayınlandı

GSU uses Microsoft’s Office365 for e-mail, which is fine. My previous institutions—Duke and BYU—both use it too, and it’s pretty standard. GSU also enforces 2-factor authentication (2FA) with Duo, which is also fine. Everybody should use some sort of 2FA for all their important accounts! However, for whatever reason, GSU’s version of Duo’s 2FA doesn’t allow you to generate app-specific passwords for things like e-mail.

RGgplotTidyverseYacasEconomicsSiyaset Bilimiİngilizce
Yayınlandı

(See this notebook on GitHub) A year ago, I wrote about how to use R to solve a typical microeconomics problem: finding the optimal price and quantity of some product given its demand and cost. Doing this involves setting the first derivatives of two functions equal to each other and using algebra to find where they cross.

RGgplotDatavizJobsSiyaset Bilimiİngilizce
Yayınlandı

I am so beyond thrilled to announce that I’ll be joining the Andrew Young School of Policy Studies at Georgia State University in Fall 2019 as an assistant professor in the Department of Public Management and Policy. I’ll be teaching classes in statistics/data science, economics, and nonprofit management in beautiful downtown Atlanta, and we’ll be moving back to the South. I am so so excited about this!

RTidyverseInferHypothesis TestingSiyaset Bilimiİngilizce
Yayınlandı

This semester, I used the new ModernDive textbook to teach introductory statistics for executive MPA students at BYU, and it’s been absolutely delightful. The book’s approach to teaching statistics follows a growing trend (led by Mine Çetinkaya-Rundel, Alison Hill, and others) of emphasizing data and simulations instead of classical probability theory and complex statistical tests.

RImputationTidyverseMarkdownSiyaset Bilimiİngilizce
Yayınlandı

(See this notebook on GitHub) tl;dr : Use the functions in broomify-amelia.R to use broom::tidy(), broom::glance(), and huxtable::huxreg() on lists of multiply imputed models. The whole reason I went into the rabbit hole of the mechanics of merging imputed regression results in the previous post was so I could easily report these results in papers and writeups.

RImputationTidyverseSiyaset Bilimiİngilizce
Yayınlandı

(See this notebook on GitHub) Missing data can significantly influence the results of normal regression models, since the default in R and most other statistical packages is to throw away any rows with missing variables. To avoid unnecessarily throwing out data, it’s helpful to impute missing values. One of the best ways to do this is to build a separate regression model to make predictions that fill in the gaps in data.

RGgplotDatavizEconomicsSiyaset Bilimiİngilizce
Yayınlandı

(See this notebook on GitHub) tl;dr : Use functions like Deriv::Deriv(), splinefun(), approxfun(), and uniroot() to do things with derivatives in R, both with actual functions and with existing empirical data A typical microeconomics problem involves finding the optimal price and quantity of a product, given its demand and cost across different quantities.

RGgplotDatavizEconomicsSiyaset Bilimiİngilizce
Yayınlandı

Tip This is now an R package named reconPlots. (Skip to the tl;dr complete example; see this mini project on GitHub) So far, teaching at BYU has been delightful. I’ve been using static course-specific websites for the two classes I’m teaching this semester—data visualization and telling stories with data—and it’s been fantastic. Everything is self-contained and automated and magic and I’m a huge fan of blogdown.