Fit a linear model with Distance as a numeric response

Assignment Help Applied Statistics
Reference no: EM131973102

Applied Linear Models Assignment -

EXERCISE 1: Analysis of Paper Planes Data

Ever made a paper plane? Generally the aim is to make one that travels as far as possible. Two Australian students conducted an experiment to find the best strategy for making planes stay airborne for as long as possible. They decided to test whether different types of paper and different angles of release would have any effect on the distance travelled. To eliminate the effect of wind to some degree the experiment took place in a long hallway where all doors had been closed.

One student folded and threw all planes, while the second student measured all the distances, checked that the angles of flight were right, and checked that the plane release was the same each time. The second student also calculated the order in which the trials were carried out using the random number function of a calculator.

You can read these data from the file planes.txt into R, and store them as a data frame plane.

The variables that appear in the data frame are as follows:

Distance - Distance travelled in mm

Paper - A4 paper weighing either 80gms = 1, or 50gms = 2

Angle - Horizontal = 1, 45 degrees upward = 2

Design - High-performance Dual Glider = 1, Incredibly Simple Glider = 2

(a) Is this a balanced experimental design?

(b) What type of format are each of the variables stored as? You can use str() to find out. We would like all variables apart from Distance (which is meant to be numeric) to be treated as factors. Alter the format if necessary.

(c) Fit a linear model with Distance as a numeric response, including Paper, Angle and Design as factors, and the Paper: Design factor interaction. Write down the R code that you use and the ANOVA table for your fitted model.

(d) Interpret the ANOVA output. Specifically, indicate whether Distance depends on Paper and Design, and whether the effect of Paper depends on the level of Design.

(e) For the fitted model, write down the fitted value for a plane made of 50gms paper, thrown at 45 degrees upwards and designed as a high-performance dual glider.

(f) What combination of Paper and Design should be used in order to maximize the distance the plane travels?

EXERCISE 2: Analysis of CEO data

The data set ceo2012.csv contains information on Chief Executive Officer (CEO) compensation payments, share ownership and age for the year 2012 in relation to their corresponding company performances as approximated by efficiency levels.

The data includes the following five variables:

Company - Name of company headed by CEO

Salary - Salary in US dollars

Age - Age in years

Gender - Gender, M (male) and F (female)

Efficiency - Proxy measure of company's performance

Note: Please provide the R code used in your answers.

We consider two regression models. We define M0 by E[Efficiency] = β0 + β1Age + β2Gender

and model M1 by E[Efficiency] =  β0 + β1Age + β2Gender + β3Salary.

(a) Using an appropriate plot of the data, comment on any issues you foresee with a regression analysis.

(b) Fit M0 to the dataset and report the effect of a CEO's salary and age on the corresponding company's efficiency.

(c) Fit M1 to the data and report if the effect of age in this model is significant.

(d) Test if the improvement in goodness of fit of M1 over M0 is worth the 'cost'. Write down the hypotheses, the p-value and your conclusion.

(e) Use a stepwise variable selection algorithm to find a linear regression model for the data set. Write down the final model.

EXERCISE 3: Analysis of American companies data

The data stored in companies1985.csv contains information on various performance indicators of 47 American companies from the year 1985.

The data includes the following variables:

Variable - Description

Company - Name of company

Sales - Sales revenue in US millions

Market.Value - Company's worth in terms of market capitalisation in US millions

Profits - Company's profit in US millions

Cash.Flow - Company's operating cash flow minus capital expenditures in US thousands

Sector - Sector company operates within.

Fortune500 - Indicates whether company was on Fortune500 list (yes=1, no=0)

Aims of Analysis: Find a suitable a linear model for predicting Profits in terms of the other variables.

What to Hand In:

For this exercise you should hand in a mini-report no longer than a single side of A4 paper (excluding any relevant Figures, Tables or computer output, which can be attached as an appendix). You will be marked down for exceeding this page limit. The aim of the mini-report is to convey the aims, methodology and results of your data analysis in a concise, readable fashion. It is strongly recommended that you structure your report into sections, Introduction, Methodology, Results and Discussion.

(a) Introduction: Summarise the data and the aims of the analysis.

