Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability 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.

10. Write up your results with appropriate maps, and submit them to Moodle for NCG602A.

11. I have no problems with you working as a team, as long as the write ups are individual.

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M92044349
  • Price:- $100

Guranteed 48 Hours Delivery, In Price:- $100

Have any Question?


Related Questions in Statistics and Probability

Breeding records reveal that 1 out of every 8 puppies of a

Breeding records reveal that 1 out of every 8 puppies of a certain Welsh Corgi female are runts. Since these puppies can't be sold for full price, we wish to examine the frequency with which this condition is likely to o ...

According to a pew research center poll 22 of adult

According to a Pew Research Center poll, 22% of adult Americans have contributed to an online fundraising project. A random sample of 100 adults is selected. Let the random variable X be the number of adult Americans who ...

A corporate bond is currently selling for 840 it has 5

A corporate bond is currently selling for $840. It has 5 years till maturity, 6% coupon, and YTM=10%. What is the par value?

You have just leased a car that has monthly payments of 365

You have just leased a car that has monthly payments of $365 for the next 4 years with the first payment due today. If the APR is 6.84 percent compounded monthly, what is the value of the payments today?

List three ways organizations provide context for their

List three ways organizations provide context for their financial ratios, in other words what is the basis of on which they compare their results?

Are there more children diagnosed with autism spectrum

Are there more children diagnosed with Autism Spectrum Disorder (ASD) in states that have larger urban areas over states that are mostly rural? In the state of Pennsylvania, a fairly urban state, there are 245 eight year ...

An independent-measures study has one sample with n 10 and

An independent-measures study has one sample with n = 10 and a second sample with n = 15 to compare two experimental treatments. What is the df value for the t statistic for this study?

Homework -the linear probability model who smokes and who

HOMEWORK - The Linear Probability Model: Who smokes and who doesn't? The EXCEL file firm-smoke_homework9 contains data from a survey on smoking behavior among employees in a large firm. Use the data provided, read the ac ...

A factory manager must decide whether to stock a particular

A factory manager must decide whether to stock a particular spare part. The part is absolutely essential to the operation of certain machines in the plant. Stocking the part costs $10 per day in storage and cost of capit ...

You are lost on the mythy island in the summer when

You are lost on the Mythy Island in the summer, when tourists are two-thirds of the population. If you ask a tourist for direction the answer is correct with probability ¾; answers to repeated questions are independent e ...

  • 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