Question
Instructions for submission In this assignment, we consider data collected from the donor database of Blood Transfusion Service Center in Hsin-Chu City in Taiwan. The
Instructions for submission
In this assignment, we consider data collected from the donor database of Blood Transfusion Service Center in Hsin-Chu City in Taiwan. The center passes their blood transfusion service bus to one university in Hsin-Chu City to gather blood donated about every three months. The current assignment involves data collected on a random sample of 748 donors. The data was obtained from the UCI Machine Learning Repository. This data was assembled by Prof. I-Cheng Yeh.
The file "transfusion.csv" contains the data. The file can be downloaded from MATH 1281 Data Files in the course page for MATH 1281. The file contains 5 variables:
- recency = The number of months since the last donation. (numeric)
- frequency = The total number of donations. (numeric)
- monetary = Total blood donated (in c.c.). (numeric)
- time = The number of months since the first donation. (numeric)
- march2007 = An indicator. Indicates those that donated blood in March, 2007. (factor)
In this assignment, we consider the variables frequency and monetary.
Descriptive Statistics
Save the data set in your computer and read it into R. Compute the mean, median, the interquartile range, the standard deviation of the variable frequency and plot it's histogram. In Tasks 1-3 you are asked to describe the distribution of this variable on the basis of the computations and the plot.
Estimating Parameters
In Tasks 4-6 you are asked to estimate the expectation and standard deviation of the variable frequency. An estimator is used to estimate the expectation. This estimator has a standard deviation. You are required to estimate this standard error, which is the standard deviation of the estimator. You are required to describe which estimator was used for each estimation task.
Estimating the MSE
Consider the variable monetary. We assume that the distribution of this variable is Exponential() and are interested in the estimation of the parameter . The proposed estimator is 1/X, where X is the sample average. In Tasks 7-8 you are required to estimate the value of the parameter and estimate the mean square error (MSE) of the estimator.
You may apply a method called The Bootstrap in order to estimate the MSE. The bootstrap method initiates by estimating the parameter . It proceeds with a simulation to compute the MSE, with equal to the value estimated from the provided data.
Submitting the Assignment
For the assignment, you should complete the following 8 tasks. Tasks 1-3 refer to the descriptive statistics problem presented above, Tasks 4-6 refer to the problem of estimating parameters and Tasks 7-8 refer to the task of estimating the parameter of an Exponential distribution and estimating the MSE of the estimators. Your answers should be short and clear. We recommend that you copy and paste the tasks below into the form titled "Submit your Assignment using this Form". You can then write you answers to the tasks in the designated positions that are marked in the text:
Tasks
Descriptive Statistics:
1. The distribution of the variable "frequency" is:
__ Skewed to the left, __ Symmetric, __ Skewed to the right.
Mark the most appropriate option and explain your selection
2. The number of outlier observations in the variable "frequency" is: _____.
Explain each step in the computation of the number of outlier observations
3. Which of the following theoretical models is most appropriate to describe the distribution of the variable "frequency"?
__ Binomial, __ Poisson, __ Uniform, __ Exponential, __ Normal.
Mark the most appropriate option and explain your selection
Estimating Parameters:
4. The estimated value of the expectation of the measurement "frequency" is:_____.
Explain your answer
5. The estimated value of the standard deviation of the measurement "frequency" is:_____.
Explain your answer
6. The estimated value of the standard deviation of the estimator that produced the estimate in 4. is:_____.
Explain your answer
Estimating the MSE:
7. The estimated value of for the variable "monetary" is:____.
Attach the R code for conducting the computation
8. The estimated value of the MSE of the estimator of is:____.
Attach the R code for conducting the computation
Data:
Transfusion.csv (accessible here: https://drive.google.com/drive/folders/1wDa83H9HLbfVPRUwWqOKkLahe94XpFf7?usp=sharing)
Thanks!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started