lm

Visualization in regression analysis

February 23, 2012 | arthur charpentier

Visualization is a key to success in regression analysis. This is one of the (many) reasons I am also suspicious when I read an article with a quantitative (econometric) analysis without any graph. Consider for instance the following dataset, obtai... [Read more...]

Linear regression models with robust parameter estimation

May 15, 2010 | Ralph

There are situations in regression modelling where robust methods could be considered to handle unusual observations that do not follow the general trend of the data set. There are various packages in R that provide robust statistical methods which are summarised on the CRAN Robust Task View. As an example ... [Read more...]

Manual variable selection using the dropterm function

May 12, 2010 | Ralph

When fitting a multiple linear regression model to data a natural question is whether a model can be simplified by excluding variables from the model. There are automatic procedures for undertaking these tests but some people prefer to follow a more manual approach to variable selection rather than pressing a ...
[Read more...]

Using the update function during variable selection

May 9, 2010 | Ralph

When fitting statistical models to data where there are multiple variables we are often interested in adding or removing terms from our model and in cases where there are a large number of terms it can be quicker to use the update function to start with a formula from a ... [Read more...]

Analysis of Covariance – Extending Simple Linear Regression

April 28, 2010 | Ralph

The simple linear regression model considers the relationship between two variables and in many cases more information will be available that can be used to extend the model. For example, there might be a categorical variable (sometimes known as a covariate) that can be used to divide the data set ...
[Read more...]

Simple Linear Regression

April 23, 2010 | Ralph

One of the most frequent used techniques in statistics is linear regression where we investigate the potential relationship between a variable of interest (often called the response variable but there are many other names in use) and a set of one of more variables (known as the independent variables or ...
[Read more...]

One-way ANOVA (cont.)

February 12, 2010 | Ralph

In a previous post we considered using R to fit one-way ANOVA models to data. In this post we consider a few additional ways that we can look at the analysis. In the analysis we made use of the linear model function lm and the analysis could be conducted using ...
[Read more...]

One-way Analysis of Variance (ANOVA)

February 3, 2010 | Ralph

Analysis of Variance (ANOVA) is a commonly used statistical technique for investigating data by comparing the means of subsets of the data. The base case is the one-way ANOVA which is an extension of two-sample t test for independent groups covering situations where there are more than two groups being ...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)