ANSWER:
First create u and v -
A <- 1:40
u <- sample((A),
size = 100,
replace = TRUE)
v <- matrix( rnorm(1*100,mean=20,sd=5), 1,100)
Answer (a) --
vectStr=paste(as.character(u), sep="' '", collapse=",")
sink("outfile.txt")
cat(vectStr)
cat("\n")
sink()
Answer (b) --

Answer(c) --
myMatrix <- as.matrix(read.table("outfile.txt", sep=",", header=TRUE)
lists<-split(myMatrix, f = 1:2)
u<-lists[1]
Answer(d) --

Answer(e) --


Answer(f) --


Answer(g) --


3. Generate a vector u with 100 elements randomly selected (uniformly) from 1 to 40. Then generat...
Please answer both 1 & 2. 1. Use Excel to generate 100 observations from the standard Normal distribution. a.Make a histogram of these observations. How does the shape of this histogram compare with a Normal density curve? 2. Use Excel to generate 100 Normally distributed random values (that is 100 outcomes of a Normally distributed random variable with mean 10 and standard deviation of 5). a. Make a histogram for your data. How does the shape of this histogram compare...
Use Excel to generate 70 values from Normal distribution with mean 18 and standard deviation 5. Construct a histogram for them [Note: first generate 100 uniformly distributed random values from [0,1]; then use them as the first input for NORMINV( ) function, two other inputs are mean and standard deviation of given Normal distribution. can you show me step by step how to do this in excel
an economics professor randomly selected 100 millionaires in the united states. the average age of these millionaires was 54.8 years with a standard deviation of 7.9 years. what is the 95% confidence interval for the mean age, of all united states millionaires. A.) A confidence interval for the mean using a table value from the standard normal distribution B.) A confidence interval for the mean using a table value from the t distribution C.) A confidence interval for a proportion...
R programming Language Problem 1. Create three vectors, each containing 20 values randomly sampled from a normal distribution. The first should be from a normal distribution with mean = 0 and standard deviation = 1 (a.k.a. the standard normal distribution). The second should be from a normal distribution with mean = 10 and standard deviation = 1. The third should be from a normal distribution with mean = 10 and standard deviation = 10. Use the mean() and sd() functions...
For 100 randomly selected college students, this yearly income (in thousands of dollars) frequency distribution was obtained. Class Limits Frequency 0 – 4 28 5 – 9 35 10 – 14 22 15 – 19 9 20 – 24 5 25 – 29 1 Using the frequency distribution provided above, find the following: a. Mean b) Modal Class c) Sample Variance d) Sample Standard Deviation
1. Three randomly selected households are surveyed. The numbers of people in the households are 3, 4 and 11. Assume that samples of size n=2 are randomly selected with replacement from the population of3, 4, and 11. Listed below are the nine different samples. Complete parts (a) through (c).3,3 3,4 3,11 4,3 4,4 4,11 11,3 11,4 11,11a. Find the variance of each of the nine samples, then summarize the sampling distribution of the variances in the format of a table...
R studio #Exercise : Calculate the following probabilities : #1. Probability that a normal random variable with mean 22 and variance 25 #(i)lies between 16.2 and 27.5 #(ii) is greater than 29 #(iii) is less than 17 #(iv)is less than 15 or greater than 25 #2.Probability that in 60 tosses of a fair coin the head comes up #(i) 20,25 or 30 times #(ii) less than 20 times #(iii) between 20 and 30 times #3.A random variable X has Poisson...
1. Assume that a randomly selected subject is given a bone density test. Those test scores are normally distributed with a mean of 0 and a standard deviation of 1. Find the probability that a given score is less than 3.87 and draw a sketch of the region. 2. Assume that a randomly selected subject is given a bone density test. Bone density test scores are normally distributed with a mean of 0 and a standard deviation of 1. Draw...
Assume the random variable x is normally distributed with mean u = 80 and standard deviation c=5. Find the indicated probability. P(65<x< 73) P(65<x< 73)=0 (Round to four decimal places as needed.) X 5.2.17 Use the normal distribution of SAT critical reading scores for which the mean is 507 and the standard deviation is 122. Assume the vari (a) What percent of the SAT verbal scores are less than 550? (b) If 1000 SAT verbal scores are randomly selected, about...
5. Forearm lengths of men, measured from the elbow to the middle fingertip, are normally distributed with a mean 18.8 inches and a standard deviation 1.1 inches. If I man is randomly selected, what is the probability that his forearm length is below 17 inches? 27) What are the parameters? a. Find the z-score, and construct the standard normal distribution density curve, then b. shade your seeking area. Find the probability. c.
5. Forearm lengths of men, measured from the...