Hello, I'm confused about how to set-up a boostrap sample without having an X and Y or dataset to use? Do i use dnorm and set that against rnorm? this is in R. Please help. Thank yoou :)
Use the rnorm() function to generate random sample size 10 from the normal distribution with mean 0 and standard deviation of 2
Find the bootstrap estimate of standard error of sample mean, SE(¯ c x ∗ 10). Use 2000 bootstrap samples.
Yes you can very well do this in R
I'll give you an outline and then give you the code. Hope that will make you understand.
Step 1. Generate 10 observations from the normal distribution with mean zero and standard deviation 2.
Calculate it's mean and repeat this process 2000 times. Thus you will get 2000 means from 2000 random samples drawn from the said distribution. The code is as follows.
x_bar=c()
for(i in 1:2000)
{
xi=rnorm(20,0,2)
x_bar[i]=mean(xi)
}
x_bar
Step 2. So, you have obtained the vector or means , that is the vector "x_bar" that contains 2000 sample means.
Therefore a estimate of standard error would be the standard deviation of this x_ bar vector , considering that these values have come from the distribution of sample means. The last part of the code is.
sd(x_bar) #estimate of the standard error.
Hello, I'm confused about how to set-up a boostrap sample without having an X and Y...
Standard Error from a Formula and a Bootstrap Distribution Use StatKey or other technology to generate a bootstrap distribution of sample means and find the standard error for that distribution. Compare the result to the standard error given by the Central Limit Theorem, using the sample standard deviation as an estimate of the population standard deviation. Mean commute time in Atlanta, in minutes, using the data in CommuteAtlanta with n=500, x¯=29.11, and s=20.72 Click here for the dataset associated with...
Standard Error from a Formula and a Bootstrap Distribution Use StatKey or other technology to generate a bootstrap distribution of sample means and find the standard error for that distribution. Compare the result to the standard error given by the Central Limit Theorem, using the sample standard deviation as an estimate of the population standard deviation. Mean commute time in Atlanta, in minutes, using the data in CommuteAtlanta with n=500, x¯=29.11, and s=20.72 Click here for the dataset associated with...
SET THREE: Chapter 6, Section 1-HT, Exercise 046 Use the normal distribution and the given sample results to complete the test of the given hypotheses. Assume the results come from a random sample and use a 5% significance level. Test H0 : p=0.5 vs Ha : p>0.5 using the sample results p^=0.60 with n=25 Round your answer for the test statistic to two decimal places, and your answer for the p-value to three decimal places. test statistic = ________________ p-value...
2. A computer software package calculated some summaries of sam- ple data. The results are below. Please fill in the blanks and estimate the mean of the population from which the sample was drawn. Variable N Mean SE of Mean Std Dev Variance Sum of Squares x ? ? 2.05 10.25 ? 3761.70 3. EXTRA CREDIT (5 points) Suppose that two independent ran- dom samples of size n1 and n2 from two normal distributions are available. Ex- plain how you...
; = 1190 i=1 X; = 7815 and i=1 and R are to be set up for an important quality characteristic. The sample size isn = 5, and X and r are computed for each of 35 preliminary samples. The summary data are: Control charts for Round your answers to 2 decimal places (e.g. 98.76). (a) Find trial control limits for and R charts. X Control Limits: UCL = CL = LCL = R Control Limits: UCL = CL =...
A data set includes 110 body temperatures of healthy adult humans having a mean of 98.0°F and a standard deviation of 0.74°F. Construct a 99% confidence interval estimate of the mean body temperature of all healthy humans. What does the sample suggest about the use of 98.6°F as the mean body temperature? What is the confidence interval estimately the population mean ? DF< < °F Round in three decimal lared as needed X S (1) More Click to select your...
Hello, I'm doing some midterm review and am having
trouble understanding these questions, could you walk me through
how to solve for these step by step so I can follow along and learn
from how they were completed?
Thanks in advance!
This information comes from Essentials of Statistics for Business and Economics 8th edition 1 Based on exercise 17 from chapter 6 in the textbook. The mean cost of domestic airfares rose to an all-time high of $385 per ticket...
sand, approximately. If a random sample of n -100 men was drawn to estimate u, what would be the standard error of X? b. The population of men in California is about 1/10 as large, but suppose it had the same mean and standard deviation. If a random sample of n -100 was drawn, what would be the standard error of X now? 6-7 Continuing Problem 6-6, the population size was 78 million. If a 1% sample was taken (i.e.,...
Hi, could anyone explain to me how to do these questions? I'm a
little confused.
(15 points) 1. The FBI compiles data on robbery and property crimes and publishes the information. A ran- dom sample of pickpocket offenses yielded the losses, in dollars, described by the following summary statistics: x = 513.32, s = 262.23, and n = 20. We want to use this data to make inference on u, the mean loss in all pickpocket offenses in the U.S....
Examnle 7 IFRQ1203M] Independent random samples of 500 households were taken from a large metropolitan area in the United States for the years 1950 and 2000 Histograms of household size (number of people in a household) for the years are shown below. SocS 120 t00 100 80 80 6o 5 20 8 10 12 14 1 0 268 12 416 Houschold Stze in 1950 Houschold Size in 2000 A researcher wants to use these data to construct a confidence interval...