Question

Now let's try a normal distribution. The first plot will be easy, but the second will...

Now let's try a normal distribution. The first plot will be easy, but the second will be more difficult to do, so follow the instructions carefully. First we'll plot a standard normal, then we'll see what happens if you change the parameters. x <- seq (-3.291, 3.291, length.out=100) gives us 100 equally spaced values of x between -3.291 and 3.291. “seq” let's us generate a sequence of numbers, and “length.out” tells us how many numbers we want in the sequence. plot(x, dnorm(x, mean = 0, sd = 1), col = "red", type = "l") “plot” is a command to generate graphs (it's quite versatile, and we can't explain everything here). “dnorm” is essentially the equation for the normal distribution. This command will plot x and the value of x at each of the 100 points using the normal equation. The “mean”, “sd” and “col” functions should be self-explanatory. type = “l” (that's lower case “L”, not “one”) generates lines instead of points (try it without type = “l” to see the difference). At this point you should have a standard normal curve. Now we'll see what happens when we change the parameters. First, let's change the mean from 0 to 1: lines(x, dnorm(x, mean = 1, sd = 1), col = "blue") “lines” will plot lines, but without erasing the previous plot. In other words, it'll plot the lines on the same graph as before. We changed the color to blue so you can see which plot is which. Now answer the following question:

(a) What happened to the normal distribution? How is it different from the first distribution you plotted? You can hold off on copying and pasting your graph until you've done all of the steps below (you only need to hand in one graph for problem 6). Now let's adjust the standard deviation: lines(x, dnorm(x, mean = 0, sd = 2), col = "green") you should know how this works at this point. Answer the following question:

(b) Again, what happened to the normal distribution? How is it different from the previous normal distributions you plotted? Finally, let's adjust both the mean and standard deviation. lines(x, dnorm(x, mean = 1.5, sd = 1.7), col = "purple")

(c) How is this different from the above normal distributions? At this point your graph should have four curves plotted on top of each other in your final graph. Copy this graph and paste it into a word processor or whatever you want to use so that you can print a copy.

(d) Can you understand now how important the parameters of a distribution are? What do the parameters of a distribution tell us about the distribution?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a. This entirely depends on location and scale. When the location is 0 and scale is 1 that is standard normal distribution with colour red. So the mean ,mode ,median of the distribution are at 0 and it is symmetric about the location 0.

From blue curve we observe both the location has changed from 0 to 1, that is now the mean, median and mode are 1 and the variance is still 1. So the curve shifts to right because now it is symmetric about 1. But the shape of the curve remains same that is it neither becomes wider nor narrower.

b.when scale changes from 1 to 2, the location remains same, that is mean,median and mode are still at 0 but the deviation increases, that is now there are less number of observations from (-3,3) and they have become more distributed over the X axis which is evident from green curve which is wide.

c. From the purple curve we see that mean increases from 0 to 1.5 and so the location shifts right again( more than 1). Also the deviation increases to 1.7 so it becomes wider than red and blue curve but narrower than green curve which has standard deviation 2.

d. So the location parameter shifts the graph and the scale parameter defines the stretch of the graph. This way the parameters of the distribution characterize the shape of the distribution.

Add a comment
Know the answer?
Add Answer to:
Now let's try a normal distribution. The first plot will be easy, but the second will...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Part 2: Normal distribution z-N(0,1):f(x) :v2ne- # The function dnorm returns the height of the n...

    USING R AND RSTUDIO PLEASE PROVIDE EXPLANATION AS WELL, THANK YOU(: Part 2: Normal distribution z-N(0,1):f(x) :v2ne- # The function dnorm returns the height of the normal density # function at a given value of X, for a normal distribution with # a given mean and standard deviation (sd) dnorm(x- 1,mean -e, sd-1) C8. (1) For what special normal distribution does the above call return the value of the normal density function? C9. (1) Report the result of the dnorm...

  • Styles First we will learn how to evaluate binomial distribution with the help of Excel. Let's...

    Styles First we will learn how to evaluate binomial distribution with the help of Excel. Let's flip a coin n times and count how many tails we are going to get. If n=0, then no coin is tossed and the only option is 0 tails. Therefore P(0)=1, the mean is 0 and the standard deviation is 0. We are going to do a simple table for n=0. First we will define columns. Click on cell A1 and type X for...

  • What is normal? Can you think of where you see the normal distribution in your day...

    What is normal? Can you think of where you see the normal distribution in your day to day life? Suppose we collect data on the height of all of us in this class. What would the graph look like? Would it be bell-shaped? The normal distribution is vital to statistical analysis, being fully defined by the mean and standard deviation. All normal curves have the same general shape. 68% of the total area under the curve is from +1 to...

  • R Programming Exercise Book Problem 57 (Difficulty: Easy) A normal distribution has a standard deviation of...

    R Programming Exercise Book Problem 57 (Difficulty: Easy) A normal distribution has a standard deviation of 35 and mean of 15. From this generate 2 to 400 samples. After generating the samples utilize the plot command to plot the mean of the generated sample (x-axis) against the number of samples. Create a second plot of the density of the 400 samples that you generated. This code can be solved in 4 to 8 lines. For this problem use the following...

  • The temperature variation at each Now you wll add variation to the temperatures, assuming that th...

    use mathlab the temperature variation at each Now you wll add variation to the temperatures, assuming that that quarter hour follows a normal distribution. 4. Create a normal distribution (Gaussian distribution) of temperature variation with a mean of o° and a standard deviation of 2e for each temperature over the 24.houc period (You will need 97 values). call this array R. See Section 3.6 for help. s. create a new array called TempPlus that includes this random variation. The new...

  • Engineering Statistics. Lab # 2 (chapter 3 Material) Using Minitab to Plot Frequency distribution and calculate Mea...

    Engineering Statistics. Lab # 2 (chapter 3 Material) Using Minitab to Plot Frequency distribution and calculate Mean, Variance, and Standard Deviation of a general discrete random variable As we discussed in early part of chapter 3 material (Random Variables and Probability distributions), Minitab cannot help you solve general discrete probability problems we have discussed so far, It could be used to graph probability mass distribution and determine mean, Variance, ...of general random variable X when P(x) is given. Suppose you...

  • Suppose the systolic blood pressure (in mm) of adult males has an approximately normal distribution with...

    Suppose the systolic blood pressure (in mm) of adult males has an approximately normal distribution with mean μμ =125 and standard deviation σσ =14. Create an empirical rule graph with the following: A title and label for the horizontal axis including units. Vertical lines for the mean and first 3 standard deviations in each direction with numerical labels on the horizontal axis Labels for the areas of the 8 regions separated by the vertical lines as well. Note: This may...

  • Suppose the systolic blood pressure (in mm) of adult males has an approximately normal distribution with...

    Suppose the systolic blood pressure (in mm) of adult males has an approximately normal distribution with mean μμ =125 and standard deviation σσ =14. Create an empirical rule graph with the following: A title and label for the horizontal axis including units. Vertical lines for the mean and first 3 standard deviations in each direction with numerical labels on the horizontal axis Labels for the areas of the 8 regions separated by the vertical lines as well. Note: This may...

  • Please use R Part I: qqplots. This part deals with qaplots of al inds. Let's do...

    Please use R Part I: qqplots. This part deals with qaplots of al inds. Let's do some easy experiments, first. Let's take a sample from a normal distribution with mu-2, sigma -3, and then look at the hist and the qqplot of that data: set.seed(3) n 100 # Sample size # Sample from N(mu-2, sigma-3) # Looks normal. But that depends on breaks. x morm(n,2.3) hist(x) qqnorm(x) # This doesn't depend on binsize, and it looks linear. abline(2,3, col-2) What...

  • Please solve on only PART 2 b) and c) , PART 1 is only for REFERENCE...

    Please solve on only PART 2 b) and c) , PART 1 is only for REFERENCE :) Part I: Ene concept of a percentile (equivalently, quantile) is very important in data analysis. It applies to both samples and distributions. So, let's get some wi practice with them, starting with the binomial distribution. In prelab, you learned that the function gbinom(p. size prob) gives the p-th quantile of the binomial distribution with parameters n - size and pi prob. tocus on...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT