Re: [R] plm package

2018-02-08 Thread Edoardo Baldoni
Hi, maybe the function do not automatically understand, as well as you do, what are the N and T dimensions of your panel data frame. You could try using the index parameter of the function to specify your id and time variables. Edoardo 2018-02-08 15:04 GMT+01:00 PAOLO PILI

[R] plm package

2018-02-08 Thread PAOLO PILI
Hello, I got a problem using package plm. When I give the command "grun.fe<-plm(Y~X1+X2...+Xn, data=data, model="within")" I got this answer: "Error: cannot allocate vector of size 289.7 Gb". The database that I am using is not so big, so I don't understand to what it refers to. Can you help

[R] plm package: error subscript out of bounds

2015-06-27 Thread T.Riedle
Hi everybody, I am trying to run a panel regression on 10 economic sectors with 4 independent variables, respectively. The plm() function works well for all 10 economic sectors together, i.e. the dataframe containing all sectors. Now, I am trying to run the same regression for each sector

Re: [R] (PLM- package) Residual-Plotting and missing Values

2014-07-08 Thread Uwe Ligges
If you havn't got a response yet, ask the package authors. Best, Uwe Ligges On 01.07.2014 16:21, Katharina Mersmann wrote: Dear R-Community, I tried plotting the residuals of an FE-model estimated via plm . And detected that there are no residuals in the plot for the last two countries. I

[R] (PLM- package) Residual-Plotting and missing Values

2014-07-01 Thread Katharina Mersmann
Dear R-Community, I tried plotting the residuals of an FE-model estimated via plm . And detected that there are no residuals in the plot for the last two countries. I guess this happens because for some countries values are missing and R gives me the following for fixed.reg1.new$resid[1]

[R] 'plm' package problem

2013-08-24 Thread londonphd
Hi, I ran 3 plm regressions (fixed effects) : twoways, individual and time effects are added. I noticed that I am getting the same results in each model. I expect the results to be different given the varying effects introduced in each model. Can you please help sort this out, please? or Am I

[R] plm package, random effects model error message

2013-04-08 Thread londonphd
Hello, I am trying to run the following Random Effects panel model in R, but I am getting an error message. I am just thinking, maybe the random.method I chose is not working? re1=plm(gdp ~ fossil+renewables+labour+gfcf, model = random, data = new.frame,index = c(id),random.method = swar) Error

[R] Plm package

2012-08-03 Thread athens
I am interested in estimating a panel model with time fixed effects, random cross-sectional effects and AR(1) error. I am using the plm package. I would be grateful if you could give me some guidance on how to do it in R. Thanks in advance. -- View this message in context:

[R] PLM package PGGLS strange behavior

2012-04-27 Thread Millo Giovanni
4, 34132 Trieste (Italy) tel. +39 040 671184 fax +39 040 671160 --- original message --- Message: 18 Date: Thu, 26 Apr 2012 14:07:16 +0200 From: Ruben de Bliek rubendebl...@gmail.com To: r-help@r-project.org Subject: [R] PLM package PGGLS strange behavior Message-ID

Re: [R] PLM package PGGLS strange behavior

2012-04-27 Thread Ruben de Bliek
Bliek rubendebl...@gmail.com To: r-help@r-project.org Subject: [R] PLM package PGGLS strange behavior Message-ID: CAMjFNLVpiDsSVemYf=ctx2fzljqekhoobnctc8fc2csrgkx...@mail.gmail.com Content-Type: text/plain When using the PLM package (version 1.2-8), I encounter the probem that calling

[R] R: PLM package PGGLS strange behavior

2012-04-27 Thread Millo Giovanni
--- original message --- Message: 18 Date: Thu, 26 Apr 2012 14:07:16 +0200 From: Ruben de Bliek rubendebl...@gmail.com To: r-help@r-project.org Subject: [R] PLM package PGGLS strange behavior Message-ID

Re: [R] PLM package PGGLS strange behavior

2012-04-27 Thread Ruben de Bliek
*A:* Millo Giovanni *Cc:* r-help@r-project.org *Oggetto:* Re: [R] PLM package PGGLS strange behavior Thank you Millo. I was a little confused by the random versus pooling nomenclature used in PLM, thank you for clearing that up. I still have the issue of not receiving the proper coefficient

[R] PLM package PGGLS strange behavior

2012-04-26 Thread Ruben de Bliek
When using the PLM package (version 1.2-8), I encounter the probem that calling the FGLS estimator evokes strange behavior, when choosing the random effects model. After calling the PGGLS function to estimate FGLS, PLM gives me a warning, stating that the random model has been replaced with the

