• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Analysis Factor

The Analysis Factor

Statistical Consulting, Resources, and Statistics Workshops for Researchers

  • Home
  • Our Programs
    • Membership
    • Online Workshops
    • Free Webinars
    • Consulting Services
  • About
    • Our Team
    • Our Core Values
    • Our Privacy Policy
    • Employment
    • Collaborate with Us
  • Statistical Resources
  • Contact
  • Blog
  • Login

linear model

R is Not So Hard! A Tutorial, Part 2: Variable Creation

by guest contributer 5 Comments

by David Lillis, Ph.D.

In Part 1 we installed R and used it to create a variable and summarize it using a few simple commands. Today let’s re-create that variable and also create a second variable, and see what we can do with them.

As before, we take height to be a variable that describes the heights (in cm) of ten people. Type the following code to the R command line to create this variable.

height = c(176, 154, 138, 196, 132, 176, 181, 169, 150, 175)

Now let’s take weight to be a variable that describes the weights (in kg) of [Read more...] about R is Not So Hard! A Tutorial, Part 2: Variable Creation

Tagged With: linear model, lm, plot, R

Related Posts

  • R Is Not So Hard! A Tutorial, Part 5: Fitting an Exponential Model
  • Linear Models in R: Improving Our Regression Model
  • Statistical Software Access From Home
  • Member Training: What’s the Best Statistical Package for You?

Assumptions of Linear Models are about Residuals, not the Response Variable

by Karen Grace-Martin 6 Comments

Stage 2I recently received a great question in a comment about whether the assumptions of normality, constant variance, and independence in linear models are about the residuals or the response variable.

The asker had a situation where Y, the response, was not normally distributed, but the residuals were.

Quick Answer:  It’s just the residuals.

In fact, if you look at any (good) statistics textbook on linear models, you’ll see below the model, stating the assumptions: [Read more…] about Assumptions of Linear Models are about Residuals, not the Response Variable

Tagged With: Assumptions, linear model

Related Posts

  • ANCOVA Assumptions: When Slopes are Unequal
  • The Assumptions of Linear Models: Explicit and Implicit
  • Member Training: Assumptions of Linear Models
  • Why ANOVA is Really a Linear Regression, Despite the Difference in Notation

Random Intercept and Random Slope Models Webinar

by Karen Grace-Martin 1 Comment

This page is out-of-date.

Please go to the newer version of the page: Random Intercept and Random Slope Models COSA webinar.

Tagged With: linear model, mixed model, random intercept, Random Slope Model

Related Posts

  • Confusing Statistical Term #10: Mixed and Multilevel Models
  • The Difference Between Random Factors and Random Effects
  • Member Training: Generalized Linear Models
  • Specifying Fixed and Random Factors in Mixed Models

The Assumptions of Linear Models: Explicit and Implicit

by Karen Grace-Martin 3 Comments

If you’ve compared two textbooks on linear models, chances are, you’ve seen two different lists of assumptions.Stage 2

I’ve spent a lot of time trying to get to the bottom of this, and I think it comes down to a few things.

1. There are four assumptions that are explicitly stated along with the model, and some authors stop there.

2. Some authors are writing for introductory classes, and rightfully so, don’t want to confuse students with too many abstract, and sometimes untestable, [Read more…] about The Assumptions of Linear Models: Explicit and Implicit

Tagged With: GLM, linear model, regression assumptions

Related Posts

  • Assumptions of Linear Models are about Residuals, not the Response Variable
  • Continuous and Categorical Variables: The Trouble with Median Splits
  • Why ANOVA is Really a Linear Regression, Despite the Difference in Notation
  • Using Pairwise Comparisons to Help you Interpret Interactions in Linear Regression

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2

Primary Sidebar

This Month’s Statistically Speaking Live Training

  • Member Training: A Gentle Introduction to Bootstrapping

Upcoming Free Webinars

Getting Started with R
3 Overlooked Strengths of Structural Equation Modeling
4 Critical Steps in Building Linear Regression Models

Upcoming Workshops

    No Events

Copyright © 2008–2022 The Analysis Factor, LLC. All rights reserved.
877-272-8096   Contact Us

The Analysis Factor uses cookies to ensure that we give you the best experience of our website. If you continue we assume that you consent to receive cookies on all websites from The Analysis Factor.
Continue Privacy Policy
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT