Using the trees data (in R) with volume as the variable of interest (y = trees$Volume) use simulation to compare random sampling without replacement (SRS) with the design random sampling with replacement for estimating the population mean. Use sample size n = 12 for each strategy. Estimate the population mean with the sample mean (nominal sample mean in the with-replacement case). To compare the strategies, use histograms, qqplots, calculations of mean of estimators, and mean square errors of estimators. Write a one-sentence conclusion("The strategy ______ is recommended because _________." )
Here strategy 2 is recommended i.e. sampling without replacement(WOR) beacuse the sample variance of strategy 1 i.e of sampling with replacement(WR) case is more than that of strategy 2 i.e WOR case.
The steps to do the above are as follows:-
a) data=trees$Volume
b)x=sample(data,12,replace = T)
c)y=sample(data,12,replace = F)
d) x
[1] 10.3 31.7 51.0 19.1 36.3 42.6 77.0 38.3 24.9 19.9 21.0 21.3
e) y
[1] 36.3 22.2 19.1 18.2 51.0 27.4 18.8 51.5 10.2 10.3 55.7 10.3
f) mean(x)
[1] 32.78333
g)mean(y)
[1] 27.58333
h)var(x)
[1] 328.9888
i)var(y)
[1] 286.6052
j)hist(x,xlab = "volume",main = "WR case")
k)hist(y,xlab = "volume",main = "WOR case")
Using the trees data (in R) with volume as the variable of interest (y = trees$Volume)...
Figure 1: Mean of all the Estimates is 1.78 foot 14- 12 10 8 1.4 1.6 1.8 Judgement Sample 2.0 2.2 Figure 2: Mean of all the Estimates is 1.23 feet 14- 12 10- 1.4 Simple Random Sample 1.0 1.2 1.6 1.8 Figure 1 and Figure 2 are the frequency histograms displaying the mean diameter of trees based on a sample of ne5 trees. Five trees were selec Simple Random Sampling scheme. The mean of the estimates reported by the...
iv. Categorical random variable contrast with numerical random variable. v. Compare discrete data from continuous data. saw. Detail the difference between nominal and ordinal scale. vii. Detail the difference between interval and ratio scale. viii. Explain the main reasons for obtaining data. ix. What is the difference between probabilistic and non-probabilistic sampling? x. What are some potential risks when using fishbowl methods to select a simple random sample? xi. Mention the difference between sampling with replacement and sampling without replacement...
Use the population of ages {56, 49, 58, 46} of the four U.S. presidents (Lincoln, Garfield, McKinley, Kennedy) when they were assassinated in office. Assume that random samples of size n = 2 are selected with replacement. 1. List the 16 different samples. For example, the samples for age 56 would be 56, 56 56, 49 56, 58 56, 46. 2. After listing all 16 samples, find the mean of each sample, then construct a table representing the sampling distribution...
Question 1 The following data represent the number of days absent per year in a population of four employees of a small company: 1 3 6 7 Assuming that you sample without replacement, select all possible samples of n = 2 and construct the sampling distribution of the mean. Compare the mean of all the samples means and also compute the population mean. Are they equal? What is the property called? Repeat (a) for all the sampling distribution of the...
The data in the t r ut h one of dollars of (Assume that samping is without replacement) people Use the data to through b. For samples of contable of all possible amples and me Wealth Wealth 19.20.1 10.25 218 19,28,19,25,25 19.28,18,19,25 21.8 10.1, 102.25 1928 1225 2 110.2525 (Type an integer or a decimal) c. Draw a d o the sampling of the sample mean for samples 36 d. For a random sample of what is the chance that...
6.4 2. Three randomly selected households are surveyed. The numbers of people in the households are 1, 4, and 10. Assume that samples of size n=2 are randomly selected with replacement from the population of 1, 4, and 10. Listed below are the nine different samples. Complete parts (a) through (c). Sample x1 x2 1 1 1 2 1 4 3 1 10 4 4 1 5 4 4 6 4 10 7 10 1 8 10 4 9 10 ...
R problem 1: The reason that the t distribution is important is that the sampling distribution of the standardized sample mean is different depending on whether we use the true population standard deviation or one estimated from sample data. This problem addresses this issue. 1. Generate 10,000 samples of size n- 4 from a normal distribution with mean 100 and standard deviation σ = 12, Find the 10,000 sample means and find the 10,000 sample standard deviations. What are the...
ee randomly selected households are surveyed. The numbers of people in the households are 4,5, and 9. Assume that samples of size n 2 are randomly selected with replacement from the population of 4, 5, and 9. Listed below are the nine d Complete parts (a) through (c). 4,4 4,5 4,9 5,4 5,5 59 9,4 95 9,9p a. Find the variance of each of the nine samples, then summarize the sampling distribution of the variances in the format of a...
U 4 5 The data table represents the measure of a variable before and after a treatment. Does the sample evidence suggest Individual that the treatment is effective in decreasing the value of the response variable? Use the c = 0.10 level of significance. Before, Xi Complete parts (a) through (d). 2 3 30 53 40 47 40 After, Yi 37 33 50 46 35 (a) What type of test should be used? Choose the correct answer below. O A....