Stats homework
Download
1 / 8

Stats Homework - PowerPoint PPT Presentation


  • 68 Views
  • Uploaded on

Stats Homework. Go to http://sqlzoo.net/ Do as much as you can in 2 hours Let me know what you did by email No need to send me lots of screen shots Just summarize your experience (good, bad, ugly). http://www.nytimes.com/2009/01/07/technology/business-computing/07program.html. Plot Example.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Stats Homework' - bayard


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Stats homework
Stats Homework

  • Go to http://sqlzoo.net/

  • Do as much as you can in 2 hours

  • Let me know what you did by email

    • No need to send me lots of screen shots

    • Just summarize your experience (good, bad, ugly)


Http www nytimes com 2009 01 07 technology business computing 07program html
http://www.nytimes.com/2009/01/07/technology/business-computing/07program.htmlhttp://www.nytimes.com/2009/01/07/technology/business-computing/07program.html


Plot example
Plot Examplehttp://www.nytimes.com/2009/01/07/technology/business-computing/07program.html

  • help(ldeaths)

  • plot(mdeaths, col="blue", ylab="Deaths", sub="Male (blue), Female (pink)", ylim=range(c(mdeaths, fdeaths)))

  • lines(fdeaths, lwd=3, col="pink")


Scatter plot
Scatter Plothttp://www.nytimes.com/2009/01/07/technology/business-computing/07program.html

  • plot(as.vector(mdeaths), as.vector(fdeaths))

  • g=glm(fdeaths ~ mdeaths)

  • abline(g)

  • g$coef

    (Intercept) mdeaths

    -45.2598005 0.4050554


Hist density
Histhttp://www.nytimes.com/2009/01/07/technology/business-computing/07program.html & Density

  • par(mfrow=c(2,1))

  • hist(fdeaths/mdeaths, nclass=30)

  • plot(density(fdeaths/mdeaths))


Help demo example
Help, Demo, Examplehttp://www.nytimes.com/2009/01/07/technology/business-computing/07program.html

  • demo(graphics)

    • example(plot)

    • example(lines)

    • help(cars)

    • help(WWWusage)

    • example(abline)

    • example(text)

    • example(par)

  • boxplots

    • example(boxplot)

    • help(chickwts)

  • demo(plotmath)

  • pairs

    • example(pairs)

    • help(quakes)

    • help(airquality)

    • help(swiss)

    • help(attitude)

    • Anorexia

      • utils::data(anorexia, package="MASS")

      • pairs(anorexia, col=c("red", "green", "blue")[anorexia$Treat])

  • counting

    • example(table)

    • example(quantile)

    • example(hist)

    • help(faithful)


  • Randomnesshttp://www.nytimes.com/2009/01/07/technology/business-computing/07program.html

    • example(rnorm)

    • example(rbinom)

    • example(rt)

  • Normality

    • example(qqnorm)

  • Regression

    • help(cars)

    • example(glm)

    • demo(lm.glm)


ad