Displaying 20 results from an estimated 500 matches similar to: "Egarch (1,1) with Student t distribution in RExcel"
2012 Oct 22
1
Egarch (1,1) with Student t distribution using rugarch
Hi
I was trying to implement Egarch (1,1) with Student t distribution using rugarch. But I was not getting any value.
Following were the commands that I was using:
library(rugarch)
spec=ugarchspec(variance.model=list(model="eGARCH", garchOrder=c(1,1)), mean.model=list(armaOrder=c(1,1), arfima=FALSE), distribution.model="std")
fit=ugarchfit(data=b,spec=spec)
sigma(fit)
May I
2013 Mar 12
1
rugarch: GARCH with Johnson Su innovations
Hey,
I'm trying to implement a GARCH model with Johnson-Su innovations in order to simulate returns of financial asset. The model should look like this:
r_t = alpha + lambda*sqrt(h_t) + sqrt(h_t)*epsilon_t
h_t = alpha0 + alpha1*epsilon_(t-1)^2 + beta1 * h_(t-1).
Alpha refers to a risk-free return, lambda to the risk-premium.
I've implemented it like this:
#specification of the model
2011 Dec 06
1
rugarch package: is this forecast correct?
Let me start with the code:
library(quantmod)
library(rugarch)
getSymbols("SPY", from="1900-01-01")
rets=na.trim(diff(log(Cl(SPY))))
tt = tail(rets["/2004-10-29"], 1000)
spec = ugarchspec(variance.model=list(garchOrder=c(1,1)),
mean.model=list(armaOrder=c(2,5)), distribution.model="sged")
for(ii in 1:10)
{
   ttFit = ugarchfit( spec=spec,
2012 Sep 18
0
"rugarch" package
My code:
spec<-ugarchspec(variance.model = list(model = "sGARCH", garchOrder = c(1,
1), submodel = "Null", external.regressors = NULL, variance.targeting =
FALSE), mean.model = list(armaOrder=c(0,0),include.mean =FALSE, archm =
FALSE, archpow = 1, arfima = FALSE, external.regressors = NULL, archex =
FALSE), distribution.model = "norm", start.pars = list(),
2010 Sep 13
0
Help with ugarchspec function
Hi
I am using the ugarchspec function from the rgarch package to fit a mean
variance model jointly. Following is the code I'm using:
> spec = ugarchspec(variance.model = list(model="eGARCH",
garchOrder=c(1,1)), mean.model = list(armaOrder=c(1,1)))
On doing this, I get the following error:
Error in ugarchspec(variance.model = list(model = "eGARCH", garchOrder =
c(1, 
2011 Sep 20
1
Data
Hey everybody,
i am using the rugarch-package and its great! 
I have a pretty easy problem, but i just dont get it, so thanks if you can
help me. 
Normally i use: 
/
data(DATANAME)
spec = ugarchspec()
fit = ugarchfit(data = x[,1], spec = spec)
fit
slotNames(fit)
names(fit at fit)
coef(fit)
infocriteria(fit)
likelihood(fit)
nyblom(fit)
signbias(fit)
head(as.data.frame(fit))
head(sigma(fit))
2018 May 22
0
DCC model simulation in R
Hi,
I have used R rmgarch package to implement EGARCH ADCC model from which I
can extract conditional covariance matrix. Now I would like to introduce
positive and/or negative shocks to see the asymmetric response of
covariance. I have come to know that impulse response function (IRF) or
volatility IRF is not compatible for any asymmetric models, therefore, the
only way to introduce shocks into
2012 Sep 05
1
run EGARCH package on REXCEl
Hi,
I have limited experience on R and recently started using REXcel. Although I have been able to run both simple functions (like mean etc) and some complex ones (like Principal Component analysis, PCA) using RExcel, I am facing some problems while running EGARCH model. For this I have downloaded the 'betategarch' package for R to run EGARCH with student t dist. Although the package has
2012 Mar 20
1
What is the correct syntax of "for" or "if" in Rexcel
Hello thankful R friends,
Can I use iteration (for) or conditional (if) syntax in rexcel using rrun?
I've finished coding my program and want to run through Excel.
I just want to run such as
Call rinterface.RRun("for(i in 1:10){")
Call rinterface.RRun("a[i,1]<-i")
Call rinterface.RRun("}")
But it doesn't work.
Any solution or trick to use "for"
2017 Jun 07
0
Getting forecast values using DCC GARCH fit
Hi,
I am trying to fit a multivariate time series model using DCC GARCH model
and forecast it.
The data looks like this:
> head(datax)
                    x   vibration_x     Speed
1 2017-05-16 17:53:00      -0.132  421.4189
2 2017-05-16 17:54:00      -0.296 1296.8882
3 2017-05-16 17:55:00      -0.572    0.0000
4 2017-05-16 17:56:00      -0.736 1254.2695
5 2017-05-16 17:57:00       0.000   
2017 Jun 07
0
Getting forecast values using DCC GARCH fit
Hi,
I am completely new to GARCH models and trying to fit a multivariate time
series model using DCC GARCH model and forecast it.
The data looks like this:
> head(datax)
                    x   vibration_x     Speed
1 2017-05-16 17:53:00      -0.132  421.4189
2 2017-05-16 17:54:00      -0.296 1296.8882
3 2017-05-16 17:55:00      -0.572    0.0000
4 2017-05-16 17:56:00      -0.736 1254.2695
5
2004 Oct 06
1
RExcel : problem with error handler?
Dear R-help,
Call RInterface.StartRServer      ' Works fine
Call RInterface.RRun("objects()")		' Works fine
Call Rinterface.RRun( other R commands which do not generate errors, the
demos etc ) 	  ' Works fine
But ...
Call RInterface.RRun("doesnotexist")	' Sends Excel into endless loop it
appears
After about 90 seconds a dialog box appears  "Microsoft
2009 Feb 06
0
RExcel waiting for OLE action
When I run a macro that uses RExcel, I get a dialog box that says 
"Microsoft Excel is waiting for another application to complete an OLE 
action."
There is no error in the RExcel commands in the macro, of that I am sure. 
The box appears to be related to the inclusion of RunRFile commands.
The macro will run through the second RunRFile command, but will not 
execute the
2018 Mar 01
0
RExcel issues
> On Mar 1, 2018, at 2:02 PM, Michael Ashton <m.ashton at enduringinvestments.com> wrote:
> 
> Hi -
> 
> For a while I've used RExcel without problems to run a repeating portfolio optimization problem where I solve for a portfolio allocation targeting a particular risk, then solve for a different risk, etc. I call the commands with (e.g.) rinterface.Rrun "(R
2018 Mar 01
3
RExcel issues
Hi -
For a while I've used RExcel without problems to run a repeating portfolio optimization problem where I solve for a portfolio allocation targeting a particular risk, then solve for a different risk, etc. I call the commands with (e.g.) rinterface.Rrun "(R command)"
Recently that macro started blowing up, returning #RErrors, and when I try to trace the error I find that it is
2005 Jul 01
0
how to code garch-t(1,1),egarch(1,1) and gjr(1,1)
hi,
I try to code garch-t(1,1),egach(1,1) and gjr(1,1) to estimate my data.
How I can code these model with my data (e.g. garch code is
y<-garch(x,order=c(1,1))
best regards,
luck
2011 Apr 01
4
Rexcel path problem
Hi,
I am running a test to call an R script with in excel using VBA. My VBA
code is shown bellow. The middle section of this mail also includes the
content of my Rscript.  The bottom part shows the error message form the
R console.
It seems that Excel is  opening the R console without any problems. 
The problem I am seeing is that Rinterface.RRun  instruction is
interpreting the "\T"
2009 Jan 30
1
run query using rexcel runrfile and rodbc sql query
Hi,
I'm using R-2.8.1 for windows.  I wrote a script calls the RODBC  
package to run sql queries against an oracle database.  It runs fine  
when run from the rconsole and returns a data.frame with a summary for  
a set of experiments.  I want to run this script using the  
rinterface.RunRFile command in an excel plugin, using the rexcel  
package.   When I run the code from my excel plugin I
2011 Sep 09
0
RExcel - RunRFile Errors
Hi,
I am using RExcel and trying to pass a line of code into R. When I select
the cell and choose "Run Code" from the RExcel menu then it seems to work
fine.
The problem I face is a need to write a macro to do this operation, as I
need to set up a user interface in excel for other users who don't know how
to use R.
In R to run my entire code I simply write on line:
2008 Dec 16
1
surface contour plot help
I am trying to do a surface profile plot.
data is 
X                  Y(1)             Z(1)
1-jan-02       2002        number
2-jan-02       2002        number
.
.
.
1-jan-03       2003 (Y2)     number Z(2)
2-jan-03       2003 (Y2)     number Z(2)
.
.
.
until dec 31 2007.
 
I used the plot3d funtions to build a scatter point plot.
Call rinterface.rrun("library(rgl)")
Call