Not understood [R for BE/BA]

posted by ElMaestro  – Belgium?, 2020-08-03 22:55 (56 d 19:07 ago) – Posting: # 21821
Views: 6,449

Hi Pharmcat,


» Do you calculate REML for all data at once or calculate REML subject by subject?

REML is not generally done on a per-subject basis. Each model is assumed to have an optimal fit, given the data and the variance/covariance structure. The optimal fit, when putatively found, corresponds to the fixed effects and the variance components, and the log likelihood serves as objective function.
I am sure I am missing somethign clever in your question. Can you describe what you meant?

» Is it possible to use function caching in R?

You can always write some public members to that effect where necessary and appropriate. I don't think R has a built-in optimizer which takes care of it as the language is interpreted, but other users of this forum should confirm; I am not expert on the inner workings of R.
I do not see how this would affect the REML process - can you describe with more words what your perspective on caching was, then we'll possibly figure out something?

I could be wrong, but...

Best regards,
ElMaestro

R's base package has 274 reserved words and operators, along with 1761 functions. I can use 18 of them (about 14 of them properly). I believe this makes me the Donald Trump of programming.

Complete thread:

Activity
 Admin contact
21,086 posts in 4,398 threads, 1,468 registered users;
online 5 (1 registered, 4 guests [including 2 identified bots]).
Forum time: Tuesday 18:03 CEST (Europe/Vienna)

To know the history of science is to recognize the mortality
of any claim to universal truth.    Evelyn Fox Keller

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