SHARE
TWEET

hw1

a guest Sep 10th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. setwd("/Users/mariiaturchina/mathstat_data")
  2. data <- scan("Orings.txt", what = "numeric")
  3. class(data) <- "numeric"
  4. summary(data)
  5. # 1a - have the summary stuff
  6.  
  7. boxplot(data)
  8. # 1b - make a boxplot
  9.  
  10. new_data <- data[data != min(data)]
  11. summary(new_data)
  12. # 1c - summary without the smallest
  13.  
  14. qqnorm(new_data)
  15. qqline(new_data)
  16. # 1d - plot the normal qq
  17.  
  18. c_data <- (new_data - 32)
  19. c_data <- (c_data * (5/9))
  20. summary(c_data)
  21. # 1e - get summary of C
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top