Displaying 3 results from an estimated 3 matches for "narwani".
2010 Jun 03
3
Nested ANOVA with covariate using Type III sums of squares
...annot be correct, however
when I do the model simplification by dropping terms from the models
manually and comparing them using anova(), I get virtually the same results.
I would appreciate any suggestions for things to try or pointers as to what
I may be doing incorrectly.
Thank you.
Anita Narwani.
[[alternative HTML version deleted]]
2010 Jul 08
2
Using nlm or optim
Hello,
I am trying to use nlm to estimate the parameters that minimize the
following function:
Predict<-function(M,c,z){
+ v = c*M^z
+ return(v)
+ }
M is a variable and c and z are parameters to be estimated.
I then write the negative loglikelihood function assuming normal errors:
nll<-function(M,V,c,z,s){
n<-length(Mean)
logl<- -.5*n*log(2*pi) -.5*n*log(s) -
2010 Jun 02
0
Nested ANOVA with covariate using Type III sums of squares in R
...his cannot be
correct, however when I do the model simplification by dropping terms from
the models manually and comparing them using anova(), I get virtually the
same results.
I would appreciate any suggestions for things to try or pointers as to
what I may be doing incorrectly.
Thank you.
Anita Narwani.
PhD Candidate
Water & Aquatic Sciences Research Program
University of Victoria, Department of Biology