Hi,

I am trying to run two Non-Gaussian regressions: logistic and probit. I am
receiving two different errors when I try to run these regressions and I am
not sure what they mean or how to fix my syntax.

Here is the logistic regression error:

Error in family$linkfun(mustart) : 
  Argument mu must be a nonempty numeric vector

Here is the probit regression error:

Error in pmax(eta, -thresh) : cannot mix 0-length vectors with others

The dataset that I am using has some missing data. R puts NA values in place
of the missing values. I am not sure if this is what is causing my vector
problems or not. I have tried to use the 'data=na.omit(DataMiss)' in my glm
as well as the command: 'na.action=na.exclude', but I am not sure if I am
using the correct syntax because it is not working. 

Any help would be most appreciated.

--
View this message in context: 
http://r.789695.n4.nabble.com/Vector-errors-and-missing-values-tp4437306p4437306.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to