Displaying 2 results from an estimated 2 matches for "applicc".
Did you mean:
applic
2008 May 08
1
Eager loading of association extensions
...nd
the code
cat = ProductCategory.find(:first, :include => :pricing_rules)
cat.pricing_rules.applicable
will produce 2 queries anyway, :include is useless here.
I see no other way that to add another association:
has_many :applicable_pricing_rules :conditions => ''appliccable is true''
and then use it:
cat = ProductCategory.find(:first, :include => :applicable_pricing_rules)
cat.applicable_pricing_rules
But maybe there''s a way to eagerly load an association extension?
--
Best regards,
Yuri Leikind
--~--~---------~--~----~------------~----...
2012 Sep 19
0
Discrepancies in weighted nonlinear least squares
...ame value as the above AIC (stats:::AIC.logLik) based on
log-likelihood
but
> AICrss(fm2DNase1)
[1] -56.69772
which is higher and fits perfectly to the also higher deviance of the second
model.
Could anyone enlighten me? Is the standard AIC implementation for 'nls'
models not appliccable in case of weighted fitting?
Cheers,
Andrej
___________________________
Dr. rer. nat. Andrej-Nikolai Spiess
Department of Andrology
University Hospital Hamburg-Eppendorf
Martinistr. 52
20246 Hamburg
phone: +49-40-7410-51585
fax: +49-40-7410-51554
--------------...