Displaying 1 result from an estimated 1 matches for "loadedlibrari".
Did you mean:
loadedlibrary
2024 Oct 30
1
Invalid term in model formula with gmm after formula.tools is loaded
Hi everyone,
I am using the gmm function from the gmm package and encountered an
unexpected error. No model can be estimated if I load formula.tools?I need
to restart R each time. Here is a simple reproducible example:
*library(gmm)data(Finance)r <- Finance[1:300, 1:10]rm <- Finance[1:300,
"rm"]rf <- Finance[1:300, "rf"]z <- as.matrix(r-rf)zm