Question

Try the following experiment a. pick a number for mean and standard deviation b. generate 5...

Try the following experiment

a. pick a number for mean and standard deviation

b. generate 5 random numbers using a normal distribution.

repeat steps (b) 1000 times. you had 1000 sets of 5 normally distributed random variables. Try the following

Convert each one to a z-score, (value - mean) / (std dev). Square each one of the 5 and add them.

you should know have a list of 1000 sums of 5 squared standard normals. Confirm you have the Chi squared table for 5 degrees of freedom

Homework Answers

Answer #1

we have run this in R, The R code is

#===========================================================================

#selecting mean and sd
m=0
s=1

chi=rep(0,1000)
for(i in 1:1000)
{
x=rnorm(5,m,s)
chi[i]=sum(((x-m)/s)^2)
}
chisq.test(chi,rchisq(1000,5))

#=====================================================================

the test result is

Pearson's Chi-squared test

data: chi and rchisq(1000, 5)
X-squared = 999000, df = 998000, p-value = 0.2397

since p-value>0.05 we can say that the data will have chi-sq distributed at 95% confidence.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. A normal distribution has a mean of 105.0 and a standard deviation of 18.0. Calculate...
1. A normal distribution has a mean of 105.0 and a standard deviation of 18.0. Calculate the Z score that you would use in order to find the probability P(X>111.0) 2. A statistical experiment involves recording the number of times a light blinks during intervals of varied durations. Historically, the light blinks at a rate of 5.1 times per minute on average. Calculate the probability that in a randomly selected 5.5-minute interval, the light blinks 31 times. 3. Consider a...
1. A population is normally distributed with mean 19.1 and standard deviation 4.4. Find the probability...
1. A population is normally distributed with mean 19.1 and standard deviation 4.4. Find the probability that a sample of 9 values taken from this population will have a mean less than 22. *Note: all z-scores must be rounded to the nearest hundredth. 2. A particular fruit's weights are normally distributed, with a mean of 377 grams and a standard deviation of 11 grams. If you pick 2 fruit at random, what is the probability that their mean weight will...
(4)(b) Using *set.seed(124)* and the Nile data, generate 1000 random samples of size n = 16,...
(4)(b) Using *set.seed(124)* and the Nile data, generate 1000 random samples of size n = 16, with replacement. For each sample drawn, calculate and store the sample mean. This can be done with a for-loop and use of the *sample()* function. Label the resulting 1000 mean values as "sample1". **Repeat these steps using *set.seed(127)* - a different "seed" - and samples of size n = 64.** Label these 1000 mean values as "sample2". Compute and present the means, sample standard...
Test scores on a particular exam have a mean of 77 and standard deviation of 5,...
Test scores on a particular exam have a mean of 77 and standard deviation of 5, and that they have a bell-shaped curve. Suppose you take numerous random samples of size 100 from this population. Describe the shape and give the mean and standard deviation of the resulting frequency curve. Explain.
Let X have a normal distribution with a mean of 23 and a standard deviation of...
Let X have a normal distribution with a mean of 23 and a standard deviation of 5. Find P(X < 9 or X > 21) in the following steps (a) What region of the normal distribution are you looking to find the area of? (to the left of a zscore, to the right of a z-score, between two z-scores, or to the left of one z-score and to the right of another z-score) (b) Calculate the z-score(s) needed to find...
1A) An experiment was designed to estimate the mean difference in weight gain for pigs fed...
1A) An experiment was designed to estimate the mean difference in weight gain for pigs fed ration A as compared with those fed ration B. Eight pairs of pigs were used. The pigs within each pair were litter-mates. The rations were assigned at random to the two animals within each pair. The gains (in pounds) after 45 days are shown in the following table. Assuming weight gain is normal, find the 95% confidence interval estimate for the mean of the...
What is the expected mean and standard deviation if stock returns followed this historical distribution:  +10% -5%  +20%  +15%....
What is the expected mean and standard deviation if stock returns followed this historical distribution:  +10% -5%  +20%  +15%. Show your work. If I offer you a bet of +$1 if heads and -$1 if tails, you pick a coin and someone else in class throws it, would you be willing to take this bet? If not, how much would I have to pay you? Compare your answer to the rest of the class and comment on their responses.
1. Calculate the mean and standard deviation for the numbers 1 – 20. ​i.e.) 1, 2,...
1. Calculate the mean and standard deviation for the numbers 1 – 20. ​i.e.) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ​Note: The set of numbers will be considered the population. ​µ = _______​​​σ = ________ 2. With your calculator, randomly generate 5 numbers from the numbers 1 – 20, 30 times. ​Use:​[MATH]>>>PRB #5 ​​RandInt(1,20,5)​[ENTER]​​Note: You cannothave the same number repeated in the group of 5. ​​​​​​For...
2. For the following experiment/question, pick the most appropriate statistical test. You have the following statistical...
2. For the following experiment/question, pick the most appropriate statistical test. You have the following statistical tests as choices: some may be used more than once, others not at all. Assume homogeneity of variance (where applicable) and the validity of parametric tests (where applicable), unless something is directly stated (e.g., “the data are not at all normal”) or otherwise indicated (viz., by the inspection of the data) which would indicate a strong and obvious violation of an assumption. This means...
For the following experiment/question, pick the most appropriate statistical test. You have the following statistical tests...
For the following experiment/question, pick the most appropriate statistical test. You have the following statistical tests as choices: some may be used more than once, others not at all.  Assume homogeneity of variance (where applicable) and the validity of parametric tests (where applicable), unless something is directly stated (e.g., “the data are not at all normal”) or otherwise indicated (viz., by the inspection of the data) which would indicate a strong and obvious violation of an assumption. This means you must...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT