Displaying 2 results from an estimated 2 matches for "setin".
Did you mean:
sein
2010 Dec 02
1
parLapply - Error in do.call("fun", lapply(args, enquote)) : could not find function "fun"
...Revolution R Enterprise and
gotten the same result, OS in question is Windows XP, the package involved
is the snow package.
I've got a list of 20 rain/no rain (1/0) situations for these two stations i
and j, all the items in this list look like this, each of these have a
different order:
> setin[[20]]
ri_1 rj_1
29 0 0
15 0 0
3 1 0
31 0 0
4 0 0
1 1 1
18 1 1
21 0 0
27 0 0
24 0 0
6 0 1
9 1 1
5 0 0
30 0 0
25 0 0
28 0 0
19 1 1
8 0 0
17 1 1
12 0 0
10 0 0
22 1...
2004 Jul 04
2
smooth non cumulative baseline hazard in Cox model
...hen delete;
if survival in (0,1) then delete;
run;
proc iml;
use _inset_;
read all var {t _grp_};
%if &width ne %then %let w2=&width;
%else %let w2=(max(t)-min(t))/5;
w=&w2;
z=char(w,8,2);
call symput('width',z);
numset=max(_grp_);
create _plt_ var{ lambda s group};
setin _inset_ ;
do m=1 to numset;
read all var {t survival _grp_} where (_grp_=m);
n=nrow(survival);
lo=t[1] + w;
hi=t[n] - w;
npt=50;
inc=(hi-lo)/npt;
s=lo+(1:npt)`*inc;
group=j(npt,1,m);
slag=1//survival[1:n-1];
h=1-survival/slag;
x = (j(npt,1,1)*t` - s*j(1,n,1))/w;
k=.75*(1-x#x)#(abs(x)&l...