search for: emp

Displaying 20 results from an estimated 102 matches for "emp".

Did you mean: ebp
2010 May 06
1
question about rolling regressions
...buntu machine. I have a time series data set and want to run rolling regressions with it. Any suggestions would be useful. Here are the details: (1) I convert relevant variables into time series objects and compute first differences: vad <- ts(data$ALLGVA/data$GDPDEF, start=1948, frequency=1) emp <- ts(data$ALLEMP, start=1948, frequency=1) vad.dif1 <- diff(vad) emp.dif1 <- diff(emp) (2) I make a data set: d <- ts.union(emp.chng=emp.dif1,lag.emp.chng=lag(emp.dif1,-1),twolag.emp.chng=lag(emp.dif1,-2), vad.chng=vad.dif1,lag.vad.chng=lag(vad.dif1,-1),twolag.vad.chng=lag(vad.dif1,...
2009 Nov 27
1
problem with "dynformula" from "plm" package [RE-POST]
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 + capital rather than the complete model that is given in the paper: log(emp) ~ lag(log(emp), 1) + lag(log(emp), 2) + lag(log(wage), 2) + lag(log(wage), 3) + diff(capital, 2) + diff...
2010 Jan 25
3
Issue using tapply
Hello all, I am trying to use the tapply function to sum some values and change the column names of the resulting vector. I input Emp Et 1 10565 ACC 2 7515 ADM 3 625 AGF 4 6243 CNS 5 12721 EDU 6 3924 FIN 7 18140 HLH 8 3686 INF 9 15841 MFG 10 243 MIN 11 1864 MNG 12 4664 OSV 13 5496 PRF 14 4988 PUB 15 2166 REC 16 2153 REL 17 16082 RTL 18 3582 TRN 19 757 UTL 20 5818 WHL and i want to aggregate certain ty...
2006 Jul 06
4
Oracle HR on Rails
Interesting read...apologies if it has been posted already. http://www.oracle.com/technology/pub/articles/saternos-rails.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060706/619e650a/attachment.html
2005 Mar 08
1
To convert an adjacency list model into a nested set model
...Albert / \ / \ Bert Chuck / | \ / | \ / | \ / | \ Donna Eddie Fred in an adjacency list model: > emp=c("Albert", "Bert", "Chuck", "Donna", "Eddie", "Fred") > boss=c(NA, "Albert", "Albert", "Chuck", "Chuck", "Chuck") > print(Personnel<-data.frame(emp, boss)) emp boss 1 Alber...
2009 Jan 21
0
trouble switching to 'plm' from 'xtabond' and Stata
Hello, I am switching to R from 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 "Ho...
2009 Mar 18
2
geometric mean of probability density functions
Hi, This is my first time posting to the mailing list, so if I'm doing something wrong, just let me know. I've taken ~1000 samples from 8 biological replicates, and I want to somehow combine the density functions of the replicates. Currently, I can plot the density function for each biological replicate, and I'd like to see how pool of replicates compares to a simulation I conducted
2016 Jun 24
3
Ayuda ggplot2
Hola a todos! Soy nueva en R y necesito hacer unos gráficos para una investigación, he explorado un poco y estoy intentando usar ggplot2 ya que hace gráficos de muy buena calidad...tengo los datos de varios años para diferentes grupos de empresas y los pretendo graficar tanto en un solo grafico como en varios (facet_wrap) pero tengo problemas con el eje de las X, ya que necesito que aparezcan los años es decir, 2003, 2004 y así ....y no X2003, X2004 que es como están apareciendo. Este es mi código: library(reshape2) library(ggplot2)...
2011 Feb 02
2
Efficient way to determine if a data frame has missing observations
I have a data set covering a large number of cities with values for characteristics such as land area, population, and employment. The problem I have is that some cities lack observations for some of the characteristics and I'd like a quick way to determine which cities have missing data. For example: city<-c("A","A","A","B","B","C") var<-c("...
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 gen...
2007 Aug 04
1
ActiveRecord gotcha with references?
I have this situation: class Employee < ActiveRecord::Base belongs_to :designation end class Designation < ActiveRecord::Base end I do the following at the irb console: Step 1: Find an employee >> emp = Employee.find 3 => #<Employee:0x35a7d34 @attributes={"designation_id"=>"3", &quot...
2012 Mar 03
1
Problem running stepAIC within a function.
...) (variable 4) is 4271 != length of others (4278) I got the function to output the length of the dataset and weights, which were both 4271. When I remove "weights=w" from the code. StepAIC start's running, but then I get the following error: Problem in stepAIC(lm(new ~ -1 + SIC3 + emp, data =..: number of rows in use has changed: remove missing values? I checked the data for missing values and there are none. I can't understand why the code works fine on it's own, but not in a function. -------------------------------- #Mean imp and results regimp <- function(...
2011 Sep 08
8
acts_as_solr problem ActsAsSolr::SearchResults:
hi, i am using acts_as_solr plugin when i tried with search by def search puts "#####################" # ids = params[:name] @id = params[:query] @emp = Employee.find_by_solr(@id) puts "------------------------------#{@emp}" respond_to do |format| format.html{render :action => ''search''} format.xml end end in my model i gave acts_as_solr :fields => [ :name ] when i tried with search...
2003 Jun 18
2
Forward stepwise procedure w/ stepAIC
I'm attempting to select a model using stepAIC. I want to use a forward selection procedure. I have specified a "scope" option, but must not be understanding how this works. My results indicate that the procedure begins and ends with the "full" model (i.e., all 17 independent variables)...
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 + capital rather than the complete model that is given in the paper: log(emp) ~ lag(log(emp), 1) + lag(log(emp), 2) + lag(log(wage), 2) + lag(log(wage), 3) + diff(capital, 2) + diff...
2006 Mar 24
3
Polycom 601 Message Center
While I know this is not a true asterisk problem, I figure someone where may know. When you click on Messages and it gives you the count of Urgent, New, etc. How can you make the phone gather that information? For example, my phone shows me there is an e-mail. It also sends an e-mail. Yet, when I click on message before I connect to the contact center, it doesn't have any counts. Here is
2013 Oct 10
0
Using calibrate for raking (survey package)
...2,1,2,2,2,2,2,2,2,3,2,2,1,3,2,2,2,3,2,2,2, 3,1,2,1,2,2,1,2,2,2,2,2,2,1,2,2,3,1,2,2,2,2,2,2,2, 2,3,1,1,2,1,2,2,2,2,2,2,2,2,1,3,2,2,2,1,2,1,1,2,1, 2,1,1,2,2,2,2,2,2,2,2,3,2,1,2,1,1,2,3,3,1,3,3,2,2, 2,2,2,2,2,2,2,3,2,3,3,2,2,2,3,1,2,1,2,3,2,2,2,3,2) emp.dat <- data.frame(Gender = factor(Gender, labels = c("M", "F")), Age = factor(Age, labels = c("<30", "30-44", "45 +")), satisfy) pop.gender <- data.frame(Gender = c("M", "F"),...
2009 Aug 25
2
allowing line wrap for long strip text in xyplot (lattice)
Hi. Am brand new to R and to mailing lists - have never posted anywhere before, so hope I do this right. Am using R 2.9.1 with lattice graphics (just installed, fully up to date). Am doing trellis xyplot with y (emp=employment), x (yearmo=a time measure) and conditioning variable (indf - factor describing industry) -- i.e., (emp ~ yearmo | indf), where all three variables are in a dataframe. The conditioning variable is a factor with a long text description (e.g., "Offices of bank holding companies and of...
2005 Nov 23
15
:conditions => ... formatting
With code like: if @params[:pnumber] =~ /\s*p?(\d+)\s*/ if student = Student.find_first(:conditions => ["pnumber like \":pnumber%\"", {:pnumber => $1}]) @borrower = student elsif emp = Employee.find_first(:condiwions => ["pnumber like \"?\"", {:pnumber => $1}]) @borrower = emp else @flash[:note] += "Nobody matching #{@params[:pnumber]}" end end in particular, the second if, then why would I get erro...
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