Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project 3: simulating random numbers. R comes with a set of pseuodo-random number generators that allow you to simulate from well-known probability distributions like the
Project 3: simulating random numbers. R comes with a set of pseuodo-random number generators that allow you to simulate from well-known probability distributions like the Normal, Poisson, and binomial. Explain the differences by among following functions by defining what they do mathematically and then by using an example: rnorm dnorm pnorm rpois Simulate 100 standard Normal random numbers and then show them in the histogram: Normal random numbers with mean 0 and standard deviation 1. Normal random numbers with mean 20 and standard deviation 2 Create and then explain the output of the following: Draw randomly 10 numbers from a uniform distribution of numbers from 100 to 10,000. Do a random permutation from a sample of numbers from 1 to 200 that are uniformly distributed. Create a sample w/replacement for numbers from 10 to 100 that are uniformly distributed
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started