Displaying 20 results from an estimated 1100 matches similar to: "How to do a trig regression"
2009 Dec 10
1
Need help to forecasting the data of the time series .
Hi,
This is the time series data collected from 2001 to 2008 by every
month.so,there are 96 entries.I have done basic statistics.I need to find a
model fitted to forecast this data.This is the mixedpaper collection for
recycling in the campus.
13251
13754
19061
12631
17414
21350
25384
23646
20312
20740
14007
17175
13910
17191
17113
20250
35003
11975
19665
20490
20436
2011 Jan 05
2
R not recognized in command line
Hello all,
I recently installed rpy2 so that I could use R through Python.
However, R was not recognized in the command line.
So I decided to add it to the PATH variables. But it just doesnt work....
And what I mean by it doesnt work is : No matter what I type at the prompt
in DOS- be it R, Rcmd, R CMD, Rscript- it is not recognized as a command.
Path variables used :
1. %R_HOME% -->
2010 Jul 13
1
Time Variable and Historical Interest Rates
Guys, I wrote to the finance mailing list earlier with my questions but was
directed here.
Sorry for the repeat.
---------------
library(quantmod)
....
now <- Sys.time()
midnight <- strptime() # <---- I want to make this a static variable
that will be equal to 12:00:00 am but I dont know what to put here. I keep
getting NA for everything I do
if(now == midnight) {
2011 Aug 25
1
Autocorrelation using acf
Dear R list
As suggested by Prof Brian Ripley, I have tried to read acf literature. The main problem is I am not the statistician and hence have some problem in understanding the concepts immediately. I came across one literature (http://www.stat.nus.edu.sg/~staxyc/REG32.pdf) on auto-correlation giving the methodology. As per that literature, the auto-correlation is arrived at as per following.
2010 Jul 19
2
Historical Libor Rates
Hello All,
Does anyone know how to download historical LIBOR rates of different
currencies into R?
Or if anyone knows of a website that holds all this data...I only need up to
january of 2000.
Also, how can we make the row names the index of a plot (the names of the x
values)?
[[alternative HTML version deleted]]
2010 Jul 20
5
Help with time in R
Hi,
I have a problem with the time formatting in R. I have entered time in the format "MM:SS.xyz" and R has automatically classified this as a factor, but I need it numerically. However when I use as.numeric() it gives me totally different numbers. Is there any way I can tell R to read thes input as a number?
Thank you very much
[[alternative HTML version deleted]]
2011 Mar 04
3
Análisis de una serie temporal diaria
Hola a todos
Estoy tratando de analizaruna serie temporal con datos diarios de
temperaturas (40 años). He creado un objeto zoo (con ayuda de la lista,
gracias) sobre el que encuentro la regresión lineal. He probado también
a crear un objeto ts a partir del zoo. El problema que encuentro es que
nose puede aplicar la función stl para hallar la componente estacional y
la tendencia. Rdice que la
2012 Apr 25
2
Where to find the p-value of a correlation test
Hey everyone,
I hope this finds you in good cheer.
I just have a quick question: What is the function that outputs the p-value
for correlation?
cor(x,y) only provides the R value. I would like the p-value associated
with it.
Thank you all for your help!
[[alternative HTML version deleted]]
2011 Oct 25
0
How to find seasonal effect and trend from raw data (newbie ...)
Hello,
>From the data provided in the attached file, I would like to find the
seasonal effect and the trend (if there are some) like in page 10 of the
following document:
http://www.statoek.wiso.uni-goettingen.de/veranstaltungen/zeitreihen/sommer03/ts_r_intro.pd
http://www.statoek.wiso.uni-goettingen.de/veranstaltungen/zeitreihen/sommer03/ts_r_intro.pd
f
Small problem: I don't know how to
2005 Apr 24
4
[LLVMdev] trig language-like code generator generator
i'd like to know if there is any plan or existing work to add a Aho's
trig language like code generator generator?
"...If you are starting a new port, we recommend that you write the
instruction selector using the SelectionDAG infrastructure."
any other things i should know before i write one?
thank you.
2002 Aug 16
2
Setting up the trig tables.
As some of you know, I'm creating a hardware MDCT core. At the moment
I'm working out the best way to create a lookup table for the trig
values, as set up in mdct_init:
/* trig lookups... */
for(i=0;i<n/4;i++){
T[i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i)));
T[i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i)));
T[n2+i*2]=FLOAT_CONV(cos((M_PI/(2*n))*(2*i+1)));
2005 Apr 24
2
[LLVMdev] trig language-like code generator generator
http://portal.acm.org/citation.cfm?id=75700
On 4/25/05, Chris Lattner <sabre at nondot.org> wrote:
> On Sun, 24 Apr 2005, Tzu-Chien Chiu wrote:
> > i'd like to know if there is any plan or existing work to add a Aho's
> > trig language like code generator generator?
>
> Trig is a code generator generator? Is there any documentation for it
> available
2005 Apr 24
0
[LLVMdev] trig language-like code generator generator
On Sun, Apr 24, 2005 at 07:15:03PM +0800, Tzu-Chien Chiu wrote:
> i'd like to know if there is any plan or existing work to add a Aho's
> trig language like code generator generator?
I'm not aware of either the trig language code generator nor any work to
implement it in LLVM.
> "...If you are starting a new port, we recommend that you write the
> instruction
2005 Apr 24
0
[LLVMdev] trig language-like code generator generator
On Sun, 24 Apr 2005, Tzu-Chien Chiu wrote:
> i'd like to know if there is any plan or existing work to add a Aho's
> trig language like code generator generator?
Trig is a code generator generator? Is there any documentation for it
available anywhere?
-Chris
> "...If you are starting a new port, we recommend that you write the
> instruction selector using the
2005 Apr 24
0
[LLVMdev] trig language-like code generator generator
On Mon, 25 Apr 2005, Tzu-Chien Chiu wrote:
> http://portal.acm.org/citation.cfm?id=75700
Oh, tWig. :) Yes, tree pattern matching is exactly the direction we are
heading. We are slowly making the code generators more and more
automatically generated as time goes on. The SelectionDAG infrastructure
is mean to support exactly this (perform Tree or DAG pattern matching on
the optimized DAG
2006 Oct 02
1
Trig.Rd typo (PR#9269)
Full_Name: Robin Hankin
Version: 2.4.0 RC
OS: MacOSX 10.4.7
Submission from: (NULL) (139.166.242.29)
The first cut line described in Trig.Rd for asin() is incorrect in the ascii
version of the manpage.
The Rd file reads:
For \code{asin()} and \code{acos()}, there are two cuts, both along
the real axis: \eqn{\left(-\infty, -1\right]}{\(-Inf, 1\]} and
Note the inconsistency between the
2009 Jul 14
4
Trig functions strange results
I am trying to calculate coordinate transformations and in the process of debugging my code using debug I found the following
Browse[1]> direction[i]
[1] -1.570796
Browse[1]> cos(direction[i])
[1] 6.123032e-17
Browse[1]> cos(-1.570796)
[1] 3.267949e-07
Browse[1]> direction[i]
[1] -1.570796
Browse[1]> cos(direction[i])
[1] 6.123032e-17
Browse[1]> cos(-1.570796)
[1] 3.267949e-07
2005 Apr 25
4
[LLVMdev] trig language-like code generator generator
i'd like to know what progress you guys have made (not on cvs?).
i don't want to re-invent wheels, and the existing many code generator
generators. i am evaluating many possbile code generation libraries.
at present i give me preferrence to "Prop":
http://www.cs.nyu.edu/leunga/www/prop.html
and it's portable too.
are there any other good library you could recommend?
2005 Apr 25
0
[LLVMdev] trig language-like code generator generator
On Mon, 25 Apr 2005, Tzu-Chien Chiu wrote:
> i'd like to know what progress you guys have made (not on cvs?).
Everything is in CVS. Noone is currently working on automating the
pattern matching generator process yet. Before doing that, there are a
few changes we want to make to the SelectionDAG interface. In particular,
right now, the selection process basically works like this:
#1.
2005 Apr 25
1
[LLVMdev] trig language-like code generator generator
the proposed architecture (chris) doesn't seem to attack the phase
ordering problem. through having independent instruction selection,
instruction scheduling, and register allocation phases faciliate a
modular design, but i believe the phase-coupled code generator
generator high quality code on many architectures. espeically in the
embedded system like a media/dsp processors with very limited