Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Biostatistics Exam: Solutions for Four Practical Exercises, Ejercicios de Ingeniería Infórmatica

The solutions for four practical exercises in biostatistics, covering topics such as data transformation, correlation analysis, regression analysis, and statistical inference. Students are expected to apply r code and comments to answer the questions and submit the script to the virtual campus.

Tipo: Ejercicios

2017/2018

Subido el 10/04/2018

blanca-aguila-1
blanca-aguila-1 🇪🇸

1 documento

1 / 2

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Biostatistics Practical Exam
13/03/2018
Write the answers to all questions (R code + your comments) in an R script called
Exam_####.R
(replace #### for your name and surname) and submit it to the virtual campus.
Exercise 1 (10 pts)
To investigate the effects of habitat fragmentation, researchers related the abundance of forest birds to a
range of variables (including patch area, number of years of isolation, distance to the nearest patch and
larger patch, grazing intensity and altitude) collected from a total of 56 forest patches. Data are reported in
“loyn.csv”.
1- AREA, DIST and LDIST variables are non-normal, apply a log10 transformation on these variables. (2
pts)
2- Apply pairwise correlations for the variables ALT, GRAZE and YR.ISOL. State the result of your analysis.
(3 pts)
3- Apply a single analysis to study the abundance of forest birds en function of all explanatory variables.
State the result of your analysis. (5 pts)
Exercise 2 (10 pts)
Researchers investigated the density of adult limpets (6, 12 and 24 individuals per enclosure) during two
seasons (winter-spring and summer-autumn) so as to investigate their effects on egg mass production. Three
replicate enclosures per density/season combination were used. Data are reported in “quinn.txt”.
1- Analyse the whole data set and report the result. (5 pts)
2- Report the interaction plot. Explain the result. (2 pts)
3- Perform the pairwise comparison test when appropriate and report the result. (3 pts)
Exercise 3 (10 pts)
Two analysts, A and B each prepared five replicate samples to measure the pH of a specific sample of soil.
Results are the following:
A B
8.208 8.389
8.239 8.393
8.258 8.399
8.264 8.413
8.283 8.423
1- First create a dataframe of the data within R. (1 pts)
2- Report the mean and the variance for A and B. (1 pts)
1
pf2

Vista previa parcial del texto

¡Descarga Biostatistics Exam: Solutions for Four Practical Exercises y más Ejercicios en PDF de Ingeniería Infórmatica solo en Docsity!

Biostatistics Practical Exam

Write the answers to all questions (R code + your comments) in an R script called Exam_####.R (replace #### for your name and surname) and submit it to the virtual campus.

Exercise 1 (10 pts)

To investigate the effects of habitat fragmentation, researchers related the abundance of forest birds to a range of variables (including patch area, number of years of isolation, distance to the nearest patch and larger patch, grazing intensity and altitude) collected from a total of 56 forest patches. Data are reported in “loyn.csv”. 1- AREA, DIST and LDIST variables are non-normal, apply a log10 transformation on these variables. ( pts) 2- Apply pairwise correlations for the variables ALT, GRAZE and YR.ISOL. State the result of your analysis. (3 pts)

3- Apply a single analysis to study the abundance of forest birds en function of all explanatory variables. State the result of your analysis. (5 pts)

Exercise 2 (10 pts)

Researchers investigated the density of adult limpets (6, 12 and 24 individuals per enclosure) during two seasons (winter-spring and summer-autumn) so as to investigate their effects on egg mass production. Three replicate enclosures per density/season combination were used. Data are reported in “quinn.txt”. 1- Analyse the whole data set and report the result. (5 pts) 2- Report the interaction plot. Explain the result. (2 pts) 3- Perform the pairwise comparison test when appropriate and report the result. (3 pts)

Exercise 3 (10 pts)

Two analysts, A and B each prepared five replicate samples to measure the pH of a specific sample of soil. Results are the following:

A B

1- First create a dataframe of the data within R. (1 pts) 2- Report the mean and the variance for A and B. (1 pts)

3- Report a boxplot of pH measure en function of both analysts. (1 pts)

4- Perform the appropriate statistical analysis to test if the two groups have different means. (2 pts)

5- Apply a randomization test to explore if the two groups have different means (5 pts). Calculate the new p-value.

Exercise 4 (10 pts)

1- Create a random normal distribution with a known mean and variance (you set the values). Sample from your fictitious population 1000 samples of size = 10 and plot the sampling distribution of the variance. ( pts).

2- Calculate the mean of your 1000 sample variances. (2 pts)