Message Boards Message Boards

0
|
2589 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Clarify the internal structure of FittedModel?

Posted 6 years ago

I am trying to write a fitting routine, similar to LinearModelFit and NonlinearModelFit. I would like to generate a similar type of output, that is a FittedModel structure. It could look like this, if you apply FullForm to the result to a LinearModelFit calculation:

FittedModel[List["Linear",List[0.18644067796610153`,0.6949152542372882`],List[List[x],List[1,x]],List[0,0]],List[List[1.`,1.`,1.`,1.`]],List[List[0,1],List[1,0],List[3,2],List[5,4]],List[List[1.`,0.`],List[1.`,1.`],List[1.`,3.`],List[1.`,5.`]],Function[Null,Internal`LocalizedBlock[List[x],Slot[1]],List[HoldAll]]]

Some parts of this structure is easy to interpret, but has anyone the full interpretation?

POSTED BY: Ingolf Dahl
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract