Can anyone tell me which test are we using for the below command. a1<-sum(resid(results1)^2) a2<-sum(resid(results2)^2)...
View the step-by-step solution to:

Question

Can anyone tell me which test are we using for the below

command.

a1<-sum(resid(results1)^2)

a2<-sum(resid(results2)^2)

TEST<-(a2-a1)/(a1/df.residual(results1))

TEST

pf(TEST,1,df.residual(results1),lower.tail=FALSE)

Here, a1 is the sum of the regression for regression result 1 and a2 for the regression result 2.

Command is using R.

Top Answer

In this case we are using a F test to check the significant difference between the two models. However from the look of it,... View the full answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question