361 search results for "ANOVA"

Repeated Measures ANOVA using R

March 9, 2009
By
Repeated Measures ANOVA using R

While so-called “between-subjects” ANOVA is absolutely straightforward in R, performing repeated measures (within-subjects) ANOVA is not so obvious. I have come across at least three different ways of performing repeated measures ANOVA in R. Which method you use depends on … Continue reading →

Read more »

Analysis of Variance (ANOVA) using R

February 5, 2009
By
Analysis of Variance (ANOVA) using R

I found some useful websites showing examples of how to use R for various sorts of ANOVA (between, within, mixed designs, etc): Using R for Psychological Research Quick-R for SAS/SPSS/Stata users enjoy

Read more »

Doing magic and analyzing seasonal time series with GAM (Generalized Additive Model) in R

January 26, 2017
By
Doing magic and analyzing seasonal time series with GAM (Generalized Additive Model) in R

As I wrote in the previous post, I will continue in describing regression methods, which are suitable for double seasonal (or multi-seasonal) time series. In the previous post about Multiple Linear Regression, I showed how to use “simple” OLS regression method to model double seasonal time series of electricity consumption and use it for accurate forecasting. Interactions...

Read more »

Regression model with auto correlated errors – Part 3, some astrology

January 17, 2017
By
Regression model with auto correlated errors – Part 3, some astrology

The results of the study are interesting from an astrological point of view. Astrological signs are divided into groups by order. The first grouping is by alternating order, with the first sign (Aries) positive and the next sign negative, the third positive, and so on through the circle. The second grouping is in groups of Related Post

Read more »

Regression model with auto correlated errors – Part 2, the models

January 14, 2017
By
Regression model with auto correlated errors – Part 2, the models

In the first part I created the data for testing the Astronomical/Astrological Hypotheses. In this part, I started by fitting a simple linear regression model. mod.lm = lm(div.a.ts~vulcan.ts) summary(mod.lm) Call: lm(formula = div.a.ts ~ vulcan.ts) Residuals: Min 1Q Median 3Q Max -159.30 -53.88 -10.37 53.48 194.05 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 621.23955 Related Post

Read more »

Regression model with auto correlated errors – Part 1, the data

January 12, 2017
By
Regression model with auto correlated errors – Part 1, the data

The assumptions of simple linear regression include the assumption that the errors are independent with constant variance. Fitting a simple regression when the errors are auto-correlated requires techniques from the field of time series. If you are interested in fitting a model to an evenly spaced series where the terms are auto-correlated, I have given Related Post

Read more »

LDA for Classification into Several Groups

January 5, 2017
By

Similar to the two-group linear discriminant analysis for classification case, LDA for classification into several groups seeks to find the mean vector that the new observation is closest to and assign accordingly using a distance function. The several group case also assumes equal covariance matrices amongst the groups . LDA... The post LDA for Classification into Several Groups...

Read more »

Linear Regression from Scratch in R

January 5, 2017
By
Linear Regression from Scratch in R

One of the very first learning algorithms that you’ll encounter when studying data science and machine learning is least squares linear regression. Linear regression is one of the easiest learning algorithms to understand; it’s suitable for a wide array of problems, and is already implemented in many programming languages. Most users are familiar with the Related Post

Read more »

Explaining Statistical Goodness of fit Tests with Beer

January 3, 2017
By
Explaining Statistical Goodness of fit Tests with Beer

Statistics + Beer = Comprehension - A goodness of fit test are a collection of statistical techniques used to summarize the differences between observed values and expected values. These tests can be used be used for hypothesis testing, testi...

Read more »

Discriminant Analysis of Several Groups

December 15, 2016
By

Discriminant analysis is also applicable in the case of more than two groups. In the first post on discriminant analysis, there was only one linear discriminant function as the number of linear discriminant functions is , where is the number of dependent variables and is the number of groups. In... The post Discriminant Analysis of Several Groups appeared...

Read more »

Sponsors

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)