Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Statistics LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Cover Page
    • License
    • Show TOC
    • Embed Jupyter
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
  • Include attachments
Searching in
About 2 results
  • https://stats.libretexts.org/Bookshelves/Applied_Statistics/Basic_Statistics_Using_R_for_Crime_Analysis_(Choi)/01%3A_Chapters/1.02%3A_Introduction_to_Data_Formations_and_Graphics
    This chapter focuses on transforming survey data from the 2012 General Social Survey (GSS) and visualizing it using the R programming language. The survey targets the American population's attitudes t...This chapter focuses on transforming survey data from the 2012 General Social Survey (GSS) and visualizing it using the R programming language. The survey targets the American population's attitudes towards police use of force. The chapter explains how to import the data using the haven package, transform categorical variables correctly, and employ the dplyr package for data manipulation. Additionally, it introduces the ggplot2 package for creating graphical representations of the data.
  • https://stats.libretexts.org/Bookshelves/Applied_Statistics/Basic_Statistics_Using_R_for_Crime_Analysis_(Choi)/01%3A_Chapters/1.03%3A_Creating_a_New_Variable_and_Producing_Summary_Statistics
    This chapter focuses on creating new variables and producing summary statistics using the 2018 Part 1 crime data from Pennsylvania's Uniform Crime Report. It explains the distinction between Part 1 (s...This chapter focuses on creating new variables and producing summary statistics using the 2018 Part 1 crime data from Pennsylvania's Uniform Crime Report. It explains the distinction between Part 1 (serious) and Part 2 (less serious) crimes and the limitations of the UCR due to underreporting. The chapter guides how to manipulate data in R, including renaming variables, calculating crime rates, and categorizing cities by population.

Support Center

How can we help?