Skip to content

Econ304 LM test1

Econ 751304
Date: 17/01/2014
Time: 09:30-11:00

Test

Conduct the following tasks and post R code and report in your WordPress blog named “17 Jan test on Linear Model”

1. Use “attitude” dataset which is in the datasets package
http://stat.ethz.ch/R-manual/R-devel/library/datasets/html/attitude.html

2. Conduct a descriptive analysis of all variables and write a descriptive report
3. Produce boxplots and histogram of all variables and identify if each one is positive or negative skew
4. Set hypotheses (H0 and H1) to compare means of two pairs of variable. And Conduct a t-test to statistically test if they are different. And write a report.
5. Develop a regression model to predict “rating”. Try to add one by one independent variable. And use anova(model1, model2) to check if you can statistically improve the model. Then write a report.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: