Notes on Scientific and Mathematical Programming

R, Julia, SQL, Octave and others: Personal notes on data analysis, computation, data access most especially for querying voter history, Census, PDC, and other election data. Reader is advised to just paste the code text into Notepad++.

Sunday, August 16, 2015

Booking Recidivism code and more

Code to look at 'Booking Recidivism'. Political piece is here. R based animation is here.

Read more »
Posted by Ryan M. Ferris at 4:46 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Saturday, August 8, 2015

Prototyping analysis of summary of BPD Offenses: Summary Data


Political piece is here.
Read more »
Posted by Ryan M. Ferris at 11:15 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Wednesday, August 5, 2015

An Analysis of Whatcom County Jail Press Releases: Word Counts, Word Clouds, Relational Graphs,Criminogenic Cycle : Part II

Political piece is here.

Read more »
Posted by Ryan M. Ferris at 3:50 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

An Analysis of Whatcom County Jail Press Releases: Word Counts, Word Clouds, Relational Graphs,Criminogenic Cycles: Part I

Political piece is here. 

Read more »
Posted by Ryan M. Ferris at 3:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Tuesday, August 4, 2015

Code to analyze racial composition in Washington Jails.



Political piece for this code is here. There are two separate R files below.

Read more »
Posted by Ryan M. Ferris at 12:00 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home

Popular Posts

  • PDC Database : Frequency vs. Donation size in the 42nd LD to date
    The political piece for this code is here .  This R (3.1.0) code helped me dig into the PDC database to understand campaign financing for t...
  • Some PDC Contribution queries: Lovelett vs Blackwood 40th LD as of July 27 2019
     Some (limited) PDC Contribution queries: Lovelett vs Blackwood 40th LD as of July 27 2019 . Data from   https://data.wa.gov/Politics/Contri...
  • Kobe Bryant Crash Data and Some Conclusions
    I have concluded by examining the Kobe Bryant crash data that the Sikorsky N72EX transporting Kobe Bryant and his guests took a violent ...
  • avg(age::int4) OVER (partition by precinctid)
    Political piece is here .  precinctid | activeaverage | inactiveaverage | diffaverage ------------+---------------+-----------------+----...
  • Curve, Constants, lockBinding,locator()
    # Show how to choose floating point length, create the constant e  and bind it to the global environment # Use curve() function to create ...
  • Voter Stability as a Predictor
    Political piece for this is here.
  • Radiation Sampling with Visual Comparisons : Part I
  • SQL for comparing Active vs Inactive voters over time
    /* 6:20 PM 9/23/2014 -RMF Political piece for this code is here . I create query to dump out the various (voter history) databases I wish t...
  • Decimal, Binary, Octal, Hexadecimal table
    library(data.table) library(R.utils) print(setnames(data.table(cbind(2^0:128,intToBin(2^0:128),intToOct(2^0:128),intToHex(2^0:128))),c(...
  • SQL to query active vs. inactive voters, primary vs. general election participation
    Postgres SQL code to query a Whatcom County Voter database to comapare previous and current elections for active vs. inactive voters, precin...

Pageviews All Time

About Me

My photo
Ryan M. Ferris
Most of my blogs are on hold. I have blogged on politics at www.bellinghampoliticsandeconomics.com . I blog on Covid-19 at www.ncovd.org . I blog on hiking in WA at www.AlwaysHiking.org
View my complete profile

Blog Archive

  • ►  2020 (2)
    • ►  January (2)
  • ►  2019 (6)
    • ►  September (1)
    • ►  August (2)
    • ►  July (2)
    • ►  March (1)
  • ►  2018 (3)
    • ►  September (1)
    • ►  July (1)
    • ►  June (1)
  • ►  2017 (1)
    • ►  February (1)
  • ►  2016 (12)
    • ►  May (1)
    • ►  April (2)
    • ►  March (3)
    • ►  February (6)
  • ▼  2015 (27)
    • ►  December (4)
    • ►  November (3)
    • ►  October (2)
    • ▼  August (5)
      • Booking Recidivism code and more
      • Prototyping analysis of summary of BPD Offenses: S...
      • An Analysis of Whatcom County Jail Press Releases:...
      • An Analysis of Whatcom County Jail Press Releases:...
      • Code to analyze racial composition in Washington J...
    • ►  June (1)
    • ►  May (1)
    • ►  April (2)
    • ►  March (5)
    • ►  February (1)
    • ►  January (3)
  • ►  2014 (38)
    • ►  December (4)
    • ►  November (1)
    • ►  October (7)
    • ►  September (4)
    • ►  August (5)
    • ►  July (4)
    • ►  June (3)
    • ►  May (6)
    • ►  April (1)
    • ►  March (3)
  • ►  2013 (1)
    • ►  December (1)
Simple theme. Powered by Blogger.