Difference between revisions of "MyTest"
Jump to navigation
Jump to search
m |
m |
||
Line 12: | Line 12: | ||
|<br> | |<br> | ||
|- | |- | ||
− | |||
− | |||
| colspan = "2" style="align:center;" | #-------- MLE --------# | | colspan = "2" style="align:center;" | #-------- MLE --------# | ||
|- | |- | ||
− | |<br>| style="text-align:left; | | + | |<br> |
+ | |- | ||
+ | |||
+ | |<br>| style="text-align:left; | pk.nlm1=nlm(fmin1, c(0.3,6,0.2,1), y, t, hessian="true") <br> <code><div style="background-color:#ffffcc; font-family:'courier new';font-size:12pt;">psi1=pk.nlm1$estimate</div></code> <br> pk.nlm2=nlm(fmin2, c(3,10,0.2,4), y, t, hessian="true") <br> <code><div style="background-color:#ffffcc; font-family:'courier new';font-size:12pt;">psi2=pk.nlm2$estimate</div></code> || | ||
| style="text-align:left; | f <br> g <br> p | | style="text-align:left; | f <br> g <br> p | ||
|} | |} |
Revision as of 16:38, 4 February 2013
fmin1=function(x,y,t) {f=predc1(t,x) g=x[4] e=sum( ((y-f)/g)^2 + log(g^2)) } | ||
fmin2=function(x,y,t) {f=predc2(t,x) g=x[4] e=sum( ((y-f)/g)^2 + log(g^2)) } | ||
#-------- MLE --------# | ||
style="text-align:left; | pk.nlm1=nlm(fmin1, c(0.3,6,0.2,1), y, t, hessian="true")
|
f g p |
This paragraph is before the table.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod... |
|
Note the floating-table to the right.
This paragraph is after the table. The text in column 2
will span both rows due to format specifier "rowspan=2" so there
is no coding for "Col 2" in the 2nd row, just: Col 1 & Col 3.