Skip to content

Instantly share code, notes, and snippets.

Carl Vogel carljv

Block or report user

Report or block carljv

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
@carljv
carljv / bern_ci.jl
Created Mar 23, 2017
Conf. Interval coverage for a Bernoulli parameter p, and its log-odds transform.
View bern_ci.jl
function sim_coverage(p, n, nsims)
# True log-odds/relative-risk
rr = log(p) - log(1-p)
# Simulate out data
dist = Bernoulli(p)
xs = [rand(dist, n) for _ in 1:nsims]
# Bernoulli param estimate and its std. err.
ps = [mean(x) for x in xs]
@carljv
carljv / gist:d2e2e8aaae5f1a363b83
Created Jan 10, 2015
Ubersicht widget script for Google Calendar
View gist:d2e2e8aaae5f1a363b83
# Ubersicht - Display Google Calendar via gcalcli
# this is the shell command that gets executed every time this widget refreshes
command: "/Users/cvogel/anaconda/bin/gcalcli calw 4 --width=20 --nocolor --nolineart | /usr/local/bin/pandoc -f markdown -t html"
# the refresh frequency in milliseconds
refreshFrequency: 30*60*1000
# render gets called after the shell command has executed. The command's output
# is passed in as a string. Whatever it returns will get rendered as HTML.
View keybase.md

Keybase proof

I hereby claim:

  • I am carljv on github.
  • I am carljv (https://keybase.io/carljv) on keybase.
  • I have a public key whose fingerprint is 85AA 5C42 89FE 21E8 843A 682C 1EEE 77D9 F880 B14D

To claim this, I am signing this object:

@carljv
carljv / GenevaConvectionLangWars.md
Last active Jan 4, 2016
A list of suggestion for having productive, interesting conversations about data analysis languages on the internet. See http://slendermeans.org/language-wars.html
View GenevaConvectionLangWars.md

A Geneva Convention for the Language Wars

Section 1: Being Aware of Context

§ 1, Article 1

Recognize that languages have goals and communities. It helps to evaluate them in that context. Features that are high priority to you may not be high priority to the majority of users in that language.

You can’t perform that action at this time.