The file fev.xlsx contains a sample of 654 youths, aged 3 to 19, in the area of East Boston during the middle to late 1970's. In this problem the measured outcome of interest is forced expiratory...

The file fev.xlsx contains a sample of 654 youths, aged 3 to 19, in the area of East Boston during the middle to late 1970's. In this problem the measured outcome of interest is forced expiratory volume (FEV), which is, essentially, the amount of air an individual can exhale in the first second of a forceful breath. This data was obtained with the intent of investigating the relationship between subjects FEV and their current smoking status.Source: Rosner, B. (1999), Fundamentals of Biostatistics, 5th ed., Pacific Grove, CA: Duxbury.
Data presented are Age(Years), FEV(Liters), Height(Inches), and Cigarette Smoking Status (0=does not smoke, 1=smokes)
1.Calculate mean, median, and standard deviation of FEV values for Smokers and Nonsmokers. Include this information in a table as if it were going into a report. There should be 6 calculated values in the table. Note: You do not need to format the table in MATLAB, you may simply insert the values into a table created in Word.2.Re-calculate the mean, median, and standard deviation of FEV values for smokers and nonsmokers but include only subjects ages 11 and older. Include these values in a new table. Explain any differences you see between the statistics in part 1 and 2.Hint: Research “Matrix Indexing” and “Logical Indexing” to extract certain elements from a matrix3.Create the following figures:a.Figure 1: Include two boxplots of FEV: one for Nonsmokers and one for Smokers. Do not use the subplot function. Plot both boxplots on a single figure. Comment on your initial thoughts regarding the data after viewing this plot.Note: You will need to figure out how to boxplot two vectors of unequal lengths to create this figure.
b.Figure 2: Include two boxplots of FEV as in figure 1, but only include data for subjects ages 11 and over. Do not use the subplot function. Plot both boxplots on a single figure. Propose a hypothesis to explain any differences you see between figures 1 and 2.
c.Figure 3: Create a histogram of all FEV datad.Figure 4: Subplot two histograms: One for smoker FEV data, one for non-smoker FEV data.
Sep 18, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here