Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running IFE examples #6

Open
ziahydari opened this issue Nov 25, 2019 · 1 comment
Open

Running IFE examples #6

ziahydari opened this issue Nov 25, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@ziahydari
Copy link

Greetings:

Thank you for your work on IFE software. I mostly use Stata for analyses so my R skills are rather basic. I have no experience with Julia.

I am unable to run the FixedEffectInteract() example and also had to modify the setup to get the FixedEffects() example to work.

(1) For setup, I had to manually add the following before calling FixedEffect_setup() to make it work
IFE_examples.txt

:

JuliaCall::julia_command('import Pkg; Pkg.add("StatsModels"); Pkg.add("DataFrames")')
JuliaCall::julia_command('Pkg.add("Distributions")')

(2) The function did not print out a table for me (please see https://github.com/FixedEffects/FixedEffectjlr#output)

(3) FixedEffectInteract() fails like so:

ife <- FixedEffectInteract(df, "sales", "price", "state+year", 2, "state", vcov = "robust")
@time reg_res = try regife(df_julia, @model( sales ~ price, ife = ( state+year, 2 ), fe = state, vcov = robust, save = true ), maxiter = 10000 );catch; (augmentdf=0, coefnames=0) end;
IFE regression has failed

ife
$statistics
[1] NA

$dt_augment
[1] NA

I have attached the R code file. Thanks again for your work on this package.

Sincerely,
Zia

@eloualiche eloualiche added the bug Something isn't working label Nov 26, 2019
@eloualiche
Copy link
Member

I have yet to update FixedEffectInteract to match the new syntax of InteractiveFixedEffectModels.jl

I will see if I can quickly update the package to catch up to the julia code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants