search for: snps2

Displaying 1 result from an estimated 1 matches for "snps2".

Did you mean: snps
2005 Apr 13
1
logistic regression weights problem
...,1,0,0) > SNPs <- matrix( c(1,0,1,0,0,0,0,1,0,1,0,1,0,1,1), ncol =3) > weight <- c(0.2, 0.1, 1, 0.8, 0.7) > glm(status ~ SNPs, weights = weight, family = binomial) Call: glm(formula = status ~ SNPs, family = binomial, weights = weight) Coefficients: (Intercept) SNPs1 SNPs2 SNPs3 -2.079 42.282 -18.964 NA Degrees of Freedom: 4 Total (i.e. Null); 2 Residual Null Deviance: 3.867 Residual Deviance: 0.6279 AIC: 6.236 Warning messages: 1: non-integer #successes in a binomial glm! in: eval(expr, envir, enclos) 2: fitted probabili...