search for: inv_function

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

2000 Feb 19
1
problem with glm (PR#452)
...I have the same problem whether I use a version of R built with the native C-compiler or a version compiled with gcc. In both cases I've built with g77. I want to do some simulations with a call to glm in each rep. A simplified version would be something like: N_100; NREPS_100; lam.e_5; logit.inv_function(x){ exp(x)/(1+exp(x)) } for(i in (1:NREPS)) { cat(paste("REP",i,"\n")) T_rexp(N,(lam.e)) Delta_rbinom(N,1,logit.inv(1+T)) ff_glm(Delta ~ T,family=binomial(logit)) } It often completes all reps, but I occasionally get errors related to lengths of various objects, et...