Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Applied Statistics Expert

Regression Exercise

Introduction

We've reached a stage in NCG602A where we can start to put some of our knowledge and R skills together in some practical form. You will need to do some searching on the Web for more detailed information about some of the R functions you will use. There will be some in class preliminary discussion of the exercise.

General approach

The object of the exercise will be to create a model which predicts the variation in educational attainment among the counties of Georgia. This will require some initial exploration of the data: useful techniques will include numerical summaries as well as visual tools (which may even include maps). Consider the spatial structure of the data too. You might find it helpful to explore the correlation structure of the data to decide which variables to put in your model. You'll need to examine the spatial structure of the residuals from the model, and comment on any patterns you observe.

Notes and suggestions

1. The data for Georgia are in the GWmodel. Use the data() function to load them and library() to load GWmodel. ls() will tell you what the data frames are called. names() will list the column headings.

2. Remember to merge the data frames before you can plot them - remember about the order of the data frames... match() will be useful.

3. hist(), summary(), boxplot() and plot() may be useful exploratory tools.

4. cor() will give you a correlation matrix, and cor.test() will carry out a test to determine whether any correlations are likely to be zero.

5. You'll need the RColorBrewer and classInt libraries when you're plotting a map {don't use spplot()}. You might need to write a function to plot maps.

6. the lm() function will fit a regression model. Use PctBach as the dependent variable, and PctEld, PctFB, PctPov and PctBlack as possible predictors.

7. Examine the unadjusted r-squared - start with one independent variable, and create several models with additional variables. What happens to the r-squared when you add a new variable? AIC() might be useful here too.

8. Interpret the coefficient estimates - which ones are significant in the model?

9. Do the residuals exhibit significant spatial autocorrelation? Useful to map the residuals? What do the residuals tell us? In which counties are the predictions worst (standardised residuals might be useful here) - and why might this be? You'll find the county names in the spatial polygons data frame. I found Wikipedia quite helpful as a start.

Applied Statistics, Statistics

  • Category:- Applied Statistics
  • Reference No.:- M92266635
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Applied Statistics

Question - go to the website national quality forum nqf

Question - Go to the website, National Quality Forum (NQF), located in the Webliography, and download the article by WIRED FOR QUALITY: The Intersection of Health IT and Healthcare Quality, Number 8, MARCH 2008. You are ...

Applied statistics - regression assignmentin this

Applied Statistics - Regression Assignment In this assignment you are expected to set up a regression equation, run that regression and interpret and evaluate the results. You will need to carefully state all null hypoth ...

Business analytics and statistics research report -this

Business Analytics and Statistics Research Report - This assignment is based on fictional data. You are creating a business report for the CEO of a retail company called, Athlete Panda. It must be professional in present ...

Analysis - comparing group means background and objectives

Analysis - Comparing group means Background and objectives - The balance_FALL17.xlsx dataset represents data from a fictitious study that explores the impact of two different interventions designed to help elderly client ...

Construct a regression model for predicting total charges

Construct a regression model for predicting total charges from length of stay for DRG 105. a. State the null and alternative hypotheses and alpha level. b. Prepare a scatter diagram with the regression line for the two v ...

A company produces labeled packaging material and the

A company produces labeled packaging material and the company intends to buy a new machine for shaping and labeling. The company has been approached by two different companies and the production manager did a test on the ...

Business statistics project assignment -there will be two

BUSINESS STATISTICS PROJECT ASSIGNMENT - There will be two parts to this assignment: Part A: Group Work (A Business Report) Part B: Individual Reflective Piece (A Ministerial Brief) The response to Part A must be provide ...

You are expected to work in groups and write a research

You are expected to work in groups and write a research report. When you work on your report, you need to use the dataset, and other sources such as journal articles. If you use website material, please pay attention to ...

Using minitab statistics to calculate the various

Using Minitab Statistics to calculate the various T-Tests The steps required for completing the deliverables for this assignment (screen shots that correspond to these instructions can be found immediately following them ...

What are the uses of the chi-square test in terms of data

What are the uses of the chi-square test in terms of data analysis for quality, safety, and patient safety? Provide two specific examples of when a HIM professional would use chi-square and why.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As