Graduate Statistics Program Data

Share:

Description

This dataset contains various information from the majority of graduate statistics programs in the United States.

Usage

1

Format

A data.frame with 490 observations and 16 columns. The columns are defined as follows:

school

The college

program

The program type as advertised by the department

program_category

The program type categorized as either "Statistics" or "Biostatistics"

degree

The degree given by the department

degree_category

The degree categorized as either "Master" or "Doctorate"

state

The state

city

The city

square_miles

The square miles of the city (or region) from https://www.wikipedia.org/

population

The population of the city (or region) from https://www.wikipedia.org/ or http://www.census.gov/popest/data/index.html. Most are estimates from 2010 to 2014.

density

The population density

average_winter

The average winter temperature from http://weatherdb.com

average_summer

The average summer temperature from http://weatherdb.com

latitude

The latitude of the department's building (or as close as possible) from http://www.gps-coordinates.net

longitude

The longitude of the department's building (or as close as possible) from http://www.gps-coordinates.net

link

The URL of the department's website

date_collected

The date the information was recorded

Author(s)

Brett Klamer

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## Not run: 
data(statprograms)
summary(statprograms)

#----------------------------------------------------------------------------
# Plot locations on a map
#----------------------------------------------------------------------------
# load the required packages
library(ggplot2)
library(ggmap)

# get the map
map <- get_map(
  location = c(
    lon = mean(statprograms$longitude),
    lat = mean(statprograms$latitude)
  ),
  zoom = 3,
  maptype = "roadmap",
  scale = 2
)

# plot the map with points
## Alaska is cut off :(
ggmap(map) +
  geom_point(
    data = statprograms,
    aes(x = longitude, y = latitude, fill = "red", alpha = 0.5),
    size = 2,
    shape = 21
  ) +
  guides(fill = FALSE, alpha = FALSE, size = FALSE)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.