Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
OSCAR=read.table("http://freakonometrics.blog.free.fr/public/data/OSCAR.csv", sep=",",header=TRUE,dec=".") actor=OSCAR[,1] suppactor=OSCAR[,2] actress=OSCAR[,3] suppactress=OSCAR[,4] actor=actor[is.na(actor)==FALSE] actor=actor[actor>0] actress=actress[is.na(actress)==FALSE] actress=actress[actress>0] suppactor=suppactor[is.na(suppactor)==FALSE] suppactor=suppactor[suppactor>0] suppactress=suppactress[is.na(suppactress)==FALSE] suppactress=suppactress[suppactress>0] boxplot(actor,suppactor,actress,suppactress,col=c("blue","blue","red","red"), names=c("actor","supp. actor","actress","supp. actress"))
The oldest actor who won an Oscar was Henry Fonda (at the age of 76) and the oldest actress was Jessica Tendy (nearing 81). Tatum O’Neal became the youngest person to win the best supporting actress award at the age of 10 (she was 8 when she was acting). The youngest best actress was Marlee Matlin, 21. The distribution was be seen below, with actors in blue, and actresses in red, best supporting actors in dotted lines, and best actors in plain lines,
plot(density(actor),xlim=c(10,80),axes=FALSE, col="blue",names="",ylab="",xlab="",ylim=c(0,.051)) lines(density(suppactor),col="blue",lty=2) lines(density(actress),col="red") lines(density(suppactress),col="red",lty=2) axis(1)
> mean(suppactor) [1] 50.23762 > mean(actor) [1] 44.29982 > mean(suppactress) [1] 40.55766 > mean(actress) [1] 36.39733
Here, I have to admit that I was surprised. I always thought that being a supporting actor was a first step before being a leading one. So winners of supporting awards should have been younger that winners of leading ones. But this is not the case.
And the dynamic here is rather stable, with actors,and actresses,
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.