# Question for Lab 1 - 11:00

(10 pts)

I've got a fun program on my webpage that generates random CSV data for people. You can access it and examine the first few rows via Python like so:

```
import pandas as pd
df = pd.read_csv('https://www.marksmath.org/cgi-bin/random_data.csv?username=mark')
df.head()
```

first_name | last_name | age | sex | height | weight | income | activity_level | |
---|---|---|---|---|---|---|---|---|

0 | Donna | Dinan | 35 | female | 65.37 | 164.26 | 1947 | high |

1 | Antonia | Davis | 39 | female | 64.95 | 140.40 | 2188 | none |

2 | Stephanie | Buss | 30 | female | 60.75 | 181.83 | 18108 | high |

3 | Wendell | Elmore | 26 | male | 64.68 | 157.90 | 1935 | moderate |

4 | Nina | Mcilhinney | 21 | female | 59.94 | 163.38 | 5675 | none |

Here's the cool thing - the data is randomly generated but the random number generator is seeded using the `username`

query parameter in the URL. Thus, if I execute that command several times, I get the same result every time. That result depends upon the `username`

, however. Thus, if you do it with your forum `username`

, you'll get a different result. Thus, we all have our own randomly generated data file!

*The problem*: Using the code above with your `username`

, generate your data file and then

- Compute the mean and sample standard deviation of the heights in your data and
- create a histogram of the heights.

Be sure to include both the code that you typed, as well as the results in your post.

## Comments

I imported my data like this:

The mean of my heights is:

Output: 66.49599999999998

Finally, here's my histogram:

I imported my data like this:

The mean of my heights is:

The standard deviation of my heights is:

A histogram of my height is:

I imported my data like this:

The mean of my heights is:

The standard deviation of my heights is:

A histogram of my heights is:

I imported my data like this:

The mean of my height is:

The standard deviation of my height is:

Here is my Histogram:

I imported my data like this:

The mean of my heights is:

Standard deviation:

Histogram:

I imported my data like this:

The mean of my heights is:

The standard deviation is:

My histogram:

My data set is this:

The mean of my heights is

The standard deviation of my heights is

Here is my histogram

I imported my data like this:

The mean of my height is:

The standard deviation of my height is:

Finally, here's my histogram:

My mean is

My standard deviation is

My histogram is

I Imported my data like this:

Mean code:

Standard deiviation code:

Histogram code:

I imported my data like this:

I imported my data like this:

The mean of my heights is:

The standard deviation of my heights is:

A histogram of my heights is:

I imported my data like this:

The mean of the height is:

And the standard deviation is:

Finally, here's the histogram:

I imported my data like this:

The mean of my height is:

Here is my histogram:

I imported my data like this

The mean of my height is:

Output:66.81249999999999

The standard deviation is:

Output:4.248674273324336

I imported my data like this:

import pandas as pd

df = pd.read_csv('https://www.marksmath.org/cgi-bin/random_data.csv?username=blake')

df.head()

The mean of my heights is:

df.height.mean()

output:66.711

The Standard deviation is:

df.height.std()

output:3.8964538397435846

Here is my histogram:

We had technical difficulties uploading the image

I imported my data like this:

The mean of my heights is:

The standard deviation is:

finally my histogram is:

I imported my data like this

mean height

standard deviation height

Histogram height

I imported my data like this:

Mean height

Standard deviation height

The histogram for my given data is as follows:

Here is my data set

Here is my histogram

this is my data set:

here is how i computed the mean height:

output:66.49599999999998

here is how i computed the standard deviation:

output:3.9782326922309807

this is my histogram:

histogram