3-cs-fraudulent-transactions

998530 1e01 5 p5 11000000 8297941 6 p6 13270677

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: an IQR 1 p1 11.428571 10.399273 2 p2 10.877863 5.609731 3 p3 10.000000 5.731709 4 p4 9.911243 5.998530 5 p5 11.000000 8.297941 6 p6 13.270677 6.969951 > qplot(median, IQR, data=prodprice, alpha=I(0.2)) + scale_x_log10() + scale_y_log10() Statistics 503, Spring 2013, ISU 13 >.1&%8,10$ IQR > library(plyr) > prodprice <- ddply(sales, "Prod", summarize, + median = median(Uprice, na.rm=T), + IQR = quantile(Uprice, probs=.75, na.rm=T) + quantile(Uprice, probs=.25, na.rm=T)) > head(prodprice) Prod median IQR 1 p1 11.428571 10.399273 1e+03 2 p2 10.877863 5.609731 3 p3 10.000000 5.731709 4 p4 9.911243 5.998530 1e+01 5 p5 11.000000 8.297941 6 p6 13.270677 6.969951 > qplot(median, IQR, data=prodprice, alpha=I(0.2)) + scale_x_log10() + scale_y_log10() 1e-01 1e-01 1e+01 median 1e+03 Statistics 503, Spring 2013, ISU 13 >.1&%8,10$ IQR > library(plyr) > prodprice <- ddply(sales, "Prod", summarize, + median = median(Uprice, na.rm=T), + IQR = quantile(Uprice, probs=.75, na.rm=T) + quantile(Uprice, probs=.25, na.rm=T)) > head(prodprice) Prod median IQR 1 p1 11.428571 10.399273 1e+03 2 p2 10.877863 5.609731 3 p3 10.000000 5.731709 4 p4 9.911243 5.998530 1e+01 5 p5 11.000000 8.297941 6 p6 13.270677 6.969951 > qplot(median, IQR, data=prodprice, alpha=I(0.2)) + scale_x_log10() + scale_y_log10() 1e-01 There is a mean/variance relationship 1e-01 1e+01 median 1e+03 Statistics 503, Spring 2013, ISU 13 >.1&%8,10$ IQR > library(plyr) > prodprice <- ddply(sales, "Prod", summarize, + median = median(Uprice, na.rm=T), + IQR = quantile(Uprice, probs=.75, na.rm=T) + quantile(Uprice, probs=.25, na.rm=T)) > head(prodprice) Prod median IQR 1 p1 11.428571 10.399273 1e+03 2 p2 10.877863 5.609731 3 p3 10.000000 5.731709 4 p4 9.911243 5.998530 1e+01 5 p5 11.000000 8.297941 6 p6 13.270677 6.969951 > qplot(median, IQR, data=prodprice, alpha=I(0.2)) + scale_x_log10() + scale_y_log10() 1e-01 1e-01 1e+01 median 1e+03 Statistics 503, Spring 2013, ISU 13 >.1&...
View Full Document

Ask a homework question - tutors are online