Some comments [Software]

posted by ElMaestro  – Denmark, 2014-10-09 13:52 (3863 d 05:03 ago) – Posting: # 13676
Views: 39,957

Hi yung-jin,
Hi all,

a few comments so far:
  1. Just read the documentation for the Proc Mixed settings; looks to me like it isn't possible at all to control starter values for the optimiser? That would be rather silly, if you ask me.
    Anyways, if it is possible to select starter values then I'd propose to first fit the stuff with ML (sometimes-to-often has much better convergence) and then feed the fit values onto the REML optimiser as starter values.

  2. If someone can show me how to pass values by reference (~pointer) in R then I think I might be able to write R code for this stuff. Not good/solid/clever/smart/fast code at all, but code that does the job. Could take a bit of time, though.

To explain what I mean by passing values by reference consider this example:

Bar=function(X)
{
   X=X+1
   cat("Hello Mom!\n")
   return(0)
}


Foo=function(B)
{
   Bar(B) 
   cat("B is",B,"\n")

Foo(7)


- it will print 7 and not 8, as long as the function parameter is passed by value and not by reference.

I simply need a way for the argument to be passed by reference so that Bar can change it and Foo can continue doing stuff on B once the change has happened.

Plenty websites will discuss how to do it. But I am just ElMaestro and my brain is walnut-sized so I need more than a link to a website to understand it, please.

Pass or fail!
ElMaestro

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,669 registered users;
188 visitors (0 registered, 188 guests [including 8 identified bots]).
Forum time: 18:56 CEST (Europe/Vienna)

[Those] who have an excessive faith in their theories or in their
ideas are not only poorly disposed to make discoveries, but they
also make very poor observations.    Claude Bernard

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5