FIxed effects with plm, problem with NaNs

29 Views Asked by At

I am trying to run a time-fixed effects regression with plm using the wbstats library. I have attached an image of the dataset for reference. I am rather new to this.

Model:

AfricaTotal <- plm(IndustryGDP ~ CurrentImports + AgriProd + factor(date), data = AfricaVariables, index="country")

I get the following error: enter image description here

Here is the dataset. Is it an indexing issue?

Dataset

0

There are 0 best solutions below