Question: Make a vector whose values are the logarithms of a random sample of size 20 from a standard normal distribution (which has mean = 0

  1. Make a vector whose values are the logarithms of a random sample of size 20 from a standard normal distribution (which has mean = 0 and sd = 1) Use the ifelse function to replace all the missing values with "NA". Use rbind to show the original normally distributed values, the log transformed values, and the log transformed values with the missing ones replaced.

using the RStudio

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!