Chat with us, powered by LiveChat Instruction:All calculations must be performed with R using the comma separated | Writedemy

Instruction:All calculations must be performed with R using the comma separated

Instruction:All calculations must be performed with R using the comma separated

Instruction:
All calculations must be performed with R using the comma separated files provided on Canvas. For each question, I want the R output table included in the pdf-file using Courier New as the font. Use Arial or Times New Roman for the write-up. I would like you to turn in one(!) R script file that, when executed, loads the data from the .csv files and produces all the output. You should also upload one(!) pdf document that answers the questions below (e.g., interpretation of the results, etc.). Besides just estimating the models, also say something about the marginal effects (i.e., how a change in the independent variable changes the dependent variable).
Question 1: Grade Point Average (gpa.csv) (10 Points) Consider the equation
colgpa=ß0 +ß1 •hsize+ß2 •hsize2 +ß3 •hsperc+ß4 •sat+ß5 • female+ß6 •athlete+e
where colgpa is cumulative college grade point average, hsize is size of high school graduating class (in hundreds), hsperc is academic percentile in graduating class, sat is combined SAT score, f emale is a binary gender variable, and athlete is a binary variable, which is one for student-athletes.
1. What are your expectations for the coefficients in this equation? Which ones are you unsure about?
2. Estimate the equation in part (1) and report the results in the usual form. What is the estimated GPA
differential between athletes and non-athletes? Is it statistically significant?
3. Drop sat from the model and re-estimate the equation. Now, what is the estimated effect of being an
athlete? Discuss why the estimate is different than that obtained in part (2).
4. In the model from part (1), allow the effect of being an athlete to differ by gender and test the null
hypothesis that there is no difference between women athletes and women non-athletes.
5. In the model from part (1), does the effect of sat on colgpa differ by gender? Justify your answer.
6. Make sure to test for heteroscedasticity in all your models.
1
Question 2: Housing Prices (housing.csv) (10 points)
This data set contains observations on housing selling prices. In your regression model, let y be the selling price of home in $1000 (price), x1 represents the size of the home (sqr f t), x2 are the number of bedrooms (bdrms), and x3 is the lot size in square feet (lotsize).
1. Construct a scatterplot matrix. You will need to use the function pairs for this. Interpret what the resulting scatterplot matrix shows.
2. Run the regression model in R. Write down the prediction equation, and interpret the coefficient of size of home by

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order