search for: totalmodel

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

2003 Jan 22
1
something wrong when using pspline in clogit?
...ep(0,length(data.mult)),rep(0,length(data.mult)),rep(0,length(data.mult)),rep(1,length(data.mult)))*rep(xvar,4), stratum=rep(1:length(data.mult),4)) # Used to check whether my data matrix is setup correctly # This fits a category one baseline category logit model # Compare with multinom totalmodel<-clogit(status~intercept1+intercept2+intercept3+xvar1+xvar2+xvar3+strata(stratum),method="exact",temp) coef(totalmodel) # Use smooth term, "pspline" totalmodel<-clogit(status~intercept1+intercept2+intercept3+pspline(xvar1)+pspline(xvar2)+pspline(xvar3)+strata(stratum),meth...