Next Upcoming Google+ Hangout: Tuesday, August 27 @ 7PM (CST) - To Participate CLICK HERE

Help Me, Help You...
This form does not yet contain any fields.
    « Confusing Stats Terms Explained: Internal Consistency | Main | Confusing Stats Terms Explained: Heteroscedasticity (Heteroskedasticity) »
    Monday
    Apr292013

    R Is Not So Hard! A Tutorial, Part 4 (repost)

    The following is not a Stats Make Me Cry original, but rather something I came across and found very useful. The article demonstrates how to examine non-linear effects (e.g. quadratic effects) using a regression model in R. If you are interested in the topic, please read the preview and follow the link that follows to the original site.



    Part 3 we used the lm() command to perform least squares regressions. In Part 4 we will look at more advanced aspects of regression models and see what R has to offer. One way of checking for non-linearity in your data is to fit a polynomial model and check whether the polynomial model fits the data better than a linear model. Or you may wish to fit a quadratic or higher model because you have reason to believe that the relationship between the variables is inherently polynomial in nature.

    Let’s see how to fit a quadratic model in R...
    Read the rest of R Is Not So Hard! A Tutorial, Part 4 here…

    Editorial Note: Stats Make Me Cry is owned and operated by Jeremy J. Taylor. The site offers many free statistical resources (e.g. a blog, SPSS video tutorials, R video tutorials, and a discussion forum), as well as fee-based statistical consulting and dissertation consulting services to individuals from a variety of disciplines all over the world.

    PrintView Printer Friendly Version

    EmailEmail Article to Friend

    Reader Comments (1)

    this blog is really useful and interesting and i got more information from the blog it is really enhancing.

    May 18, 2016 | Unregistered Commentershalini

    PostPost a New Comment

    Enter your information below to add a new comment.
    Author Email (optional):
    Author URL (optional):
    Post:
     
    Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>