Skip to content

Instantly share code, notes, and snippets.

@Jimmy-INL
Jimmy-INL / compphys_assessment_5.py
Created November 4, 2022 02:04 — forked from intarga/compphys_assessment_5.py
A python program to simulate a radioactive decay chain by Monte Carlo and Scipy numerical methods, and graph the results against the analytical solution
from __future__ import division
import numpy
import matplotlib.pyplot as pyplot
import scipy.integrate
import random
USER = "Aaron Abraham"
USER_ID = "ztjd74"
t_half_rad = 20.8 #initial conditions
@Jimmy-INL
Jimmy-INL / gist:6c40470f9fe184879a49bac585e49924
Created May 29, 2021 18:00 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jimmy-INL
Jimmy-INL / betareg.py
Created December 10, 2019 13:44 — forked from brentp/betareg.py
beta regression in statsmodels
# -*- coding: utf-8 -*-
u"""
Beta regression for modeling rates and proportions.
References
----------
GrΓΌn, Bettina, Ioannis Kosmidis, and Achim Zeileis. Extended beta regression
in R: Shaken, stirred, mixed, and partitioned. No. 2011-22. Working Papers in
Economics and Statistics, 2011.