Displaying 20 results from an estimated 1000 matches similar to: "Three-way Panel Data Analysis"
2010 Sep 10
2
[xts, quantmod] segfault probelm when I work with memcpy function
Hi,
I work with SEXP C code and with xts and quantmod packages. I try to
touch how xts internal works.
So we have R session and:
> ls()
character(0)
> getSymbols('AAPL') # quantmod package
[1] "AAPL"
> ls()
[1] "AAPL"
> str(AAPL)
An ?xts? object from 2007-01-03 to 2010-09-09 containing:
Data: num [1:929, 1:6] 86.3 84 85.8 86 86.5 ...
- attr(*,
2009 Apr 25
2
plm Hausman-Taylor model
Dear all-
I am have trouble in using the model="ht" option in function plm from
the plm library. I am using
Package: plm Version: 1.1-1; R version 2.8.1 (2008-12-22) running on a
FC-8 linux machine.
Here is what I am trying to do:
##----------------------------------------------------------------------------
R> ###Prob 6 Chapter 3 Use R! Applied Econometrics with R (Kleiber
2012 Oct 10
6
Exporting summary plm results to latex
Dear all,
I am trying to export my fixed effect results to Latex. I am using the plm package with the summary function. However, it does not look like apsrtable, stargazer, or any other package can accompany using the plm package.
I am interested in a classic table with the coefficient in one row followed by the standard error in paranthesis in the next row and stars by the coefficient to show
2009 Jul 09
2
plm Issues
Hi List
I'm having difficulty understanding how plm should work with dynamic
formulas. See the commands and output below on a standard data set. Notice
that the first summary(plm(...)) call returns the same result as the second
(it shouldn't if it actually uses the lagged variable requested). The third
call results in error (trying to use diff'ed variable in regression)
Other info:
2013 Sep 04
2
Attribute Length Error when Trying plm Regression
Hello,
I am trying to run a fixed effects panel regression on data containing 5
columns and 1,494 rows.
I read the data in as follows:
>drugsXX<-read.csv(file="C:\\Folder\\vX.X\\Drugs\\drugsXX_panel.csv",
head=TRUE, sep=",")
Verified it read in correctly and had a good data.frame:
>dim(drugsXX)
[1] 1494 5
>drugs XX
produce expected data with correct column
2009 Aug 03
1
plm summary error
Dear "plm"-Package insiders,
[I posted the following observation is April already but unfortunately I am not aware of any answers.
With the hope that someone found an answer in the mean time, I ask again:]
I realized the following difficulty with the summary.plm function (demonstrated with the example from the ?plm documentation).
library(plm)
data("Produc",
2010 May 24
1
Fixed Effects Estimations (in Panel Data)
dear readers---I struggled with how to do nice fixed-effects
regressions in large economic samples for a while. Eventually, I
realized that nlme is not really what I needed (too complex), and all
I really wanted is the plm package. so, I thought I would share a
quick example.
################ sample code to show fixed-effects models? in R
# create a sample panel data set with firms and years
2012 Mar 08
1
Panel models: Fixed effects & random coefficients in plm
Hello,
I am using {plm} to estimate panel models. I want to estimate a model that
includes fixed effects for time and individual, but has a random individual
effect for the coefficient on the independent variable.
That is, I would like to estimate the model:
Y_it = a_i + a_t + B_i * X_it + e_it
Where i denotes individuals, t denotes time, X is my independent variable,
and B (beta) is the
2009 May 08
1
plm: plm.data vs pdata.frame
Hello,
I am trying to use the plm package for panel econometrics. I am just
trying to get started and load my data. It seems from most of the
sample documentation that I need to use the pdata.frame function to
get my data loaded. However, even after installing the "plm" package,
my R installation cannot find the function. I am trying to follow the
example in plmEN.pdf (
2009 Nov 09
3
Bug in all.equal() or in the plm package
Hi!
I noticed that there is a (minor) bug either the command all.equal()
or in the "plm" package. I demonstrate this using an example taken
from the documentation of plm():
======================================
R> data("Produc", package="plm")
R> zz <- plm(log(gsp)~log(pcap)+log(pc)+log(emp)+unemp,
+ data=Produc,
2020 Sep 21
2
ceph vfs can't find specific path
Hello
Using two file server with samba 4.12.6 running as a CTDB cluster and trying to share a specific path on a cephfs. After loading the config the ctdb log shows the following error:
ctdb-eventd[248]: 50.samba: ERROR: samba directory "/plm" not available
Here is my samba configuration:
[global]
clustering = Yes
netbios name = FSCLUSTER
realm = INT.EXAMPLE.COM
registry
2018 Feb 11
2
Hausman test
Hello,
I have a problem with Hausman test. I am performing my analysis with these
commands:
> library(plm)
> data<-read.csv2("paolo.csv",header=TRUE)
> data<
pdata.frame(data,index=c("FIRM","YEAR"),drop.index=TRUE,row.names=TRUE)
>
RECEIV~LSIZE+LAGE+LAGE2+CFLOW+STLEV+FCOST+PGROWTH+NGROWTH+TURN+GPROF+GPROF2
>
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
2012 Apr 26
1
PLM package PGGLS strange behavior
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 "pooling" model. I would, however, really like to estimate the
random
2009 Nov 27
3
problem with "dynformula" from "plm" package
Hello list,
I'm following the paper (http://www.jstatsoft.org/v27/i02/paper) on how to
use "plm" to run panel regressions, and am having trouble with what I
believe should be something very basic.
When I run the command (p.9 in the paper):
R>
dynformula(emp~wage+capital,log=list(capital=FALSE,TRUE),lag=list(emp=2,c(2,3)),diff=list(FALSE,capital=TRUE))
I see:
emp ~ wage +
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|)
2010 Mar 16
2
plm "within" models: is the correct F-statistic reported?
Dear R users
I get different F-statistic results for a "within" model, when using
"time" or "twoways" effects in plm() [1] and when manually specifying
the time control dummies [2].
[1] vignette("plm")
[2] http://cran.r-project.org/doc/contrib/Farnsworth-EconometricsInR.pdf
Two examples below:
library("AER")
data("Grunfeld", package =
2011 Feb 10
1
Longitudinal Weights in PLM package
Hi all,
I a semi-beginner with R and I am working with the plm package to examine a
longitudinal dataset. Each individual in this dataset has a longitudinal
weight for the probability that he or she remains in the sample.
Unfortunately, I have not found an argument to use weights in the plm
function? I tried ?weights=? like in standard lm or in nlme or lm4 but it
does not work. I asked the
2010 Mar 10
1
Trouble with plm in Ubuntu 9
Hello,
Apologies in advance if this is a stupid question. I am running R on Ubuntu
9.
R version 2.9.2 (2009-08-24)
I am trying to work with plm. I think the library is installed, as I can do
> library(plm)
Loading required package: kinship
Loading required package: survival
Loading required package: splines
Loading required package: nlme
Loading required package: lattice
[1] "kinship
2011 Nov 21
1
Problems using log() in a plm() regression.
hey guys
I have a panel data set that i want to perform some regressions on. I am
using the /plm/ package.
I defined a model in the following way:
PWBw.pool <- plm(*PWB* ~ log(*I_EQON*) + log(*RD*) + ... + *PAGRI*,
data = pfem, na.action=na.exclude, model="pooling")
When i run this it gives the following error (the error remains when i use
other model = "" specifications