Project to generates a parent population of size, Mechanical Engineering

Assignment Help:

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.


Related Discussions:- Project to generates a parent population of size

Explain cutting speed - cutting parameters, Explain Cutting Speed - Cutting...

Explain Cutting Speed - Cutting Parameters It is relative speed (V 1 ) between wheel and the Work piece. It is expressed in m/sec.   V=Cutting speed=V 1   =

Strength of materials, what is meant by thermal sress in tapered sections

what is meant by thermal sress in tapered sections

Find the cycle efficiency, Develop an EES Code for a Rankine cycle with reh...

Develop an EES Code for a Rankine cycle with reheat and with 2 open feedwater heaters.  The cycle is shown below:  Use the following conditions: 1.  700 psi, 850F 2.  500

Control , hey i really need someone to help doing my control course work as...

hey i really need someone to help doing my control course work asap cuse it is due sunday it is about Control of water level in a nonlinear ‘V’ shaped tank

Describe about austenitic stainless steels, Q. Describe about Austenitic st...

Q. Describe about Austenitic stainless steels? Austenitic stainless steels (300 series) generally exhibit very good corrosion resistance in sulphuric acid service for low conce

What are the reasons behind poor pick-up of motor cycle, (a) Why does engin...

(a) Why does engine overheat and what will happen if engine overheats? (b) Why engine does not start in wet or damp weather? (c) What may be the causes if engine dose not sta

Determine the actual absolute velocity, Question: As shown in the figur...

Question: As shown in the figure, the jet transport B is flying north with a velocity V B = 600 Km/h when a smaller aircraft A passes underneath the transport headed in the 60

Flange assembly, The assembly techniques of bolted connections and bolts an...

The assembly techniques of bolted connections and bolts and gaskets material selection are closely interrelated. Consequently, they must be treated as an integrated problem.

Remove cover left crank case and check for leakage, Remove cover left crank...

Remove cover left crank case and check for leakage: Before attending oil seal leakage check if any leak is there in the highlighted points - Neutral switch "o" ring leak, Shifter

Write Your Message!

Captcha
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