Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josef-pkt
josef-pkt / GLM_varweights_faking.ipynb
Last active January 8, 2018 22:23
some GLM models faking each other
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josef-pkt
josef-pkt / glm_varweights_wls.ipynb
Last active February 7, 2024 20:55
comparing GLM gaussian using var_weights and WLS (updated after fit_constrained bug fix, rerun based on 3856)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josef-pkt
josef-pkt / factor_wine.ipynb
Last active December 31, 2017 14:24
factor analysis for wine quality
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josef-pkt
josef-pkt / factor_display.ipynb
Created December 15, 2017 02:23
formatting for loading matrix of factor analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josef-pkt
josef-pkt / results_genpoisson.py
Created June 7, 2017 23:21
Stata results for GP-2 example
import numpy as np
est = dict(
k_aux = 1,
p = 4.8795019354e-254,
chi2 = 1206.46339591254,
df_m = 9,
k_eq_model = 1,
N = 20190,
ic = 4,
@josef-pkt
josef-pkt / causal_impact_tsa.ipynb
Created May 4, 2017 05:34
causal impact with one strongly fluctuating control
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josef-pkt
josef-pkt / poisson_convergence_llnull_3533.ipynb
Created March 4, 2017 16:07
trying out convergence problems in poisson and llnull
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josef-pkt
josef-pkt / example_binned_kernel_regression.ipynb
Created February 20, 2017 05:44
binned local linear kernel regression - illustration
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.