Code Monkey home page Code Monkey logo

jse_okcupid's Introduction

OkCupid Profile Data for Intro Stats and Data Science Courses (Revised in 2021)

Albert Y. Kim and Adriana Escobedo-Land

Data and code for OkCupid Profile Data for Introductory Statistics and Data Science Courses, Journal of Statistics Education July 2015, Volume 23, Number 2. The original manuscript was subsequently revised in 2021.

  • JSE_revised.Rnw: .Rnw source document to recreate JSE_revised.pdf using knitr. In RStudio, go to “Tools” -> “Project Options” -> “Sweave” -> “Weave Rnw files using:” and select knitr.
  • JSE_revised.pdf: PDF of document
  • JSE_revised.bib: bibliography file
  • JSE_revised.R: R code used in document
  • okcupid_codebook_revised.txt: codebook for all variables
  • profiles_revised.csv.zip: CSV file of revised profile data (unzip this first)
  • essays_revised_and_shuffled.zip: CSV file of shuffled essay data (unzip this first)

Notes

  • Revisions in 2021:
    • Removed the exact date the data was collected.
    • Shuffled/randomized the order of the rows of the essay data, thereby decoupling the essay data from the profiles data.
    • Removed URL’s in the essay data that involved the following domains: facebook.com, instagram.com, twitter.com, pinterest.com, and flickr.com.
    • Added random noise to age variable in the profiles data.
    • Removed the following variables from the profiles data: location, last online
  • Original version from 2015:
    • Permission to use this data set was explicitly granted by OkCupid.
    • Usernames are not included.

Preview

Distribution of Male and Female Heights

Joint Distribution of Sex and Sexual Orientation

A mosaicplot of the cross-classification of the 59946 users’ selected sex and sexual orientation:

Logistic Regression to Predict Sex

Linear regression (in red) and logistic regression (in blue) compared. Note both the x-axis (height) and y-axis (is female: 1 if user is female, 0 if user is male) have random jitter added to better visualize the number of points involved for each (height x sex) pair.

Fitted probabilities p-hat of each user being female along witha decision threshold (in red) used to predict if user is female or not.

jse_okcupid's People

Contributors

rudeboybert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.