Displaying 1 result from an estimated 1 matches for "tp4637610p4637740".
2012 Jul 24
3
Plm on splitted data
Hi all
I want to use plm function on splitted dataset but facing problems while
doing it.
I did the same for lm function it worked fine but now my problem forces me
to use lags into it while in a single set I have multiple type of data,
which I believe can only be done with panel data.
The code I am using is
A = split(mydata, mydata$Unique.ID.Number)
Z = lapply(A, function(df){plm(Total.Sales