Dear Jerad
I may have completely misunderstood your question but you do know that
you can write your own function and use it in sapply where you have
summary? You could incorporate calls to summary or to coef or somet
other extractor or you could use the $ tool.
On 25/01/2015 02:01, Moxley,
On Jan 24, 2015, at 11:02 PM, Moxley, Jerad wrote:
Sorry I was not clearer, but I was asking an R programming question not a
theory question.
Copying back the original text which appears to have been omitted:
On 25/01/2015 02:01, Moxley, Jerad wrote:
I’m trying to test what growth
Sorry I was not clearer, but I was asking an R programming question not a
theory question. I will try to clarify. If I did this analysis with a dataset
involving just one subject the summary command on the lm object would give me
a significance test on each parameter fit. The question in this
R-square is often a poor indicator of whether a model is appropriate or not.
While it is possible that there exists a package that implements your algorithm
(which you might find using the sos package), I would recommend that you get
some advice from an expert on how to approach this subject,
I’m trying to test what growth functions best fit individual subjects. I’m
wanting compare linear, quadratic, cubic etc. Here is the example from the
cubic curve.
b3a-by(c,id,function(x) lm(w~agec+ageq+agecub,data=x))
I can get quiet a bit of information out of sapply(b3a,summary) but it
5 matches
Mail list logo