Displaying 20 results from an estimated 400 matches similar to: "question about rolling regressions"
1998 May 19
4
smbclient problem
Hi,
yes, it is. Anyway, below are some of the diagnostics I have tried.
Linux box Win95 Box
========= ===========
hostname: saturn tempest
ip: 192.168.0.2 192.168.0.1
Below are the diagnostics that I have tried and I ahve logged them:
1. From
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 +
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
2005 Mar 08
1
To convert an adjacency list model into a nested set model
Dear R-help
I am wondering if somebody wrote some code to convert an adjacency list
model into a nested set model.
In principal I want to do the same as John Celko mentioned it here with
SQL:
http://groups.google.co.uk/groups?hl=en&lr=lang_en&selm=8j0n05%24n31%241
%40nnrp1.deja.com
Assume you have a tree structure like this
Albert
/ \
/
2003 Nov 03
0
mva Hclust, heatmap and plotting functions
Hi All
Not sure if this a bioconductor question or general R mailing list
so apologies if this has gone to the wrong one.................
When plotting dendrograms created by hclust you can "identify" clusters
by clicking on the graphics and returning a list of what is contained in
each cluster. However I'd like to be able to "zoom in" on specific
clusters and plot
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:
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)...not
what I expected. Could someone please point out what I'm not
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
2007 Jan 08
1
Multivariate OLS
Dear all R users,
Suppose I have a VECTOR of time series y[t] consists of 2000 data point. For example suppose I have data frame which has two columns. First column represents a time series of exchange rate for 2000 days. And the second column represents the price of a commodity for the same period. Now I want to fit a OLS regression like that,
y[t] = a + b*delta[y[t-1]] + c*delta[y[t-2]] +
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
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
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", "id"=>"3",
2004 Mar 05
1
question on integrate function & request for consultant
Dear R helpers,
i am using the ecdf(emp. cumulative distribution function,and am getting the following error on daily returns of stock data (about 2000 data points). I am not sure what this means, I would expect the result of the code to be 1 (the integral from -infinity to +infinity of the emp. cumulative distribution). Also when I try to integrate a smaller subset(from say 0 to 1, i get an
2011 Sep 09
2
acst_as_solr error
hi,
i am using https://github.com/mattmatt/acts_as_solr
it shows the following error
"undefined method ''each'' for "
for this
results = Employee.find_by_solr(@id)
results.each do |emp|
puts emp.id
end
where plugin does not contains "each" method in acts_as_solr/libs/
search_results.rb
so for me each is not working with ActsAsSolr::SearchResults
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",
2011 Nov 13
1
libary(Rweka) J48 design tree
Hello everybody
I'm having some difficulties to design the decision tree algorithm J48.
I am using the following code and when I run it gives me the following
message
plot(m1)
Error in plot.Weka_tree(m1) :
Plotting of trees with multi-way splits is currently not implemented.
#The code
library(RWeka)
library(randomForest)
library(party)
if(require(mlbench, quietly = TRUE) &&
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
2012 Nov 23
2
Barplot with lines
Hi,
I'm trying to plot stacked barplot with lines on it. Here is the data.
emp days val1 val2 score
1 21 1 0 1200
2 35 1 1 na
3 42 na na 3000
4 53 2 1 2100
5 64 1 0 na
6 73 na na 1400
My X-axis is days. I'm looking to plot val1,val2 as stacked bars and score
as lines with different y-axis. I could get the bar plot and lines on it
but the problem is the bars and lines are not aligning
2010 Feb 25
4
different types graphs
>library(RODBC)
>ch<- odbcConnect("durga")
> sqlQuery(ch, paste("SELECT * from emp"))
>sqlQuery(ch, ("SELECT * from xyz"))
store revenue year_y
1 bigbazar 787875 2008
2 more 87876 2008
plot(revenue ~ year_y, data=xyz, pch=16)
can i get any diffrent types of graphs like pie charts, bar
2006 Jun 28
3
ERb question with xml
In the rdoc there''s an example:
xml.em { xml.b("emp & bold") }
Which produces:
<em><b>emph & bold</b></em>
But what if I wanted to nest tags with text, i.e.:
<em>just emph and <b>emph & bold</b></em>
?
I''ve messed around with it and have only gotten bizzare results or
nothing displayed at all -