[R] plm empty model error

Bert Gunter bgunter.4567 at gmail.com
Sat Jan 27 03:29:39 CET 2018

**Please read **and follow**  the posting guide linked below.** Your data
attachment did not make it, as most non-text files are stripped by the mail
server to avoid probems.


Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Fri, Jan 26, 2018 at 2:56 PM, Sojin Kim <sojinkim92 at gmail.com> wrote:

> Hi,
> I am trying to estimate a two-way model with both individual and time fixed
> effects. I am using plm with "twoways" specification.
> plm(as.integer(yvar) ~ xvar, index = c("id", "time"), model="within",
> data=dataset, effect = "twoways")
> But I get keep getting the following message and I don't know what to do
> about it, because I don't think anything is wrong with my indices (but
> please correct me if I'm wrong on this!). : Error in plm.fit(formula, data,
> model, effect, random.method, random.models,  :
>   empty model
> The data is attached in the email.
> Thank you so much in advance for your help.
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]

More information about the R-help mailing list