Project to generates a parent population of size, Mechanical Engineering

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.

Posted Date: 2/18/2013 4:17:37 AM | Location : United States







Related Discussions:- Project to generates a parent population of size, Assignment Help, Ask Question on Project to generates a parent population of size, Get Answer, Expert's Help, Project to generates a parent population of size Discussions

Write discussion on Project to generates a parent population of size
Your posts are moderated
Related Questions
Q2 A 3kW electric water heater is a cylindrical element having outside diameter 10mm. The heat transfer between the heater and the surrounding water is 980W/m2K. Determine the leng

(a) Derive the mathematical equation for work done in a polytropic process (i.e.) PV n =c) (b) A mass of gas is compressed in a quasi-static process from 80KPa, 0.1m 3 to 0.4M

Determine the centroidal moment of inertia: Determine the centroidal moment of inertia of a thin flat disc shown in Figure which is having a mass m kg. By using the parallel a

Hello to whom it may concern. I am currently having much trouble with a physics problem. I have an inverted L beam lying on a table. At the end of the flat piece laying on the t

First law of thermodynamics: The First Law of Thermodynamics states that work and heat are equally convertible. The present tendency is to include all the forms of energy. The

A hole of 25 mm diameter and 62.5 mm depth is to be drilled. The suggested feed is 1.25 mm/rev.and the cutting speed is 60 m/min. Assume the clearance height is 5 mm. Determine: f

how to work cryotron

Components of power plant &it''s functions

You are tasked with the analysis and design of the gravity and wind framing system for a 6-story office building. A part plan of the building is attached.  The plan dimensions o

classification of polymers