Displaying 20 results from an estimated 10000 matches similar to: "Using loops to create matrices where the variables is called with $"
2007 Jul 09
1
ca.jo
Dear R users;
I'm using ca.jo for a VECM model. Is there a way that I can get sd/p-value
to see whether coefficients estimated are statistical significant? Thank
you
Yours,
Yihsu
[[alternative HTML version deleted]]
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 <-
2007 Oct 13
2
a question on impulse responses
Dear R users,
I am using the vars package to calculate the impulse response functions and the forecast error variance decomposition of a VAR model. Unfortunately I do not know whether these functions assume unit or one standard deviation shocks. I tried to look into the code of these functions, but in vain: neither irf, nor vars::irf, nor vars:::irf output the code of the functions. Does someone
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<-
2011 Nov 06
1
VAR and VECM in multivariate time series
Hello to everyone!
I am working on my final year project about multivariate time series. There
are three variables in the multivariate time series model.
I have a few questions:
1. I used acf and pacf plot and find my variables are nonstationary. But in
adf.test() and pp.test(), the data are stationary. why?
2.I use VAR to get a model. y is the matrix of data set and I have made a
once
2007 Sep 12
1
vars package, impulse response functions ??
I am fitting a reduced form VAR model using VAR in the vars library. I have
several endogenous variables, and two exogenous variables. I would like to
explore the effects of a shock to one of the exogenous variables on one of
the endogenous variables. Using irf in the vars library only calculates the
irf for the endogenous variables, this is obviously by design, is there some
theoretical
2009 Mar 09
1
Data Restructuring Question
I think I am overlooking a call or concept in R to help me easily and quickly restructure my data.frame:
Sometimes the data I receive looks like:
VariableName, Run1, Run2, Run3, Location
temp, 15.0, 16.0, 17.0, There
And other times it looks like:
VariableName, Run, Location
temp, 17.0, There
I would like to use the header information in order to be able to
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 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
2007 Oct 12
1
calculate impulse responses
Dear R users,
I need perform structural analysis on a no intercept VAR model. Unfortunately the functions irf.VAR and dfev that come with the MSBVAR package only work with objects output by the reduced.form.var function, which seems to only evaluate VAR models with intercept. Is there a way to suppress the estimation of intercept term in reduced.form.var? Do I need to modify the code, and if I
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")].
2012 Mar 07
1
VECM simulation
Dear members,
I estimated a vector error correction model (VECM) using the "ca.jo"
function in package "urca". I need to simulate the estimated model using R.
I am aware how to simulate a VAR(p) model. Since the VECM is
in difference form, I can't modify the VAR simulation codes to VECM. May
one help me in this regard please?
Thanks
Mamush
[[alternative HTML version
2007 Mar 01
2
How can I use the "GET VARIABLE variablename" in AGI
Hi,All,
I wang to use AGI in asterisk1.4.
AGI file / myperl.agi
#!/usr/bin/perl
use strict;
......
print STDERR "7. Testing GET VARIABLE...";
print "GET VARIABLE EXTEN \"\"\n";
my $result = <STDIN>;
&checkresult($result);
......
when the agi execute; asterisk conosle show that :
AGI Rx << GET VARIABLE EXTEN ""
AGI Tx >>
2010 May 30
1
Calling fft from C
Hi
I have made a R function 'convolve2' for convolution of two real
valued vectors based on Rs 'convolve' with option type="open" - see
below.
(exp.length and irf.length are variables set in another part of the program)
I wish to implement the function convolve2 in C and use it in a
function used from R with .Call - e.g. I need to call fft in C.
All I can find in the
2005 Nov 19
3
cointegration rank
Dear R - helpers,
I am using the urca package to estimate cointegration relations, and I
would be really grateful if somebody could help me with this questions:
After estimating the unrestriced VAR with "ca.jo" I would like to impose
the rank restriction (for example rank = 1) and then obtain the
restricted estimate of PI to be utilized to estimate the VECM model.
Is it possible?
It
2012 Oct 29
6
export variable from bash to R
Dear R experts
This probably seems very easy to you guys, but I'm a beginner and would be
really glad if someone helped me with this:
I am trying to automate the execution of an R script (let's call it
"myscript.R") by passing a variable from a bash script to myscript.R.
I know I can use the command Rscript, but I don't know how to declare in
bash which variable will be
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 Aug 10
1
Interper output from cajorls and VECM
Hi all R users,
I'm finding it a bit hard to interpret the output from the cajorls and VECM
function. I'm trying to model a VECM model with cointegration rank of 6, and
therefore I get the varibles ECT1, ECT2... ECT6 in my output. Are these
representing the estimates for my loading matrix or also denoted the "alpha"
matrix?
Thanks in advanced
Emil
--
View this message in
2014 Aug 04
3
[LLVMdev] LLVM AllocaInst and StoreInst
Hi,
I am trying to write a simple interpreter.
I am trying to generate LLVM IR for assignment operation. The code for the
generation part looks like this
llvm::Value* codeGenSymTab(llvm::LLVMContext& context) {
> printf("\n CodeGen SymTab \n");
> Value *num = ConstantInt::get(Type::getInt64Ty(context), aTable.value,
> true);
> Value *alloc = new
2007 Apr 09
1
How to solve differential and integral equation using R?
Hello,
I want to know if there are some functions or packages to solve differential
and integral equation using R.
Thanks.
Shao chunxuan.
[[alternative HTML version deleted]]