Input Output Testing for regressionInput:advertising=c(1,2,3,4,5) sales=c(1,1,2,2,4)sales.Reg=lm(sales~advertising) summary(sales.Reg)Output:> advertising=c(1,2,3,4,5)> sales=c(1,1,2,2,4)>> sales.Reg=lm(sales~advertising)> summary...

R news and tutorials contributed by (552) R bloggers

When conducting any statistical analysis it is important to evaluate how well the model fits the data and that the data meet the assumptions of the model. There are numerous ways to do this and a variety of statistical tests to evaluate deviations from model assumptions. However, there is little general acceptance of any of the statistical tests. Generally...

John Fox will be teaching a two-day introductory R workshop at McMaster University in Hamilton, Ontario, on May 24 and 25. The workshop will largely be based on materials from Fox and Weisberg, An R Companion to Applied Regression, Second Edition (Sage, 2011). Further information about the workshop is available at: https://www.socialsciences.mcmaster.ca/registrations/john-fox-introduction-to-r/fg_base_view_p3. A few spaces in the workshop are reserved for non-McMaster attendees and made...