Skip to content

Commit

Permalink
fix thinko from prev. commit
Browse files Browse the repository at this point in the history
Merge branch 'main' of https://github.com/ycroissant/plm

# Conflicts:
#	R/est_gmm.R
  • Loading branch information
tappek committed Dec 27, 2024
2 parents 8903a77 + 3b25a9e commit 4e950ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/est_gmm.R
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ pgmm <- function(formula, data, subset, na.action,

# Compute the first step matrices
A1 <- switch(transformation,
"d" = FSM(T - TL1, "G"), # == tcrossprod(diff(diag(1, T - TL1 + 1))) # TODO: FSM's arg fsm not fully flexible
"d" = FSM(T - TL1, "G"), # == tcrossprod(diff(diag(1, T - TL1 + 1))) # TODO: FSM's arg fsm not fully flexible
"ld" = FSM(T - TL2, fsm))

A1 <- lapply(W, function(x) crossprod(t(crossprod(x, A1)), x))
Expand Down

0 comments on commit 4e950ca

Please sign in to comment.