Displaying 20 results from an estimated 2000 matches similar to: "arima with R"
2005 Oct 15
2
regression using a lagged dependent variable as explanatory variable
Hi,
I would like to regress y (dependent variable) on x (independent variable) and y(-1).
I have create the y(-1) variable in this way: ly<-lag(y, -1)
Now if I do the following regression lm (y ~ x + ly) the results I obtain are not correct.
Can someone tell me the code to use in R in order to perform a regression using as explanatory variable a lagged dependent variable?
My best regards,
2006 Apr 14
4
how to count the columns of a data.frame
Hi,
I would like to count the columns of a data.frame. I know how to count the rows, but not the columns.
Can someone tell me how to do it?
My best regards,
Giacomo Moro
---------------------------------
[[alternative HTML version deleted]]
2005 Nov 21
1
arima prediction
x<-c(-1.873....,-0.121) # 23 numerics;
x.arma12 <- armaFit(x ~ arma(1,2))
#estimates y[t]= -0.11465 - 0.23767 y[t-1] - 0.14230 e[t-1] -0.85770 e[t-2] + e[t];
# ? how to predict 46 steps ahead based on 23 data points?
# the following doesn't work since n is in armaSim rather than armaFit;
predict(x.arima12, n.ahead=46)
# Thanks
---------------------------------
2013 May 09
0
[LLVMdev] LoopPass symbol error
Wow, commenting those two lines worked out fine for me, thanks!
On 9 May 2013 09:34, Giacomo Tagliabue <giacomo.tag at gmail.com> wrote:
> Thanks,
> Also, every method inherited by LoopBase causes the same error, while Loop
> methods go smooth.
>
>
> On 9 May 2013 01:05, Andrew Trick <atrick at apple.com> wrote:
>
>>
>> On May 8, 2013, at 7:43 PM,
2013 May 09
2
[LLVMdev] LoopPass symbol error
Thanks,
Also, every method inherited by LoopBase causes the same error, while Loop
methods go smooth.
On 9 May 2013 01:05, Andrew Trick <atrick at apple.com> wrote:
>
> On May 8, 2013, at 7:43 PM, Giacomo Tagliabue <giacomo.tag at gmail.com>
> wrote:
>
> Hello,
> I am building a loop pass following these instructions:
>
2013 May 09
0
[LLVMdev] LoopPass symbol error
On May 8, 2013, at 7:43 PM, Giacomo Tagliabue <giacomo.tag at gmail.com> wrote:
> Hello,
> I am building a loop pass following these instructions: http://llvm.org/docs/WritingAnLLVMPass.html
> Everything works fine, I did it many times for Function Passes, but in the runOnLoopmethod, whenever I call a method of the loop L passed as argument, for example L->begin(), I get the
2013 May 09
2
[LLVMdev] LoopPass symbol error
Hello,
I am building a loop pass following these instructions:
http://llvm.org/docs/WritingAnLLVMPass.html
Everything works fine, I did it many times for Function Passes, but in the
runOnLoopmethod, whenever I call a method of the loop L passed as argument,
for example L->begin(), I get the following error:
opt: symbol lookup error: /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so:
>
2013 May 01
1
[LLVMdev] undefined symbol for LoopPass
Hello,
I am building a loop pass following these instructions:
http://llvm.org/docs/WritingAnLLVMPass.html
Everything works fine, I did it many times for Function Passes, but in the
runOnPass method, whenever I call a method of the loop L passed as
argument, for example L->begin(), I get the following error:
opt: symbol lookup error: /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so:
>
2019 Feb 11
1
assertion failed: (srcleft <= CHARSET_MAX_PENDING_BUF_SIZE)
Op 9-2-2019 om 19:27 schreef Giacomo via dovecot:
> I got a core file this morning.
>
> opening it with gdb I get this:
>
> (gdb) core imap.core
> Core was generated by `dovecot/imap'.
> Program terminated with signal 6, Aborted.
> #0? 0x0000000011c1347a in ?? ()
> (gdb) bt
> #0? 0x0000000011c1347a in ?? ()
> #1? 0x0000000011c13444 in ?? ()
> #2?
2005 Dec 12
3
question about date's
Hi,
Given a frame with calendar date's:
"2005-07-01", "2005-07-02","2005-07-03","2005-07-04","2005-07-05",etc.
I want to extract the following from these dates:
week number
month number
year number
Any ideas how to accomplish this?
Many thanks.
Regards,
Richard
2013 Jan 15
4
Use of CentOS name and logo
Hi.
my name is Giacomo Sanchietti and I'm working for a company called Nethesis.
We are working on a CentOS derived distribution like SME Server.
It's a minimal CentOS with a software layer on top to add a web
configuration interface.
The CD iso, it's a CentOS minimal CD with some extras packages from
centos-base yum group, and a kickstart file to automatize the
installation
2019 Jan 21
2
assertion failed: (srcleft <= CHARSET_MAX_PENDING_BUF_SIZE)
I've just enabled core dumps on the involved FreeBSD system. Let's see if
it dumps something..
Il giorno dom 20 gen 2019 alle ore 19:16 Stephan Bosch <stephan at rename-it.nl>
ha scritto:
> Hi Giacomo,
>
> Op 21/12/2018 om 16:16 schreef Giacomo:
> > The bug happens not very often, it might need a week to get a core file.
>
> Any luck getting a core file?
>
2005 Sep 26
1
create trend variable in a regression using R
Hi,
my name is Giacomo.
I would like to know how to create a Trend variable in a regression using R.
Thank you for your help.
My best regards,
Giacomo
---------------------------------
[[alternative HTML version deleted]]
2013 Apr 05
1
[LLVMdev] Z3 and loadable optimization
I think I am in the first case, but I don't understand something, the -load
option during which command? opt? and which file should I load? libz3.so?
On 5 April 2013 15:32, John Criswell <criswell at illinois.edu> wrote:
> On 4/5/13 3:16 PM, Giacomo Tagliabue wrote:
>
> I created a loadable optimization following the tutorial at
>
2004 Nov 12
2
Simple operation on a subset of data
Sorry for the silly question.
I am trying to perform a simple operation on a subsample of my data
loaded as data and attached:
data<-read.dta(name file)
attach(data)
Say x=1,2 and y=4,5 I want to summarize z only if x=1 & y=4. I thought
that the way to do that would be to
write if((x=1) & (y=4)) summary(z)
butwhen I do this the result I get is for the whole data (irrespective
of
2013 Apr 05
0
[LLVMdev] Z3 and loadable optimization
On 4/5/13 3:16 PM, Giacomo Tagliabue wrote:
> I created a loadable optimization following the tutorial at
> http://llvm.org/docs/WritingAnLLVMPass.html. I want to use the Z3
> library, installed in my system, in my optimization. When I include
> z3++.h (the name of the library) in the code and use its classes, it
> compiles well, but when I try to run it it says:
>
>
2009 Sep 11
1
call Fortran from R
Dear R users,
I have to call fortran program from within R (R 2.8.1 on ubuntu 8.10
machine).
Suppose I have a fortran code like this (this is only a toy model, my
working model is far more complex, but input/output is similar)
DOUBLE PRECISION FUNCTION model(times, alfa, beta)
DOUBLE PRECISION alfa, beta, times
model=beta*sin(times)+alfa*cos(times)
END FUNCTION
which
2013 Apr 05
2
[LLVMdev] Z3 and loadable optimization
I created a loadable optimization following the tutorial at
http://llvm.org/docs/WritingAnLLVMPass.html. I want to use the Z3 library,
installed in my system, in my optimization. When I include z3++.h (the name
of the library) in the code and use its classes, it compiles well, but when
I try to run it it says:
> opt: symbol lookup error: /home/giacomo/llvm/Debug+Asserts/lib/Acsl.so:
>
2004 Feb 17
1
LDAP configuration
Hello,
I've just installed dovecot to replace courier-imap and I've found out it
didn't support some of the typical LDAP userPassword schemes, so I've
written some based on OpenSSL API. Furthermore I noticed that the MD5 one
seems broken. If it isn't a requirement to ship its own implementation of a
crypto algorithm, I would send in a patch to replace schema checks with
2008 May 22
1
How to account for autoregressive terms?
Hi,
how to estimate a the following model in R:
y(t)=beta0+beta1*x1(t)+beta2*x2(t)+...+beta5*x5(t)+beta6*y(t-1)+beta7*y(t-2)+beta8*y(t-3)
1) using "lm" :
dates <- as.Date(data.df[,1])
selection<-which(dates>=as.Date("1986-1-1") & dates<=as.Date("2007-12-31"))
dep <- ts(data.df[selection,c("dep")])
indep.ret1