Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
GLM function

Subject: GLM function

From: Abbas Cheddad

Date: 7 Aug, 2013 15:48:23

Message: 1 of 2

Hi guys,

A very short question to those who are using the statistical toolbox. I would like to use the generalized linear regression of a responses in y on the predictors in X, therefore, I used the function as follows:
[b,dev,P1] = glmfit(X,y,'binomial','linK','logit');

Now my question is, if I want to use the predictors in X and adjust for covariates C&V, in "R" one can use the plus sign but I am not sure how to do that in MATLAB.

Thanks.

Subject: GLM function

From: Abbas Cheddad

Date: 7 Aug, 2013 16:57:10

Message: 2 of 2

Thanks, I got an answer which was sent to my inbox.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us