search for: ltemp

Displaying 6 results from an estimated 6 matches for "ltemp".

Did you mean: temp
2012 Jun 05
1
model.frame and predvars
...is why I went that route, but never noted the difference till now (preparing for my course in Nashville). Could someone shed light on the rationale for non-preservation? Terry T. Simple example > library(survival) > lfit <- lm(time ~ factor(ph.ecog) + ns(age, 3), data=lung) > ltemp <- model.frame(lfit, data=lung[1:2,]) > ltemp time factor(ph.ecog) ns(age, 3).1 ns(age, 3).2 ns(age, 3).3 1 306 1 -0.1428571 0.4285714 0.7142857 2 455 0 0.0000000 0.0000000 0.0000000 > lfit$model[1:2,] time factor(ph.ecog) ns(age, 3)....
2007 Dec 05
4
coxme frailty model standard errors?
Hello, I am running R 2.6.1 on windows xp I am trying to fit a cox proportional hazard model with a shared Gaussian frailty term using coxme My model is specified as: nofit1<-coxme(Surv(Age,cen1new)~ Sex+bo2+bo3,random=~1|isl,data=mydat) With x1-x3 being dummy variables, and isl being the community level variable with 4 levels. Does anyone know if there is a way to get the standard error
2012 May 07
0
R CMD check, interfacing c++ linking errors
.../Rprintf("the node is: %s\n",nodename.c_str()); //Rprintf("the size of the node is: %f\n",nodesize); //Rprintf("the id of the node is: %d\n",nodeid); } p = i; } //return; int boots = LENGTH(bootClusters); SEXP memberssxp = VECTOR_ELT(bootClusters,0); int ltemp = LENGTH(memberssxp); vector<vector<int > > bootstraps = vector<vector<int > >(boots,vector<int>(ltemp)); for(int i =0 ; i< boots;++i) { SEXP memberssxp = VECTOR_ELT(bootClusters,i); int l = LENGTH(memberssxp); int* members = INTEGER(memberssxp); //bootstra...
2012 May 08
0
R CMD check, c++ source linking errors
.../Rprintf("the node is: %s\n",nodename.c_str()); //Rprintf("the size of the node is: %f\n",nodesize); //Rprintf("the id of the node is: %d\n",nodeid); } p = i; } //return; int boots = LENGTH(bootClusters); SEXP memberssxp = VECTOR_ELT(bootClusters,0); int ltemp = LENGTH(memberssxp); vector<vector<int > > bootstraps = vector<vector<int > >(boots,vector<int>(ltemp)); for(int i =0 ; i< boots;++i) { SEXP memberssxp = VECTOR_ELT(bootClusters,i); int l = LENGTH(memberssxp); int* members = INTEGER(memberssxp); //bootstra...
2012 May 08
1
R CMD check linking errors, when interfacing c++
.../Rprintf("the node is: %s\n",nodename.c_str()); //Rprintf("the size of the node is: %f\n",nodesize); //Rprintf("the id of the node is: %d\n",nodeid); } p = i; } //return; int boots = LENGTH(bootClusters); SEXP memberssxp = VECTOR_ELT(bootClusters,0); int ltemp = LENGTH(memberssxp); vector<vector<int > > bootstraps = vector<vector<int > >(boots,vector<int>(ltemp)); for(int i =0 ; i< boots;++i) { SEXP memberssxp = VECTOR_ELT(bootClusters,i); int l = LENGTH(memberssxp); int* members = INTEGER(memberssxp); //bootstra...
2011 Jul 27
0
: Re: coxme frailty model standard errors?
-- begin included message -- Hi, but why we do the difference : ltemp <- 2 * diff(tfit $loglik[1:2]) ?? Where I can find information about Integrate Likelihooh and null like lihood?? --- end inclusion --- 1. Basic statistical fact: 2 * difference in loglik between two nested models = distributed as a chi-square distribution. For coxme loglik[1] = likelihood...