Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Mechanical Engineering Expert

This project involves a test of the basic idea behind the bootstrap method. Essentially you will write a program that:

1. Generates a parent population of size 100,000 whose distribution approaches that of a normal distribution,

2. Draw a random sample of size 100 from the parent population,

3. Subject the random sample to a bootstrap procedure, and

4. Generate an output file in which the mean and standard deviation of the parent population are compared to the average mean and average standard deviation from

the bootstrap samples.

? It is recommended that you seed the random number generator by invoking subroutine ranseed.f95 and put a date/time stamp on your output file through use of subroutine timestamp.f95.

Generate the parent population by calculating 100,000 values of the sum of six (6) random numbers. If you are unsure how to approach this, see the sample Fortran source code titled Normal Distribution Source Code - Revised posted under Course Documents.

It would behoove you to store the parent population values in a vector array of size 100,000 as this will make it easier not only to create the initial bootstrap sample but also to calculate the parent distribution's mean and standard deviation. (Hint: Since the parent distribution is composed of the sums of six random numbers whose values are between 0 and 1, the range of the parent distribution should be between 0 and 6.)

? Randomly draw a sample of size 100 from the parent population and store it in a vector array.

Sample with replacement this sample array ns times (I set ns to 10,000). For each bootstrap sample, calculate the mean and standard deviation. Store the calculated values of the bootstrap samples' means and standard deviations so at the end of the bootstrap sampling process you can calculate the average mean and average standard deviation of the bootstrap samples).

Important! Guard the content of the initial sample array from that of the bootstrap samples. You want to draw 100 samples with replacement from the initial sample array each time, but not change its content.

 Attach to an email the output files from five cases. (This is why you want to seed the random number generator, otherwise the results of all five cases will be identical.) In the body of the email, state whether or not you believe the results lend confidence to the validity of the resampling bootstrap method.

Mechanical Engineering, Engineering

  • Category:- Mechanical Engineering
  • Reference No.:- M9522638

Have any Question?


Related Questions in Mechanical Engineering

Fluid mechanics assignment - finite control volume analysis

Fluid Mechanics Assignment - Finite Control Volume Analysis and Dimensional Analysis Q1. The wind blows through a 7ft × 10ft garage door opening with a speed of 5 ft/s as shown in the figure. Determine the average speed, ...

1 explain the term critical equipment and provide two clear

1. Explain the term "critical equipment" and provide two clear examples of machinery which falls into this category on board a twin screw motor vessel. 2. Explain the process of Charpy lmpact Testing including sample mar ...

Life cycle assessmentfor your chosen service eg white board

LIFE CYCLE ASSESSMENT For your chosen service (e.g. white board markers), identify two alternatives of getting the service (e.g. brand A, brand B). Choose the most environmentally friendly option by conducting life cycle ...

Questions -q1 a qualitative estimate of the effect of a

Questions - Q1. A qualitative estimate of the effect of a wind-tunnel contraction (Figure) on turbulent motion can be obtained by assuming that the angular momentum of eddies does not change through the contraction. Let ...

Fluid mechanics assignment - viscous flow in pipesq1 as

Fluid Mechanics Assignment - Viscous Flow in Pipes Q1. As shown in the figure below, water "bubbles up" 3 in. above the exit of the vertical pipe attached to three horizontal pipe segments. The total length of the 0.75-i ...

Heat transfer and combustionyou will need graph paper a

HEAT TRANSFER AND COMBUSTION You will need graph paper, a calculator, a copy of Appendix 1 from lesson HTC - 4 - 2 and access to steam tables to answer this TMA. 1. A fuel gas consists of 75% butane (C 4 H 10 ), 10% prop ...

Mechanical engineering assignment task - solve the given

Mechanical Engineering Assignment Task - Solve the given problem. Task 1 - A spring with a one-turn loop of 40mm mean radius is formed from a round section of wire having 5 mm diameter. The straight tangential legs of th ...

The aim of the project is to demonstrate certain aspects of

The aim of the project is to demonstrate certain aspects of engineering materials in different applications. The projects will be assessed on the basis of a written Research Report. The report should clearly show what yo ...

Structural mechanics questions -q1 a 150-lb bucket is

Structural Mechanics Questions - Q1. A 150-lb bucket is suspended from a cable on the wooden frame. Determine the resultant internal loadings on the cross section at D, and at E. Q2. The shaft is supported at its ends by ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

  • 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