penalty0 | R Documentation |
penalty0 allows for the option of adding a large penalty as a parameter approaches 0.0 . See negLL1 for example code that contains such a parameter. For example, when fitting an spm sometimes the optimal mathematical model fit can occur by depressing the r value to 0 or even go negative. Input values < 0.006 begin to generate large values as one goes smaller. The examples below illustrate this.
penalty0(x)
x |
the parameter value that potentially incurs a penalty |
a single value as a penalty to be added to a Log-Likelihood or SSQ
penalty0(0.5)
penalty0(0.1)
penalty0(0.01)
penalty0(0.005)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.