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...
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...
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...
12. Provide an appropriate response. Samples of size n- 240 are randomly selected from the population of numbers (0 through 20) produced by a random-number generator, and the variance is found for each sample. What is the distribution of the sample variances? O normal (approximately) O skewed to the right O skewed to the left O not enough information provided 13. Choose the correct response. ( point) Why is sampling without replacement acceptable with a large population? When a small...
The amount of corn chips dispensed into a 13-ounce bag by the dispensing machine has been identified as possessing a normal distribution with a mean of 13.5 ounces and a standard deviation of 0.3 ounce. Suppose 40 bags of chips were randomly selected from this dispensing machine. Find the probability that the sample mean weight of these 40 bags exceeded 13.6 ounces.