Displaying 3 results from an estimated 3 matches for "b0_f".
2011 Mar 11
2
[LLVMdev] Unnamed temporaries
...ed) (Please ignore the extra br label %b0 and the whole
b0)
...
54 define i32 @std_lang__rest() {
55 entry:
56 %ret = alloca i32 ; <i32*> int*
57 %0 = icmp eq i32 4, 5 ; <i1> boolean
58 br i1 %0, label %b0_t, label %b0_f
59 b0_t:
60 %1 = add i32 5, 2 ; <i32> int
61 store i32 %1, i32* %ret
62 br label %return
63 br label %b0
64 b0_f:
65 store i32 5, i32* %ret
66 br label %return
67 br label %b0
68 b0:
69 store i32 0,...
2011 Mar 11
0
[LLVMdev] Unnamed temporaries
...ey are exactly
your problem.
> 54 define i32 @std_lang__rest() {
> 55 entry:
> 56 %ret = alloca i32 ; <i32*> int*
>
> 57 %0 = icmp eq i32 4, 5 ; <i1> boolean
>
> 58 br i1 %0, label %b0_t, label %b0_f
>
> 59 b0_t:
> 60 %1 = add i32 5, 2 ; <i32> int
>
> 61 store i32 %1, i32* %ret
> 62 br label %return
This "br label %return" ended block %b0_t and automatically started a
new one. Since you didn't provide a lab...
2011 Sep 14
0
Convert SAS NLMIXED code for zero-inflated gamma regression to R
...fortunately, the code is in SAS and I'm not sure how to
re-write it for something like nlme (if at all possible - with conditions
etc). Does anyone know both languages enough to try translating it? Would
very much appreciate your help!
The code is as follows:
proc nlmixed data=mydata;
parms b0_f=0 b1_f=0
b0_h=0 b1_h=0
log_theta=0;
eta_f = b0_f + b1_f*x1 ;
p_yEQ0 = 1 / (1 + exp(-eta_f));
eta_h = b0_h + b1_h*x1;
mu = exp(eta_h);
theta = exp(log_theta);
r = mu/theta;
if y=0 then
ll = log(p_yEQ0);
else
ll = log(1 - p_yEQ0)
- lgamma...