Compute the median and store it in the r variable val

Assignment Help Basic Statistics
Reference no: EM131397208

Using R, set the R variable val=0. Next, generate 25 values from a binomial distribution where the possible number of successes is 0-6 and the probability of success is 0.9. This can be accomplished with the command rbinom(20,6, 0.9). The resulting observations will have values between 0 and 6 inclusive.

Compute the median and store it in the R variable val. Repeat this process 5000 times. You can use the R command for(i in 1:5000) val[i]=median(rbinom(20,6, 0.9)). Speculate about what the plot of the resulting values will look like and check your answer using the R command splot(val).

Reference no: EM131397208

Questions Cloud

Analyze the balance sheet and income statement of company : ACC403- Analyze the balance sheet and income statement of the company that you have selected. Identify the accounts that you would test, and select at least three analytical procedures that you would use in your audit.
Draw the standard normal distribution : Given that X¯ = 78, σ2 = 25, n = 10, and α = 0.05, test H0: µ > 80, assuming observations are randomly sampled from a normal distribution.- Also, draw the standard normal distribution indicating where Z and the critical value are located.
Jared spend on the bond : Jared buys a $12666 par value bond with monthly interest payments. If the bond's coupon rate is 4.1% and the current yield is 6.7%, how much did Jared spend on the bond?
What stage is your selected product at in product life cycle : Select a product with which you are familiar. What stage is your selected product at in the product life cycle? Provide rationale for your answer. Based on your knowledge of the product life cycle, what types of changes will occur to your selected..
Compute the median and store it in the r variable val : Compute the median and store it in the R variable val. Repeat this process 5000 times. You can use the R command for(i in 1:5000) val[i]=median(rbinom(20,6, 0.9)).
Find the length and the width : The width of a rectangle is 6 inches less than the length. The perimeter is 36 inches. Find the length and the width. The length of a rectangle is 7 inches less than 2 times the width. The perimeter is 46 inches. Find the length and the width.
Verify that given is the confidence interval for p : However, administrators concerned about cost argued that with only 200,000 trials, the probability of waking up using the new method could not be accurately estimated. Verify that a 0.95 confidence interval for p, the probability of waking up, is ..
Find the total hydrostatic force on the plug : A pressurized tank is shown in Figure P5.28. The gas pressure is 30 psig and the liquid is nitric acid with a specific gravity of 1.5. Determine the total hydrostatic force on the plug (which is in the shape of a truncated cone) shown in the figur..
Explain the change from the current and prior years : Briefly describe the change from the current and prior years in each of these key areas and determine if the changes would be positive or negative from an investor / stockholder's view.

Reviews

Write a Review

Basic Statistics Questions & Answers

  Find hypothesis that probability the champion is ucla

What do these results say about testing with group data? Include in your answer the URL of the site where you found the necessary data.

  Find the tailed test and test statistic

The sample mean is 2.59 and the sample standard deviation is .66. Conduct the following test using 95% level of confidence.

  Probability-parts manufactured on a company

According to Fortune, Missouri is within 500 miles of 44% of all U.S. manufacturing plants 8. If a Missouri company needs parts manufactured in 122 different plants, what is the probability that at least half of them can be found within 500 miles ..

  A company produces packets of soap powder labeled giant

a company produces packets of soap powder labeled giant size 32 ounces. the actual weight of soap powder in such a box

  Estimate the value of the population proportion round your

the fox tv network is considering replacing one of its prime-time crime investigation shows with a new family-oriented

  Denominator and the population variance

Show that E(s2) = σ2 in simple random sampling, where the sample variance s2 is defined with n - 1 in the denominator and the population variance σ2 is defined with N - 1 in the denominator.

  Determine if the problem is either a test of hypothesis

a. Determine if the problem is either a test of hypothesis, a confidence interval or something else and specify the 'key words' found in the problem that demonstrate your choice.

  Probability to picks to get the fourth black ball

If the ball is red put it back into the urn. If the ball is black, replace it with a red ball. Let X be the number of picks needed to get the fourth black ball. Find E[X].

  Support the researchers claim

Is there sufficient evidence at the alpha =0.05 level to support the researcher's claim?

  Population regression function

What if the assumption E[u/x]=0 is not satisfied? Illustrate using an example. Explain the relationship represented by a population regression function.

  A test score of 84 was transformed into a standard score of

a test score of 84 was transformed into a standard score of -1.5. if the standard deviation of test scores was 4 what

  Solving for the p-valuefor new car

A new car is designed to run a mean of at least 50 000 kilometers before its first tune-up. Tests with 30 cars show a sample mean of 49 500 kilometers and a sample standard deviation of 1000 kilometers.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd