SA3 - Statistics 133 - Short Assignment 3 due on bSpace at...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

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

Unformatted text preview: Statistics 133 - Short Assignment 3 due on bSpace at 11pm Tuesday, Sept. 22 In this assignment you will practice programming in R . You should turn in a script file with a .R extension with your name in a comment at the top. Include comments in your code labeling the parts of your code by problem number. Any functions should also be preceded by a brief comment describing what each one does. 1. The Strong Law of Large Numbers states that for a sequence of independent and identically distributed random variables with finite variance, the sample mean will converge with probability one to the expected value of the distribution as the sample size goes to infinity. Lets illustrate what this sequence of means looks like for some simulated Poisson random variables. First create a vector nseq that contains a sequence of possible sample sizes, from 10 to 1000 in increments of 10. Use rpois to simulate 1000 random draws from the Poisson distribution with = 10....
View Full Document

This note was uploaded on 12/20/2009 for the course STAT 133 taught by Professor Staff during the Fall '08 term at University of California, Berkeley.

Page1 / 2

SA3 - Statistics 133 - Short Assignment 3 due on bSpace at...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online