Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Applied Statistics Expert

CLT Project

In this project you will be analyzing your assigned distribution to help understand Monte Carlo simulation techniques and the Central Limit Theorem (CLT). By the end of your analysis you will determine the minimum given sample size in which the CLT is applicable for your distribution and write a short report, in which a hardcopy will be handed in.

Include in this report

• a short background about your given distribution

• what is the CLT

• all the graphs and answers to the questions described below, making sure the information are referenced somewhere (doesn't have to be in the order below) in the body of the report.

Expect that I don't have these guidelines so you need to explain what you did as well as tell me the results and analysis. Hence, you should not have sections referring the the following problems below, instead your report should be like a technical paper. If you use outside sources (such as may be neces- sary for the background of your distribuiton), remember to cite in the paper as well as at the end.

You will also need to submit your R code on collab as a script (named "LastName1_LastName2.R"). Keep your code neat and commented where applicable, otherwise points will be deducted. There is no need to include R code in your report.

Further report specifications: The main section of the report is further subject to the following limita- tions:

• Paper size: Letter (8.5 inches by 11 inches)

• Font: 12pt of either Times New Roman, Arial, or Calibri

• Line spacing: Either 1.5 lines or Double

• Total number of pages: 3 or less

• Stapled and either Double or Single sided

1. Plot the density function of your assigned distribution as well as the standard normal distribution on one graph (impose them on top of one another), in which the x-axis has a range from -10 to 10 [increment the data points by 0.1]. Also make sure to include appropriate labels and title as well as include a legend and have each line be distinct, using a combination of color and/or line type. You may need to increase the y-axis range to capture the fit of your distribution, if so try from 0 to 3. [Note - avoid using color unless you are going to use a color printer.] Compare your given distribution to the standard normal, be descriptive.

2. Now start a Monte Carlo simulations with K = 10000 iterations for your given distribution. You will be analyzing this distribution with numerous sample sizes n as you are trying to determine what sample size (if any) is large enough for the central limit theorem to be applicable. Calculate and save the mean and standard deviation of each iteration in corresponding vectors so that it can be used later. You can use a loop to cycle through the different sample sizes for your given distribution to save on tedious copying and pasting but you should not use a loop to randomly sample or calculate the mean and standard deviation of the distirbution. Hint - it might be eas- iest to save everything in lists (where each component refers to a different sample size) or 3D matrices.

n < - c(5, 20, 30, 50, 70, 100, 150, 200, 500)

3. We would expect that a normal QQ-Plot of the sampling distribution of X¯ to look like a straight line with the y-intercept being the population mean of x¯ and a slope being the corresponding population standard deviation of x¯. Graph the QQ-Plot for each X¯ (of each sample size) generated in Part 3. At the end of your analysis save the corresponding QQ-Plot for the minimum sample size in which the CLT is applicable for your report. Add corresponding titles and lines to this plot. Note - You should not be using the function qqline to graph the line and you may need to do some research to determine population mean and variance.

Also keep in mind that your plot window in RStudio may be too small and may look like the sam- ple size is large enough when it is actually not. So make so you zoom in on the graph before making your decision.

4. The CLT also has several properties that should also be satisfied. Test the following three properties before making a decision on what sample size is considered large enough for your distribution. Report these properties in a table format for all tested sample sizes.

μx' = μ, σx2 = σ2/n, E(s2) = σ2

5. Now that you have determined what sample size is large enough for the CLT to apply to your distribution, you are going to draw some histograms to see the CLT outcome visually. For easy comparison save the following two histograms in the same window different graphs or as trans- parent histograms on top one another. The first histogram should be created from 5000 random data points drawn from your orginial distribution. The second histograms will correspond to the mean vector you created in part (2) of the sample size you determined was large enough for the CLT to apply. Assuming a large enough sample size you should notice that the second graph will look approximately normal, otherwise the CLT does not apply. Label these graphs correctly and use them in your report to support you conclusion of the CLT theorem for you determined sample size.

6. If the CLT approximations holds, we expect about 95% of the confidence intervals X¯ ± tα/2, n-1 s/√n to contain the true mean value µ.

Determine the percentage of simulated confidence intervals that contain the true mean value for the minimum sample size in which the CLT is applicable. Again at the end of your analysis save the corresponding percentage for the minimum sample size in which the CLT is applicable. Report this and what it means.

7. We can visualize the confidence intervals by plotting them vertically and making a horizontal line that represents the true value µ. Due this for the first 100 confidence intervals constructed for the minimum sample size in which the CLT is applicable. Make it so each confidence interval line is a solid line (colors can vary or be the same). Correctly label and title this graph.

Attachment:- Project-2.rar

Applied Statistics, Statistics

  • Category:- Applied Statistics
  • Reference No.:- M91670598
  • Price:- $70

Guranteed 36 Hours Delivery, In Price:- $70

Have any Question?


Related Questions in Applied Statistics

Business statistics project -problem description the

BUSINESS STATISTICS PROJECT - Problem Description: The blockchain is a decentralized ledger of all transactions across a peer-to-peer network. Using this technology, participants can confirm transactions without a need f ...

Questions -question 1 - briefly explain what each of the

Questions - Question 1 - Briefly explain what each of the following theories says about corporate cash holdings: The static tradeoff theory: Information asymmetry. The agency costs of debt. Managerial agency theory. The ...

Assignment - research topicpurpose the purpose of this task

Assignment - Research topic Purpose: The purpose of this task is to ensure you are progressing satisfactorily with your research project, and that you have clean, useable data to analyse for your final project report. Ta ...

As the him member of your research team you are preparing

As the HIM member of your research team, you are preparing for a clinical trial study involving human subjects. The research would track two possible mutually exclusive outcomes, such as survive/did not survive, yes/no, ...

Go to the website of ahrqs website titled advances in

Go to the website of AHRQ's website titled Advances in Patient Safety: From Research to Implementation located in the Webliography and select a specific research article. Bring back to the class, at minimum, the followin ...

Assignment -in this assignment ms excel must be used to

Assignment - In this assignment MS Excel must be used to perform any calculations/graphical presentations as required in this assignment. Question 1 - Below you are given the examination scores of 20 students (data set a ...

Part a -question 1 - true or false in data collection the

Part A - Question 1 - True or False: In data collection, the most common technique to ensure proper representation of the population is to use a random sample. True False Question 2 - Most analysts focus on the cost of H ...

Analysis - comparing group means background and objectives

Analysis - Comparing group means Background and objectives - The balance_FALL17.xlsx dataset represents data from a fictitious study that explores the impact of two different interventions designed to help elderly client ...

A company produces labeled packaging material and the

A company produces labeled packaging material and the company intends to buy a new machine for shaping and labeling. The company has been approached by two different companies and the production manager did a test on the ...

Applied statistics - regression assignmentin this

Applied Statistics - Regression Assignment In this assignment you are expected to set up a regression equation, run that regression and interpret and evaluate the results. You will need to carefully state all null hypoth ...

  • 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