similar to: panel question (plm)

Displaying 5 results from an estimated 5 matches similar to: "panel question (plm)"

2009 Mar 04
1
dividing ts objects of different frequencies
Hello, I have two time series objects, 1 is yearly (population) and the other is quarterly (bankruptcy statistics). I would like to produce a quarterly time series object that consists of bankruptcy/population. Is there a pre-built function to intelligently divide these time series: br.ts = ts(data=br.df[,-1], frequency = 4, start=c(2001,1), end=c(2008,2)) distPop.ts = ts(data=distPop.df[,-1],
2009 May 13
4
matching period with perl regular expression
Hello, I have several strings where I am trying to eliminate the period and everything after the period, using a regular expression. However, I am having trouble getting this to work. > x = "wa.w" > gsub(x, "\..*", "", perl=TRUE) [1] "" Warning messages: 1: '\.' is an unrecognized escape in a character string 2: unrecognized escape removed
2009 Jun 12
1
xtable for plm objects
Hello, I am trying to use Sweave to write up a report, and I have used the plm package to do some panel models. I am trying to use xtable to make a nice table for my regression objects (returned by the plm command), but I am getting the error: Error in UseMethod("xtable") : no applicable method for "xtable" It seems like I would want to have xtable treat plm objects exactly
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 Mar 12
3
can I draw 3D plot like this using R?
hi, all I am looking at R package RGL to draw a colored mesh/surface plot like this one (from matlab). http://www.mathworks.com/access/helpdesk/help/techdoc/visualize/cbar.gif The key features I am looking for is surfaced with grid and color, but not the terrain-like gradient. but I didn't come even close to it after browsing through rgl help file. have anyone drawn something like this