@@ -1662,18 +1662,22 @@ def cov_est(
16621662 """
16631663 Covariance matrix calculation using all scenarios in the data
16641664
1665- Argument:
1666- method: string ``method`` object specified by the user
1667- options - 'finite_difference', 'reduced_hessian',
1668- and 'automatic_differentiation_kaug'
1669- solver: string ``solver`` object specified by the user, e.g., 'ipopt'
1670- cov_n: integer, number of datapoints specified by the user which is used
1671- in the objective function
1672- step: float used for relative perturbation of the parameters, e.g.,
1673- step=0.02 is a 2% perturbation
1665+ Parameters
1666+ ----------
1667+ method: string, optional
1668+ Options - 'finite_difference', 'reduced_hessian',
1669+ and 'automatic_differentiation_kaug'
1670+ solver: string, optional
1671+ E.g., 'ipopt'
1672+ cov_n: integer, required
1673+ Number of datapoints used in the covariance calculation
1674+ step: float, optional
1675+ The value used for relative perturbation of the parameters, e.g.,
1676+ step=0.02 is a 2% perturbation
16741677
1675- Returns:
1676- cov: pd.DataFrame, covariance matrix of the estimated parameters
1678+ Returns
1679+ -------
1680+ cov: pd.DataFrame, covariance matrix of the estimated parameters
16771681 """
16781682 # check if the solver input is a string
16791683 if not isinstance (solver , str ):
@@ -1687,7 +1691,7 @@ def cov_est(
16871691
16881692 # check if the user-supplied number of datapoints is an integer
16891693 if not isinstance (cov_n , int ):
1690- raise TypeError ("Expected an integer for 'cov_n' argument." )
1694+ raise TypeError ("Expected an integer for the 'cov_n' argument." )
16911695
16921696 # number of unknown parameters
16931697 num_unknowns = max (
0 commit comments