Giter Club home page Giter Club logo

statsforbios's Introduction

statsforbios

Code snippets for twitter handle @statsforbios

There is a wiki. Feel free to add to it. I don't really know what it's for but oh well.

If you want to add some snippets or example code or whatever, clone the repo, add your files, then submit a pull requset.

Feel free to use, change copy anything that I have written in this repo, no accreditation needed (though it is always nice..) To be clear, all the R files, images that have been created by me are licensed under The Unlicense. However there is some other stuff in the repo such as my blog style pages and some twitter data etc. I don't own any of that. The balzac jekyll theme is in this repo and is under an MIT license.

Statistical techniques

Example total least squares analysis using gx.rma in rgr. Total least squares is a regression method that minimises the error in both x and y coordinates rather than just y.

140 char jackknife for confidence intervals of a OLS regression.

Very basic bootstrap of regression with 140 char version and fuller version. Bootstrap is used to calculate confidence intervals for a OLS regression.

Simplest possible neural network analysis (machine learning method) using the nnet package.

Example power analysis. Used to make a plot of the sample size needed for a range of effect sizes. Performed using the pwr package

Demonstration of smoothScatter() function that creates and plots a 2D kernel over a cloud of points.

Programming techniques

Messing around with infix functions i.e. 2 + 2 is infix while add(2,2) is not.

[juliaRegression.jl](Jula regression)

Absolute bare bones linear regression and plotting in Julia

[sympyExample.py](SymPy symbolic algebra)

Very basic example of using symbolic algebra in Python with SymPy.

Computer algebra using SymPy in R via rSymPy.

[floatingPoint2014-2-28.R](floating point problems)

Some examples of why floating points can be dangerous

Analysis I think is interesting

Compare power of anova and wilcox tests for a range of n, variance and difference in means.

Plots for various uses

[stackedBarVSLines.R](Stacked bar chart alternatives)

Comparing stacked bar charts with alternatives. Particularly lines charts. Due to this conversation on https://twitter.com/NickGolding/status/407637683830140929

Just creating a plot of trangle like data that are common in ecology and a useful application of quantile regression. No quantile regression is actually run.

The 3D gaussian surface used as my twitter banner. Uses persp in MASS

Example usage of Tufte style themes from ggthemes. Range plot and mimimal bar charts.

statsforbios's People

Contributors

timcdlucas avatar coletownsend avatar jergason avatar suchow avatar homeostasie avatar

Stargazers

wangyang avatar Andreas Bender avatar Alan Haynes avatar Sandy Kawano avatar Freeman Wang avatar Martin Jung avatar Jakob Nikolas Kather avatar Blas Benito avatar Daniel Manson avatar timelyportfolio avatar Mark James Adams avatar

Watchers

James Cloos avatar Daniel avatar  avatar  avatar

statsforbios's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.