Storms and other severe weather events can cause both public health and economic problems for communities and municipalities. Many severe events can result in fatalities, injuries, and property damage, and preventing such outcomes to the extent possible is a key concern.

The basic goal of this assignment is to explore the NOAA Storm Database and answer some basic questions about severe weather events. The events in the database start in the year 1950 and end in November 2011.

Across the United States, which types of events (as indicated in the EVTYPE variable) are most harmful with respect to population health?

Across the United States, which types of events have the greatest economic consequences?

Data Processing

Results

In this study, it’s assumed that harmful events with respect to population health comes from variables FATALITIES and INJURIES.

Select useful data

Create new variables: TOTAL_PROPDMG, TOTAL_CROPDMG and TOTALDMG with: TOTALDMG = (TOTAL_PROPDMG + TOTAL_CROPDMG)

Population health impact

Across the United States, which types of events (as indicated in the EVTYPE variable) are most harmful with respect to population health?

</br>

From the above figure we can see that TORNADOES have the most significant impact on public health.

</br>

Across the United States, which types of events have the greatest economic consequences?

</br>

The FLOODS, HURRICANES/TYPHOONES and TORNADOES are the events with the greatest economic consequences.

</br>

TORNADO is the harmful event with respect to population health, and

FLOOD is the event which have the greatest economic consequences.

This is the project for the statistical inference class. In it, you will use simulation to explore inference and do some simple inferential data analysis. The project consists of two parts:

A simulation exercise.

Basic inferential data analysis.

Simulation exercises

The exponential distribution can be simulated in R with rexp(n, lambda) where lambda is the rate parameter. The mean of exponential distribution is 1/lambda and the standard deviation is also 1/lambda. Set lambda = 0.2 for all of the simulations. You will investigate the distribution of averages of 40 exponentials. Note that you will need to do a thousand simulations.

Results

1. Show the sample mean and compare it to the theoretical mean of the distribution.

The theoretical mean and sample mean for the exponential distribution.

Theoretical mean: 5

Sampling mean: 4.9644306

The sample mean is very close to the theoretical mean at 5.

2. Show how variable the sample is (via variance) and compare it to the theoretical variance of the distribution.

The variance for the sample data is : 0.6456619
and the theoretical variance is : 0.625
Both these values are quite close to each other.

3. Show that the distribution is approximately normal.

we see that the distribution is approximately normal as the straight line is closer to the points.

Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).

The easiest way to make your first post is to edit this one. Go into /_posts/ and update the Hello World markdown file. For more instructions head over to the Jekyll Now repository on GitHub.