Questions tagged [lfe]

LFE stands for Lisp Flavoured Erlang, a lisp syntax front-end to the Erlang compiler.

LFE, Lisp Flavoured Erlang, is a full implementation of a Lisp running on the Erlang/OTP system. Code produced with it is compatible with "normal" Erlang code.

28 questions
24
votes
6 answers

predict method for felm from lfe package

Does anyone have a nice clean way to get predict behavior for felm models? library(lfe) model1 <- lm(data = iris, Sepal.Length ~ Sepal.Width + Species) predict(model1, newdata = data.frame(Sepal.Width = 3, Species = "virginica")) # Works model2 <-…
kennyB
  • 1,963
  • 3
  • 17
  • 22
11
votes
1 answer

Clustered standard errors different in plm vs lfe

When I run a cluster standard error panel specification with plm and lfe I get results that differ at the second significant figure. Does anyone know why they differ in their calculation of the…
kennyB
  • 1,963
  • 3
  • 17
  • 22
9
votes
2 answers

Predict using felm output with standard errors

Is there way to get predict behavior with standard errors from lfe::felm if the fixed effects are swept out using the projection method in felm? This question is very similar to the question here, but none of the answers to that question can be used…
pbaylis
  • 1,529
  • 11
  • 19
9
votes
2 answers

Lisp Flavored Erlang - Messaging primitives

I've read through all the documentation, and most of the source of LFE. All the presentations emphasize basic lisp in traditional lisp roles - General Problem Solving, Hello world and syntax emulating macros. Does anyone know how LFE handles…
Chris Hagan
  • 2,437
  • 3
  • 17
  • 16
5
votes
1 answer

Question about p-values with clustered standard errors in LFE package in R

I am estimating a model with fixed effects and clustered standard errors using the lfe-package. As it turns out, I have a huge t-value (23.317) but only a comparatively small p-value (0.0273). This seems to have something to do with me using the…
Florestan
  • 127
  • 1
  • 15
5
votes
1 answer

How to calculate dynamic panel models with lfe package

I am trying to estimate a large dynamic fixed effects panel data model with lags, and multiple group effects. I know about the pseries object from the plm package which can handle panel regression with lags. library(plm) data("EmplUK", package =…
kennyB
  • 1,963
  • 3
  • 17
  • 22
5
votes
1 answer

How do I install LFE on Ubuntu Karmic?

Erlang was already installed: $dpkg -l|grep erlang ii erlang 1:13.b.3-dfsg-2ubuntu2 Concurrent, real-time, distributed function ii erlang-appmon 1:13.b.3-dfsg-2ubuntu2 Erlang/OTP…
user89021
  • 14,784
  • 16
  • 53
  • 65
4
votes
2 answers

Lisp Flavored Erlang on Windows

Does Lisp Flavored Erlang (LFE) work on Windows? I am using LFE 0.6/Erlang 5.8.2/Windows 7 32-bit. I copied the lfe shell script as a batch file (replacing $@ with %1 %2 %3 %4) and it gives me this: D:\projects\checkout\lfe>lfe {"init terminating…
Shantanu Kumar
  • 1,240
  • 1
  • 12
  • 14
4
votes
2 answers

Value from binding in LFE interpreter using Erlang

I'd like to use Lisp Flavored Erlang as a scripting extension language for an Erlang application. If you want, in a similar way GNU Emacs is configured and extended via Emacs Lisp. I know that the argument is wide and structured; but in the specific…
gsscoder
  • 3,088
  • 4
  • 33
  • 49
3
votes
0 answers

Error "No tidy method for objects of class felm" when using the lfe and broom package

I'm trying to tidy the results of my fixed effects linear regression model. Here's the FELM: model_fit <- felm( dependent_variable ~ independent_variable1 + independent_variable2 + independent_variable3 + …
3
votes
2 answers

Fitted Values in FELM

I am trying to get fitted values out of a linear model with many factors, which I would like to estimate using the felm function from the R package lfe. Unless I am misinterpreting what is meant by the fitted.values returned by the function, it…
Scott
  • 85
  • 7
3
votes
2 answers

R stargazer package output: Missing F statistic for felm regression (lfe package)

I am trying to use the stargazer package to output my regression results. I performed my regressions using felm from the lfe package. The stargazer output tables shows everything properly except the F statistic values which remain blank. The issue…
Learner Yoda
  • 33
  • 1
  • 7
3
votes
1 answer

Setting seq_trace on another process

I understand that I can set a seq_trace in erlang to the current process that is executing. But how can I set it on another process from the shell, or remote shell like dbg tracing?
Andy Till
  • 3,371
  • 2
  • 18
  • 23
2
votes
1 answer

Gun http client not printing response body

I have a http gen_server that uses gun as the http client library. I am able to open a connection and make a GET request. However, I get no response body, but the message received is 'fin. How to get a gun response in asynchronous mode? (defun get…
John Doe
  • 2,225
  • 6
  • 16
  • 44
2
votes
2 answers

Compiling LFE files with make

Is there a standard way of compiling .lfe source files from a make rule in an OTP project? According to the docs, I'm supposed to use lfe_comp:file/1, which doesn't help much if I want to compile multiple such files in an OTP application (where I'm…
Inaimathi
  • 13,853
  • 9
  • 49
  • 93
1
2