similar to: Default parameter values in R functions?

Displaying 20 results from an estimated 5000 matches similar to: "Default parameter values in R functions?"

2011 Mar 30
1
VECM with UNRESTRICTED TREND
Dear All, My question is: how can I estimate VECM system with "unrestricted trend" (aka "case 5") option as a deterministic term? As far as I know, ca.jo in urca package allows for "restricted trend" only [vecm <- ca.jo(data, type = "trace"/"eigen", ecdet = "trend", K = n, spec = "transitory"/"longrun")].
2008 Mar 20
1
Cointegration no constant
Hi, I am trying to estimate a VECM without constant using the following code: data(finland) sjf <- finland sjf.reg<-ca.jo(sjf, type = c("eigen"), ecdet = c("none"), K = 2,spec=c("transitory"), season = NULL, dumvar = NULL) cajools(sjf.reg) While the cointegration test does not use a constant, it is used in the cajools which I do not want. I am sure I am
2011 Nov 11
1
Fwd: Use of R for VECM
----- Forwarded Message ----- From: vramaiah at neo.tamu.edu To: "bernhard pfaff" <bernhard.pfaff at pfaffikus.de> Sent: Friday, November 11, 2011 9:03:11 AM GMT -06:00 US/Canada Central Subject: Use of R for VECM Hello Fellow R'ers I am a new user of R and I am applying it for solving Bi-Variate (Consumption and Output) VECM with Co-Integration (I(1)) with three lags on
2011 Apr 29
1
question of VECM restricted regression
Dear Colleague I am trying to figure out how to use R to do OLS restricted VECM regression. However, there are some notation I cannot understand. Please tell me what is 'ect', 'sd' and 'LRM.dl1 in the following practice: #OLS retricted VECM regression data(denmark) sjd <- denmark[, c("LRM", "LRY", "IBO", "IDE")] sjd.vecm<-
2012 May 25
2
Collecting results of a test with array
Dear contributors I have tried this experiment: x<-c() for (i in 1:12){ x[i]<-list(cbind(x1[i],x2[i])) #this is a list of 12 couples of time series I am using to perform a test } # that compares them 2 by 2 # ################# #trace statistic test<-data.frame() cval<-array( , dim=c(2,3,12)) for (i in 2:12){ for (k in 1:2){ for (j in 1:3){ result[k,j,i]<-
2010 Nov 30
3
saving multiple panes to PNG
After searching multiple combinations of keywords over the past two days and downloading n R graphics tutorials, I have not been able to find anything online or in my R books about how to save multiple plot panes to PNG. Specifically, I am using the irf() function in the vars package to generate plots of Impulse Response Functions: > x.data <-
2011 Apr 16
1
cajolst
Dear R users, I am quite new to R, so most of the problems I've encountered working with it are technical, absurd or simple things. Sorry. Despite this, I am struggling with cajolst function for a day and still nothing. The problem is that I can't get an estimate for the break point (which is in the slot "bpoint") by using cajolst function. Finally, I've tried Johansen and
2005 Feb 25
1
summary method in URCA package doesn't work
I can't figure out how to get the "summary" method in the URCA package to work. E.g. when I use the following code fragment in the help for the "ca.jo" function, it always tries to use the "summary" method from the "base" package, not the "urca" package. How do I force it use the "summary" method of the "urca" package?
2012 Apr 03
1
object of type 'S4' is not subsettable
hey there! The object 'cit' contains: > cit ##################################################### # Johansen-Procedure Unit Root / Cointegration Test # ##################################################### The value of the test statistic is: 5.3484 9.0681 10.6433 --------------- I want R to save the value 5.3484 in a new object. I am used to use the command x=cit[a] where a
2007 Aug 30
2
possible bug in vars package (predict.varest) ???
hello, I have been trying to use the predict function in the vars package to forecast from a seasonal VAR model. The following code sample illustrates what I am trying to do and the error that I get when trying to do it. I run the following code, that results in the following error: data(Canada) endoC <- Canada[1:72,1:3] exoC <- Canada[1:72,4] var.2c <- VAR(endoC, p = 2,
2006 Jul 10
2
''uninitialized constant'' error
Hi All, I am fairly new to Ruby and backgroundRB. I am trying to run a simple example in Windows to get my feet wet with backgroundRB and am running into an ''uninitialized constant'' error when I invoke the controller on my rails app. In ''MyTest'' Controller ------------------- def longrun session[:job_key] = MiddleMan.new_worker(:class =>
2010 Dec 01
0
Beta values ca.jo
Hello Anyone know how can I calculate the value of the beta parameter when I know the number of cointegrating relationships between two variables. I mean, I using the procedure: ca.jo I do the following: summary (ca.jo (UR [, c (2.52)], type = "trace" ECDET = "trend", K = 2, spec = "longrun")) given that there is a cointegration relationship as I can get the
2012 Nov 21
0
Question about VAR (Vector Autoregression) in differences.
Folks, I have been using the VAR {vars} program to find a fit for the following bi-variate time series (subset): bivariateTS<-structure(c(0.950415958293559, 0.96077848972081, 0.964348957109053, 0.967852884998915, 0.967773510751625, 0.970342843688257, 0.97613937178359, 0.980118627997436, 0.987059493773907, 0.99536830931504, 1.00622672085718, 1.01198013845981, 1.01866618122606,
2011 Jan 13
2
standard errors in johansen test
Dear all, I have a question. How to get the standard errors of alpha and beta when using "ca.jo" to test cointergration? In the paper by Bernhard Pfaff and Kronberg im Taunus “VAR, SVAR and SVEC Models: Implementation Within R Package” pp.24-25. The standard errors are listed on the table 5 following the code: R> vecm.r1 <- cajorls(vecm, r = 1) I tried this in my Mac R, but
2010 Feb 07
1
Out-of-sample prediction with VAR
Good day, I'm using a VAR model to forecast sales with some extra variables (google trends data). I have divided my dataset into a trainingset (weekly sales + vars in 2006 and 2007) and a holdout set (2008). It is unclear to me how I should predict the out-of-sample data, because using the predict() function in the vars package seems to estimate my google trends vars as well. However, I want
2011 Nov 01
3
[LLVMdev] Git mirror very slow
14 KB/s now. Yesterday 40 KB/s. Is that transitory or there is no enough bandwidth on llvm.org?
2012 Apr 19
2
Is the eigen-value decomposition in R generally stable/reliable for large matrix?
Say a matrix of size of thousands? I am looking for an eigen-value decomposition algo in R to give good eigenvalues... Is that a hopeful thing? Thank you! [[alternative HTML version deleted]]
2023 Nov 04
2
EPYC Quantum 1500va
Good Evening, I recently purchased an EPYC quantum UPS. I installed NUT on the home assistant by connecting the UPS via USB and tried all the various drivers in the list, the only one that seems to work is: usbhid-ups with this log: s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service base-addon-banner: starting
2011 Jan 31
1
Re: e-sword under a tiling WM
ngoonee wrote: > > vitamin wrote: > > > > ngoonee wrote: > > > Well, why does my WM know about other wine apps but not e-sword? > > > > Popup, tooltip, and like windows (most windows without caption) are created as unmanaged. It all depends on what kind of windows program is using. > > > I don't think e-sword is an unmanaged window. It has a
2011 Nov 01
0
[LLVMdev] Git mirror very slow
Hi Oscar, > 14 KB/s now. Yesterday 40 KB/s. > Is that transitory or there is no enough bandwidth on llvm.org? Something is wrong on your side: $ git clone http://llvm.org/git/llvm.git Cloning into llvm... remote: Counting objects: 607409, done. remote: Compressing objects: 100% (118270/118270), done. Receiving objects: 2% (13924/607409), 3.87 MiB | 402 KiB/s -- With best regards, Anton