(b) Methodology: Describe the statistical methods that you use (technical de-tails not required). They should be appropriate considering the data used.

(c) Results: Describe the results of your analysis and their correct interpretations.

(d) Discussion: Draw conclusions (based on your results) as necessary. Discuss any interesting issues arising from your analysis.

(e) Exposition Your mini-report should be well organized. You should aim to write in a concise, yet readable, manner.

Attachment:- Assignment Files.rar

Reference no: EM131973102

Questions Cloud

Potential consequences can be for an entrepreneur : What do you think some of the potential consequences can be for an entrepreneur if they don't understand from the outset the amount.
What is required rate of return : What stock price is expected 1 year from now? What is the required rate of return?
What are the political -socio-cultural and economic factors : What are the political, socio-cultural and economic factors that shaped the problem/issue? 2. How has this issue affected women, men and other sectors
Identify and properly paraphrase specific data : Identify and properly paraphrase specific data from a peer reviewed study that elucidates understanding of the organizational problem you are investigating.
Fit a linear model with Distance as a numeric response : 161.221: Applied Linear Models Assignment - Fit a linear model with Distance as a numeric response, including Paper, Angle and Design as factors
Present values of the two payment patterns are equal : At a certain interest rate the present values of the following two payment patterns are equal: (i) $300 at the end of 4 years plus $200 at the end of 10 years.
Ethical aspects of both union and management behavior : Include in your paper content that demonstrates a clear understanding of the ethical aspects of both union and management behavior.
Customs in international company expansion : What is the importance of handling each different culture with care and respecting their customs in international company expansion?
Coupon bond-what is the bond yield to maturity : The bond is currently selling for $908.31 and has a 2 year maturity. What is the bond's yield to maturity (YTM)?

Reviews

len1973102

5/7/2018 2:05:53 AM

GENERAL INFORMATION: This assignment carries weight 15% towards your final mark. DEADLINE: Your work for this assignment must be submitted via Stream by 11:50pm on Friday 18th. DATA SETS: Data sets for this assignment can be downloaded from the course Stream site, or read directly into R over the internet using the commands given.

Write a Review

Applied Statistics Questions & Answers

  Create a research question using the general social survey

Create a research question using the General Social Survey dataset that can be answered by multiple regression - Why did the authors use multiple regression?

  Define the hypothesis and find the standard error

Define the hypothesis and find the standard error of the difference in the means also find the test statistic - Determine the required sample size to be able to use a 99% confidence interval.

  Explain each sampling technique

Explain each sampling technique discussed in the "Visual Learner: Statistics" in your own words, and give examples of when each technique would be appropriate.

  Independently two numbers at random

Suppose we choose independently two numbers at random from the interval [0, 1] with uniform probability density. What is the density of their sum?Let X and Y be random variables describing our choices and Z = X + Y

  Suppose that x1 and x2 denote a random sample of size

Suppose that X1 and X2 denote a random sample of size 2 from a gamma distribution, i.e., Xi ∼ Gamma(2, 1/2) and X1 and X2 are independent.(a) Find the pdf of Y =sqrt(X1 +X2 ) (b) Find the pdf of W = X1/X2

  Participants select three numbers between 0 and 9

For the daily lottery game in Illinois, participants select three numbers between 0 and 9. A number cannot be selected more than once, so a winning ticket could be, say, 307 but not 337. Purchasing one ticket allows you to select one set of num..

  Construct the largest possible contingency table

Construct the largest possible contingency table using the categorical variables. Is this a useful table? Why or why not

  Calculate daily return and test its stationarity

Question 1: Stationarity and normality test - Calculate daily return (either type) and test its stationarity and normality

  Explain when a z-test would be appropriate over a t-test

Explain when a z-test would be appropriate over a t-test. How would you characterize the magnitude of the obtained R2 value?

  Discussion - correlation revelation

There is a strong relationship between the amount of money people spend and the amount - which a relationship exists in which people tend

  Describe how the increase in the confidence level

One can calculate the 95% confidence interval for the mean with the population standard deviation known. This will give us an upper and a lower confidence limit. What happens if we decide to calculate the 99% confidence interval? Describe how the inc..

  Give the state transition probability matrix

Give the state transition probability matrix

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd