search for: empluk

Displaying 9 results from an estimated 9 matches for "empluk".

Did you mean: emplik
2009 Jan 21
0
trouble switching to 'plm' from 'xtabond' and Stata
...and I am having particular trouble with the transition from Stata's 'xtabond' and 'ivreg' commands to the "plm" package. I am trying to replicate some of the dynamic panel data work using the UK Employment data in Arellano and Bond (1991) and available as 'EmplUK' under the 'plm' package. I have been reading "Panel Data Econometrics in R: The plm Package" by Croissant and Millo available at http://cran.r-project.org/web/packages/plm/vignettes/plm.pdf and "How to Do xtabond2: An Introduction to 'Difference' and 'Sy...
2012 Mar 08
1
Panel models: Fixed effects & random coefficients in plm
...I can't figure it out. Below is reproducible code (assuming you have plm installed) taken from the vignette available on cran. It shows the two models I know how to estimate. Any guidance on estimating the third model would be greatly appreciated. -Mitch # Data setup library(plm) data("EmplUK", package="plm") names(EmplUK) E <- pdata.frame(EmplUK, index = c("firm", "year"), drop.index = TRUE, row.names = TRUE) # Two-way fixed effects model with constant beta m1 <- plm(wage ~ output,data=E,model="within",effect="twoways") sum...
2009 Mar 30
0
pgmm (Blundell-Bond) sample needed)
..., some weeks ago). 2) fitting the simple models Simplest possible model: AR(1) with individual effects x(i,t)= a*(x(i,t-1)) + bi + c This is what Ivo asked for in the first place. As the usual example is on data from the Arellano and Bond paper, available in package 'plm' as > data(EmplUK) I'll use log(emp) from this dataset as 'x', for ease of reproducibility. Same data are available in Stata by 'use "http://www.stata-press.com/data/r7/abdata.dta"'. The Stata dataset is identical but for the variable names and the fact that in Stata you have to genera...
2009 Nov 27
1
problem with "dynformula" from "plm" package [RE-POST]
...diff(capital, 2) + diff(capital, 3) And indeed, when I try to run a regression using that formula, it appears to not contain any lags or logs (output below). Any ideas? Thanks in advance, ~Owen -- Owen Powell http://center.uvt.nl/phd_stud/powell R> library("plm") R> data("EmplUK", package="plm") R> a = dynformula(emp~wage+capital,log=list(capital=FALSE,TRUE),lag=list(emp=2,c(2,3)),diff=list(FALSE,capital=TRUE)) R> testModel <- plm(formula = a,data=EmplUK,model="within") [1] 1031 2 R> summary(testModel) Oneway (individual) effect With...
2012 Apr 26
1
PLM package PGGLS strange behavior
...el has been replaced with the "pooling" model. I would, however, really like to estimate the random model instead. For me, the problem is reproducable using one of the examples from the PLM Jstatsoft article "Panel Data Econometrics in R: The plm package" (pp.19-20): data("EmplUK", package="plm") zz <- pggls(log(emp)~log(wage)+log(capital),data=EmplUK, model="random") summary(zz) Which for me results in the following warning: WARNING: Warning: 'random' argument to pggls() has been renamed as 'pooling' It then proceeds with esti...
2009 Nov 27
3
problem with "dynformula" from "plm" package
...diff(capital, 2) + diff(capital, 3) And indeed, when I try to run a regression using that formula, it appears to not contain any lags or logs (output below). Any ideas? Thanks in advance, ~Owen -- Owen Powell http://center.uvt.nl/phd_stud/powell R> library("plm") R> data("EmplUK", package="plm") R> a = dynformula(emp~wage+capital,log=list(capital=FALSE,TRUE),lag=list(emp=2,c(2,3)),diff=list(FALSE,capital=TRUE)) R> testModel <- plm(formula = a,data=EmplUK,model="within") [1] 1031 2 R> summary(testModel) Oneway (individual) effect With...
2009 Mar 08
1
singular matrices in plm::pgmm()
Hi list, has anyone succeeded in using pgmm() on any dataset besides Arellano/Bond's EmplUK, as shown in the vignette? Whatever I try, I eventually get a runtime error because of a singular matrix at various points in pgmm.diff() (which gets called by pgmm()). For example, when estimating a "dynamic" version of the Grunfeld data: data(Grunfeld, package="Ecdat") grun...
2009 Mar 26
1
pgmm (Blundell-Bond) sample needed
Dear R Experts--- Sorry for all the questions yesterday and today. I am trying to use Yves Croissant's pgmm function in the plm package with Blundell-Bond moments. I have read the Blundell-Bond paper, and want to run the simplest model first, d[i,t] = a*d[i,t-1] + fixed[i] + u[i,t] . no third conditioning variables yet. the full set of moment conditions recommended for system-GMM,
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
...t, some weeks ago). 2) fitting the simple models Simplest possible model: AR(1) with individual effects   x(i,t)= a*(x(i,t-1)) + bi + c This is what Ivo asked for in the first place. As the usual example is on data from the Arellano and Bond paper, available in package 'plm' as > data(EmplUK) I'll use log(emp) from this dataset as 'x', for ease of reproducibility. Same data are available in Stata by 'use "http://www.stata-press.com/data/r7/abdata.dta"'. The Stata dataset is identical but for the variable names and the fact that in Stata you have to genera...