search for: splitmody

Displaying 2 results from an estimated 2 matches for "splitmody".

2013 Jan 04
1
plm random effect: the estimated variance of the individual effect is negative
...quot;datestata"), model="random") > but when i split my dataframe into several groups it gives me this > error:"Error in swar(object, data, effect) : the estimated > variance of the individual effect is negative" > The code i used to split the dataframe is:SplitMody <- split(Mody_R, > Mody_R$period)SplitFixed <- lapply(SplitMody, function(Mody_R) > plm(reg, data=Mody_R, na.action = na.exclude, index=c("country_id", > "datestata"), model="random")) > I want to point the all the code works perfectly in a with...
2012 Dec 29
2
I need intercept in plm model
Hi,R 2.15.2 plm() function on Windows 7 when i perform a plm regression, i can't manage to obtain the intercept, but I need it.it gives me just the beta coefficient. my formula: fixed <- plm(deltaS ~ L1.deltaS + L2.deltaS, data=Mody_R, index=c("country_id", "date"), model="within") my output: Coefficients : Estimate Std. Error t-value Pr(>|t|)