1542 search results for "Regression"

Generate Quasi-Poisson Distribution Random Variable

August 29, 2012
By

Most of regression methods assume that response variables follow some exponential distribution families, e.g. Guassian, Poisson, Gamma, etc. However, this assumption was frequently violated in real world by, for example, zero-inflated overdispersion problem. A number of methods were developed to deal with such problem, and among them, Quasi-Poisson and Negative Binomial are the most popular methods perhaps due to that...

Read more »

Newton-Raphson can compute an average

August 28, 2012
By
Newton-Raphson can compute an average

In our article How robust is logistic regression? we pointed out some basic yet deep limitations of the traditional full-step Newton-Raphson or Iteratively Reweighted Least Squares methods of solving logistic regression problems (such as in R‘s standard glm() implementation). In fact in the comments we exhibit a well posed data fitting problem that can not Related posts:

Read more »

Structural Equation Modeling: Separating the General from the Specific (Part II)

August 26, 2012
By
Structural Equation Modeling: Separating the General from the Specific (Part II)

As promised in Halo Effects and Multicollinearity (my last post), I will show how to run a confirmatory factor analysis in R to test our bifactor model.  In addition, I will include a dependent variable and fit a structural equation mode...

Read more »

Why R for Mass Spectrometrist and Computational Proteomics

August 25, 2012
By
Why R for Mass Spectrometrist and Computational Proteomics

Why R:Actually, It is a common practice the integration of the statistical analysis of the resulted data and in silico predictions of the data generated in your manuscript and your daily research. Mass spectrometrist, biologist and bioinformaticians c...

Read more »

Exporting ctree object to Asymptote

August 25, 2012
By
Exporting ctree object to Asymptote

When producing regression or classification trees (standard rpart or ctree from party package) in GNU R I am often unsatisfied with the default plots they produce. One of many possible solutions is to export a tree plot to Asymptote.The ...

Read more »

Does playing baseball shorten your lifespan? (Answer: No.)

August 24, 2012
By
Does playing baseball shorten your lifespan? (Answer: No.)

A National Institute for Occupational Safety and Health study, published in March, found that professional American football (NFL) players lived longer, on average, than similar "mere mortals" in the general population. Football is a dangerous sport, so that might seem surprising at first, until you consider the fact that NFL players are elite sportsmen: only the strongest, fastest and...

Read more »

Finding the Best Subset of a GAM using Tabu Search and Visualizing It in R

August 24, 2012
By
Finding the Best Subset of a GAM using Tabu Search and Visualizing It in R

Finding the best subset of variables for a regression is a very common task in statistics and machine learning. There are statistical methods based on asymptotic normal theory that can help you decide whether to add or remove a variable at a time. The ...

Read more »

Data analysis using R – course in Essex

August 24, 2012
By
Data analysis using R – course in Essex

This course is running 1-5 October at the University of Essex. There doesn’t seem to be a website but you register by writing to [email protected] Here’s what they say in their e-mail: Lecturers: Dr Werner Adler (University of Erlangen-Nuremberg; Co-author … Continue reading →

Read more »

What you get and what you should be getting: checking numerical code

August 22, 2012
By
What you get and what you should be getting: checking numerical code

Whenever I write numerical code I spend half my time debugging my algebra, painstakingly uncovering one sign mistake after another in my calculations. Usually I have computed by hand the gradient or the integral of some nasty function, and I have to check it against a

Read more »

An example of OOP in GNU R using S4 Classes

August 18, 2012
By
An example of OOP in GNU R using S4 Classes

Recently I have discussed with my friend from WLOG Solutions an implementation of banking cash management engine in GNU R. The code made a nice use of S4 classes so I thought it would be worth showing as an example.The problemEvery commercial bank need...

Read more »