[R] plm package, R squared, dummies in panel data

2011-09-05 Thread Cecilia Carmo
Hi R-helpers, I have two questions I hope you could help me with them: In the plm package how can I calculate the R2 within, R2 between and R2 overall? Is there any special reason to not display these values? When using first differences do I need to have some special care with dummies

Re: [R] plm package, R squared, dummies in panel data

2011-09-05 Thread Daniel Malter
Hi, I answered this question before in this post: http://r.789695.n4.nabble.com/Regressions-with-fixed-effect-in-R-td2173314.html , specifically in my message from May 11, 2010; 4:30pm. However, I believe the newer version of plm shows an R-squared, which should be the within R-squared. Why the

Re: [R] plm package twoways effect problem

2010-04-11 Thread yves croissant
It's difficult to guess what the pb is without the data. Try to estimate a 'simple' model, ie without the dummies (something like : dsnfi3LP=plm(lnLP~lnC+lnL+lnM +lnE,data=newdata,effect=twoways,model=within) Try also pdim(newdata) to check if you don't have 1 observation for some individuals.

Re: [R] plm package twoways effect problem

2010-04-09 Thread seral
well thanks anyway even just for replying, i understand the lack of information causes no response... but if no one tells me that they need more information how could i send. anyway here more information about the procedure that i am applying to define the model after reading and attaching my

[R] plm package twoways effect problem

2010-04-08 Thread seral
Hello everyone, I have a peoblem to create the twoways effect in the plm package. when i try to create the following dsn1-plm(lnQ~lnC+lnL+lnM+lnE+eco+RD,data=newdata,effect=twoways,model=within) i have this error: Error in rep.int(c(1, numeric(n)), n - 1L) : negative length vectors are not

Re: [R] plm package twoways effect problem

2010-04-08 Thread Achim Zeileis
On Thu, 8 Apr 2010, seral wrote: Hello everyone, I have a peoblem to create the twoways effect in the plm package. when i try to create the following dsn1-plm(lnQ~lnC+lnL+lnM+lnE+eco+RD,data=newdata,effect=twoways,model=within) i have this error: Error in rep.int(c(1, numeric(n)), n -

[R] plm package twoways problem

2010-04-07 Thread serdal
hello everyone I am currently working on an unbalanced data, and i want to test twoways effect, I know that for the unbalanced data random, twoways doenst work, but fixed twoways supposed to work, but it doesnt and when i enter the following model i have an error which i couldnt understand why.

[R] plm package duplication problem

2010-03-29 Thread serdal
hi, i am writing my master thesis and i am dealing with 146474 observations (panel data), i have just learned the R so i am a beginner!! i am trying to use the plm package and i have a duplication problem; i have written the following commands to read my data and create my model

Re: [R] plm package duplication problem

2010-03-29 Thread Achim Zeileis
On Mon, 29 Mar 2010, serdal wrote: hi, i am writing my master thesis and i am dealing with 146474 observations (panel data), i have just learned the R so i am a beginner!! i am trying to use the plm package and i have a duplication problem; i have written the following commands to read my

[R] plm package index

2010-02-03 Thread Bunny, lautloscrew.com
Dear all, i just wonder if there´s a way to use a two column time index field in plm package. the manual says the following concerning data indexing: a character vector of length two containing the names of the individual and the time index, What would y´all do with a quarterly dataset

Re: [R] plm package index

2010-02-03 Thread Millo Giovanni
From: Bunny, lautloscrew.com bu...@lautloscrew.com To: r-help@r-project.org Subject: [R] plm package index Message-ID: 9b6a22f4-5dd0-4fcd-9a6f-aee1e2108...@lautloscrew.com Content-Type: text/plain Dear all, i just wonder if there´s a way to use a two column time index field in plm package

Re: [R] plm package

2009-02-08 Thread Achim Zeileis
Kirsten: additionally to the question below, how I can get data into the pdata.frame format, I have another question: Why doen't R recognize the function plm.data (), when calling it? I did load the plm library before... I suspect that you have an outdated version of plm and possibly R as

[R] plm package

2009-02-06 Thread Kirsten Svenja Wiebe
Hi there, additionally to the question below, how I can get data into the pdata.frame format, I have another question: Why doen't R recognize the function plm.data (), when calling it? I did load the plm library before... Greetz, Kirsten How do I actually manage to get data into the