## Why choose us?

We understand the dilemma that you are currently in of whether or not to place your trust on us. Allow us to show you how we can offer you the best and cheap essay writing service and essay review service.

# Data of interest

Using any data of interest to your group, compile a data set comprised of one predictor and one
response variable with at least 20 observations (data points), and answer the questions below.
Your project needs to be typed and plots can be made using any software of your choice. Only one
project (with each member�s name) per group needs to be submitted. Your project should include
all the observations used.
Provide a brief description of your project. Make sure to identify the predictor and response
variables, as well as discussing the objective of your regression model.
1. (20%) All your answers must be in the order in which the questions are asked, otherwise you will be
deducted 20%. Note: Even if only one answer is out of order you will still be deducted 20%.
2. (15%) For your predictor and response variables:
(a) compute the range and IQR.
(b) make a histogram of your data.
(c) make a boxplot of your data.
3. (25%) Make a scatterplot of your data and describe the:
(a) Direction
(b) Form
(c) Strength
(d) Correlation
(g) Outliers
4. (40%) Based on your data, construct a linear regression model of your response variable as a function
of your predictor variable following the steps below:
(a) Compute �x and �y
(b) Compute sx and sy
(c) Compute r
(d) Compute a and b
(e) Construct the respective Least Squares line and plot it over your scatter plot.
(f) Compute the respective R2 and interpret your results.
(g) For your model, compute and plot the residuals vs x. Describe what you observe from
this plot.
(h) Are there any outliers? If so, are they high leverage and/or influential.
(i) Based on your model, make 3 predictions for your response variable (i.e., use 3 different
values of x that are not in your data, and compute the respective y value

Question One

The data below was obtained from an organization that wanted to estimate the cost of leasing a building given the contract value for constructing the building. It follows that the contract value was the predictor variable while the estimated cost is the response variable.

Question Two

• compute the range and IQR.

Range

Constructed value       =380,000-80,000

=300,000

Estimated cost             = 320,000-70,000

=250,000

Quartile Range

Constructed value       = 300000- 175000

=125000

Estimated cost             = 197500- 125000

= 72500

(b) Make a histogram of your data.

(c) make a boxplot of your data.

Question Three

(a) Direction

The direction of a relationship tells whether the values on two variables go up

and down together. The nature of the plot indicates direction. If two variables have a positive direction, then as the values on one variable go up, so do the values on the other variable. The data used has a positive direction because the points of the scatter plots run from the lower left to the upper right. This implies that as the vales of the contract value go up so does the value of the estimated cost and vice versa.

(b) Form

The shape of the plot could explain the form of the scatter plot. This is because there are instances where the plot has a curved shape. In other instances, the plot could have a straight line plot. If there is a linear relationship, then the plot will appear to swarm or cloud in a generally straight and consistent form. The plot above indicates that the data points are straight and consistent. I.e. there is a linear relationship between the estimated cost and the contract value.

• Strength

The strength of the relationship between variables is determined by how close the plotted points are from one another. Closely placed points indicate a strong relationship between the variables. In this case, the points are neither close nor far from each other. Therefore, there is a moderate relationship between the variables.

• Correlation

The correlation between two variables measures the strength and direction of the relationship between the variables. The strength and direction of the variables have already been established in the previous paragraphs. Therefore, we conclude that there is a moderate positive relationship between the variables.

(g) Outliers

The extreme points in a scatter plot identify outliers. In this case, there are four outliers. The box plot has also demonstrated this.

Question Four

(a) Compute ¯x and ¯y

Mean for estimated cost is given by the sum of all the observations divided by the number of observations.

¯x        = 3,455,000/20

=172750

The mean for the contract value is given by the sum of all the observations divided by the number of observations.

¯y        =4,530,000/20

=226,500

• Compute sx and sy

The standard deviation of the variables is given by taking the square root of the sum of all the deviations from the mean and dividing by the number of observations less by one.

The standard deviation for the estimated cost is

Sd        = (107,323,750,000/19) ^1/2

= 75157.2912

The standard deviation for the contract value is

Sd        = (209,836,250,000/19) ^1/2

= 105090.4998

• Compute r

The correlation coefficient is given by the following formula.

= 0.94439147

Compute a and b

a              = -6958.173

b             = 0.793

(e) Construct the respective Least Squares line and plot it over your scatter plot.

Estimated Cost = -6958.173 + 0.793 contract value

(f) Compute the respective R2 and interpret your results.

= 0.89187525

This implies that 89 percent of the variation in expected cost is explained by the variation in the contract value.

(g) For your model, compute and plot the residuals vs. x. Describe what you observe from this plot.

The residual plot above indicates that the data has a constant and independent variance because the plots are consistent regardless of the contract value. It is also clear that the data follows a normal distribution form the normal probability plot below.

(h) Are there any outliers? If so, are they high leverage and/or influential?

There are outliers in the data but they are neither high leveraged or influential.