Write a paper using and evaluating statistical models to test scientific hypotheses.

Words: 224
Pages: 1
Subject: Uncategorized

Loading the data you will need
The data you will be using for this assignment is a csv file, that you can download with the link below:
Download mammal Basal metabolic rate data
The data set consists of a series of measurements of body size (in units of grams) and BMR (measured in units of mL of O2 per hour) for 48 species of mammals from the order Carnivora, as well as the average body temperature (in units of degrees C) and the scientific name and family of each species. The data was taken as a subset from the paper “Mammalian Basal Metabolic Rate Is Proportional to Body Mass2/3” (White and Seymour 2003). The authors of that paper wanted to evaluate the relationship between BMR and body size across all mammals, but we will just focus on the Carnivora taxa, as all members of the order are active carnivores (and therefore we can expect them to have similar activity patterns).
You should save the data for this assignment in a new Rstudio project. Make sure to create a new R script for this assignment that documents each of the steps you do, with comments. You should submit your script with the final assignment.
Once that package is loaded, you can load and view the data we will use for this assignment by running:
bmr_mass_data <- read.csv("assignment3-bodymass-bmr.csv") head(bmr_mass_data) View(bmr_mass_data) You should also create two new variables in the data frame, the log10-transformed versions of body mass and Basal Metabolic Rate: bmr_mass_data$mass_log10 <- log10(bmr_mass_data$mass_g) bmr_mass_data$BMR_log10 <- log10(bmr_mass_data$BMR_mlO2hour) The function log10 returns a vector of the log (base 10) transformation of the input vector. Assignment instructions General notes on assignment: Hand in your assignment as a pdf via Moodle. Your assignment should include written responses to all of the assignment answers, as well as any figures or tables necessary to explain your results. All figures and tables should be accompanied by figure captions; the standard rule is that a figure caption should be able to fully explain what a figure is showing without the reader having to refer to the rest of the text. If you are unsure of what a caption should look like, read https://www.internationalscienceediting.com/how-to-write-a-figure-caption/. You should also submit an R script (saved as a text file with the .R extension) capable of recreating all of the results you mentioned in your report, including comments on what different parts of the code are written to accomplish. Your assignment should also include references to any scientific papers cited, including the papers I’ve asked you to discuss in the assignment, and any references you find outside of these papers. Remember, part of academic honesty is citing where you get specific ideas from. The Concordia library has a good guide on how to cite papers: library.concordia.ca/learn/citing/getting-it-right/. Make sure to use the APA citation format. This assignment is designed to have you work through the basic steps of a statistical analysis: data description, visualization, modelling and assumption checking, reporting findings, and using those findings to evaluate scientific hypotheses. Step 1: Describing data collection The data set you will be using in this assignment is a subset of the data used in the paper White and Seymour (2003). A pdf of this paper is included in the assignment folder.In your own words, briefly summarize the method the authors used to collect the data on body mass and BMI, including any criteria they used for including or excluding specific data. Make sure to include a reference to the paper, using the APA citation format. You do not need to summarize the rest of the methods in the paper, only the methods the authors used for collecting the data. Note that the phrase “from the literature” means the authors looked for the values in already-published papers. Step 2: visualizing the data Create scatter plots of Basal metabolic rate (BMR) vs. body mass (mass_g), and a second scatterplot of the log-transformed versions of both variables (BMR_log10 and mass_log10). Make sure to label axes appropriately with units and include figure captions. Remember that the log-transformed versions of the two variables are unitless. Step 3: model fitting and evaluating model assumptions Fit a linear regression of log-transformed basal metabolic rate on log-transformed biomass: BMR_slope_model <- lm(BMR_log10 ~ 1 + mass_log10, data = bmr_mass_data) Illustrate this linear model by adding the estimated regression line to the scatterplot of the data. Using the residuals from this model and what you know about regression model assumptions, answer the following questions: A. What assumptions are we making when using the BMR_slope_model to predict average carnivore basal metabolic rates at a given mass? B. Plot a graph of model residuals versus fitted values from the model, and a qq-plot of model residuals. Based on evidence from these plots, explain whether the assumption of linearity, equal variance, and normally distributed residuals are reasonable for this model (see tutorial 11 for how to create these plots). Step 4: using statistical results to evaluate scientific hypotheses Using the linear model from step 3, answer the following questions: A. Report the sample size, the degrees of freedom, residual standard error, and multiple R-squared value from the fitted model. Briefly explain what the residual standard error and R-squared values tells you about the effectiveness of the fitted model at predicting BMR in carnivora. B. Report the estimated slope and intercept of the regression line and the 95% and 99% confidence intervals for these two parameters. You should report the estimate, standard error, and degrees of freedom used to calculate these intervals. Make sure to round appropriately, using the standard errors of the coefficients as a guide. Step 5: use statistical results to make scientific inferences Explain whether the results from your model are consistent with any of the three theoretical predictions, based on the two confidence intervals. The predicted slopes for the three models are: Model Slope Constant-scaling 1 Surface-area dependent 2/3 (or 0.666666) Circulation dependent 3/4 (or 0.75) You should explain this with appropriate language (e.g. “the observed data was consistent with model X at the 95% confidence level, because the slope predicted by model X falls within the 95% confidence level for the fitted regression model”). Note which of the three models (if any) would be rejected at the α=0.05 and α=0.01 level, and which of the predictions of the three models is closest to the estimated slope from the model. Are the results you found from this data consistent with what White and Seymour (2003) found using data from all orders of mammals?

Let Us write for you! We offer custom paper writing services Order Now.

REVIEWS


Criminology Order #: 564575

“ This is exactly what I needed . Thank you so much.”

Joanna David.


Communications and Media Order #: 564566
"Great job, completed quicker than expected. Thank you very much!"

Peggy Smith.

Art Order #: 563708
Thanks a million to the great team.

Harrison James.


"Very efficient definitely recommend this site for help getting your assignments to help"

Hannah Seven