Skip to content

Commit 726561f

Browse files
committed
Updated documentation in covariance.rst file
1 parent d06338f commit 726561f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/OnlineDocs/explanation/analysis/parmest/covariance.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,8 @@ e.g.,
8484
.. doctest::
8585
:skipif: not __import__('pyomo.contrib.parmest.parmest').contrib.parmest.parmest.parmest_available
8686

87+
>>> import pyomo.contrib.parmest.parmest as parmest
88+
>>> pest = parmest.Estimator(exp_list, obj_function="SSE")
89+
>>> obj_val, theta_val = pest.theta_est()
8790
>>> cov_method = "reduced_hessian"
8891
>>> cov = pest.cov_est(cov_n=num_data, method=cov_method)

0 commit comments

Comments
 (0)