Skip to content

Instantly share code, notes, and snippets.

Nils nilshg

Block or report user

Report or block nilshg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Dynamic Panels.jl
using CSV, DataFrames, Econometrics, GLM, Statistics, TableView
# Read in the data - unbalanced panel
# Data from https://rdrr.io/cran/panelvar/man/abdata.html
df = CSV.read("abdata.csv", copycols = true)
# We start by estimating standard OLS on our data, running the model
#
# yᵢₜ = α₁Lyᵢₜ + α₂L²yᵢₜ + β₁wᵢₜ + β₂Lwᵢₜ + β₃kᵢₜ + β₄Lkᵢₜ + β₅L²kᵢₜ + β₆ysᵢₜ + β₇Lysᵢₜ + β₈L²ysᵢₜ
# + ∑yearₜ
View Julia_weighting.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nilshg
nilshg / Deloitte
Created Jul 1, 2015
Interview prep
View Deloitte
{"nbformat_minor": 0, "cells": [{"source": "<h2>Deloitte Interview</h2>\n<a id=\"top\"></a>\n\n1. [Why Deloitte?](#deloitte) (What do they do?)\n2. [Why this job?](#job) (Senior Associate profile)\n3. [Why you?](#personal) (Personal questions)\n4. Statistical techniques for competition consulting (Compass Lexecon)\n5. Issues in NHS consulting (Deloitte briefings + my work)", "cell_type": "markdown", "metadata": {}}, {"source": "<a id=\"deloitte\"></a>\n<h3>Why Deloitte?</h3>\n\nMy reasons for choosing Deloitte:\n\n1. Personal references - friends who have conveyed positive experiences both from Germany and the London office\n2. Size - allows for larger variety in client projects, potentially better long-term fit as one can carve out niche within the business\n3. Fit - econ consulting team seems very engaged in NHS projects and public sector work, which is interesting to me personally\n4. Related: compared to other jobs (Economist at Compass Lexecon, Associate at CRA, Economist at Monitor, Research Officer at
@nilshg
nilshg / solvingRetirement
Last active Aug 29, 2015
solve retirement problem again, with consfunc for transition period
View solvingRetirement
{
"metadata": {
"language": "Julia",
"name": "",
"signature": "sha256:156587c587337dda2eac7912dd846d58c0aa02764fd8bf9ddd7a93f446c7f9b2"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
@nilshg
nilshg / Interpolations
Created Feb 23, 2015
Interpolations with ApproXD
View Interpolations
{
"metadata": {
"language": "Julia",
"name": "",
"signature": "sha256:72749815101a8e48afe15148e89ea7bf00eef3dd786617ebbd020df14c76092c"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
@nilshg
nilshg / Retirement
Last active Aug 29, 2015
Solve the retirement problem
View Retirement
{
"metadata": {
"language": "Julia",
"name": "",
"signature": "sha256:fd811a719139b23bb979a008002d8f852ad788ac7aa02f2dad79de950621e624"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
@nilshg
nilshg / 2-periods.ipynb
Last active Sep 27, 2015
Solving 2 period problems
View 2-periods.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nilshg
nilshg / solving_guvenen.ipynb
Last active Sep 27, 2015
Solves Guvenen (2007) with numerical strategy of Guvenen/Smith (2014)
View solving_guvenen.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nilshg
nilshg / bhps2005
Last active Aug 29, 2015
BHPS 2005
View bhps2005
{
"metadata": {
"name": "",
"signature": "sha256:a98765f20861b94ac778fde457603bc725c863b3acd5b1ed3eab221aeefbefdf"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View presessionals
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
You can’t perform that action at this time.