Skip to content

Commit 1694f9a

Browse files
authored
Fix GMM formula
1 parent ee8431c commit 1694f9a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ $$
151151

152152
where
153153

154-
$$g(d_i, \theta) := \begin{pmatrix} d_i-\theta \\ (d_i-\theta)^2-1 \end{pmatrix}.$$
154+
$$g(d_i, \theta) := \begin{pmatrix}
155+
d_i-\theta \\
156+
(d_i-\theta)^2-1
157+
\end{pmatrix}.$$
155158

156159
The `momentmatrix` function returns the moment conditions based on the model's coefficients and data, while the `bread` function computes the GMM "bread" matrix, which involves the Jacobian of the moment conditions and the inverse of the weighting matrix.
157160

0 commit comments

Comments
 (0)