[R] plm empty model error (data is linked)

2018-01-26 Thread Sojin Kim
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 k

Re: [R] plm empty model error

2018-01-26 Thread Bert Gunter
**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. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things int

[R] plm empty model error

2018-01-26 Thread Sojin Kim
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 k