search for: termfac

Displaying 4 results from an estimated 4 matches for "termfac".

2011 Aug 11
5
model formula
Hello useRs, Pls help with removing a single interaction term from a formula: summary( glm.turn.2 <- glm(cbind(turn.cnt,tot.cnt-turn.cnt)~sn+poly(relAge,2,raw=T)+termfac+rate:termfac,data=fix, family="quasibinomial") ) Gives Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -7.028467 0.106002 -66.305 < 2e-16 *** snFeb 0.156963 0.023660 6.634...
2010 Jul 02
2
unable to get bigglm working, ATTN: Thomas Lumley
.../newf4.csv", chunksize = 100000, colClasses = list ("NULL", "Date","Date", "integer", "factor",rep("numeric",5),rep("integer",2)), col.names = c("id","dt", "promdt","term", "termfac", "commintr","commbal","issuebal","intr","ri","loctime","resp") ) library(biglm); bigglm (formula = resp ~ poly(relage,2,raw=TRUE)+termfac+ri , data = a, family = binomial(link='logit')); ### output: > bi...
2011 Feb 03
3
coxph fails to survfit
I have a model with quant vars only and the error message does not make sense: (mod1 <- coxph(Surv(time=strt,time2=stp,event=(resp==1))~ +incpost+I(amt/1e5)+rate+strata(termfac), subset=dt<"2010-08-30", data=inc,method="efron")) Call: coxph(formula = Surv(time = strt, time2 = stp, event = (resp == 1)) ~ +incpost + I(amt/1e+05) + rate + strata(termfac), data = inc, subset = dt < "2010-08-30", method = "efron&q...
2012 Jan 09
0
glmD error
I am attemting to use glmD in order to use latex(obj) afterwards. Glm works fine, glmD throws an error: > conv.go <- glmD(cbind(go.cnt,tot.cnt-go.cnt)~sn+rcs(relAge,4)+termfac+rate:termfac+ + I(relAge*term>(term-1.25))+I((prevbal/tot.cnt)*1e-4)+prod+newmort+ + I(dnorm(relAge*term-round(relAge*term/12)*12,sd=1.2)*as.integer((relAge*term)>3))+ + I(term %in% c(36,60,72,120)) +...