Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

Part1) Central Limit Theorem

The input data consists of the sequence from 1 to 25 (1:25). Show the following three plots in a single row.

a) Show the histogram of the densities of this distribution.

b) Using all samples of this data of size 2, show the histogram of the densities of the sample means.

c) Using all samples of this data of size 5, show the histogram of the densities of the sample means.

d) Compare of means and standard deviations of the above three distributions.

Part2) Central Limit Theorem

The data in the file queries.csv contains the number of queries Google has had each day for a one year period (365 days). The data file is also available at http://kalathur.com/cs544/data/queries.csv. Use this link to read the data using read.csv function when submitting the homework.

a) Show the histogram of the distribution of the number of queries. Compute the mean and standard deviation of the number of queries Google has had per day.

b) Draw 1000 samples of this data of size 5, show the histogram of the densities of the sample means. Compute the mean of the sample means and the standard deviation of the sample means.

c) Draw 1000 samples of this data of size 20, show the histogram of the densities of the sample means. Compute the mean of the sample means and the standard deviation of the sample means.

d) Compare of means and standard deviations of the above three distributions.

Part3) Central Limit Theorem - Negative Binomial distribution

Suppose the input data follows the negative binomial distribution with the parameters size = 5 and prob = 0.5.

a) Generate 1000 random numbers from this distribution. Show the barplot with the proportions of the distinct values of this distribution.

b) With samples sizes of 10, 20, 30, and 40, generate the data for 5000 samples using the same distribution. Show the histograms of the densities of the sample means. Use a 2 x 2 layout.

c) Compare of means and standard deviations of the data from a) with the four sequences generated in b).

Part4) Sampling

Use the MU284 dataset from the sampling package. Use a sample size of 20 for each of the following.

a) Show the sample drawn using simple random sampling without replacement. Show the frequencies for each region (REG). Show the percentages of these with respect to the entire dataset.

b) Show the sample drawn using systematic sampling. Show the frequencies for each region (REG). Show the percentages of these with respect to the entire dataset.

c) Calculate the inclusion probabilities using the S82 variable. Using these values, show the sample drawn using systematic sampling. Show the frequencies for each region (REG). Show the percentages of these with respect to the entire dataset.

d) Order the data using the REG variable. Draw a stratified sample using proportional sizes based on the REG variable. Show the frequencies for each region (REG). Show the percentages of these with respect to the entire dataset.

e) Compare the means of RMT85 variable for these four samples with the entire data.

Attachment:- queries.csv

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M92049789
  • Price:- $35

Priced at Now at $35, Verified Solution

Have any Question?


Related Questions in Statistics and Probability

You are looking at two investment options option a and

You are looking at two investment options, Option A and Option B. Following are their populations of returns for the last five years: Option A Option B Year 1 15% 8% Year 2 22% 12% Year 3 8% 10% Year 4 2% 7% Year 5 13% 9 ...

A city of flies has a population that doubles once every

A city of flies has a population that doubles once every day. The flies go extinct from overpopulation on the 30th day. On which day was the fly population halfway from extinction?

Question suppose x is a normally distributed random

Question: Suppose X is a normally distributed random variable with mean µ = 200 and standard deviation σ = 20 a. Sketch the probability density function of X¯. On the same graph, sketch the probability density function o ...

Are there more children diagnosed with autism spectrum

Are there more children diagnosed with Autism Spectrum Disorder (ASD) in states that have larger urban areas over states that are mostly rural? In the state of Pennsylvania, a fairly urban state, there are 245 eight year ...

Taylor found that 8 of the recipients of loans form a

Taylor found that 8% of the recipients of loans form a particular mortgage lender default within 3 years. If he takes a random sample of 736 customers who received loans 3 years ago, what is the average number of custome ...

In a survey of 100 people 40 were casual drinkers

In a survey of 100 people, 40 were casual drinkers (event  D ), and 60 did not drink (event  D '  ). Of the ones who drank, 6 had minor headaches. Of the non-drinkers, 9 had minor headaches. Let  D  represent set of surv ...

Xyz corporations budgeted monthly sales are 10000 and they

XYZ Corporation's budgeted monthly sales are $10,000, and they are constant. Its customers pay as follows: 30% pay in the first month and take the 2% discount, while the remaining 70% pay in the month following the sale ...

In a recent year 8415394 male students and 4879215 female

In a recent year, 8,415,394 male students and 4,879,215 female students were enrolled as undergraduates. Receiving aid were 62.9% of the male students and 68.3% of female students. Of those receiving aid, 41.9% of the ma ...

A business analyst in the washington dc area looked at the

A business analyst in the Washington, D.C. area looked at the following Christmas 2016 and 2017 toy sales in Metro D.C. Six toy stores were were contacted and shared the following information where x is 2016 sales and y ...

1 this table summarizes the results from

1) This table summarizes the results from along+termrandomized clinicaltrial to  determine whether aspirin reduces the risk of heart attack. Researchers  randomly assigned a large sample of healthy male physicians (22,07 ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As