Displaying 9 results from an estimated 9 matches for "ricardogs".
2002 Sep 16
2
TclTk Again
Dear All,
Following Zhang instructions I add the environmental variables, but now I
receive the following message:
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
Can't find a usable init.tcl in the following directories:
{ C:\tcl\lib\tcl8.3}
This probably means that Tcl wasn't installed properly.
Error in library(tcltk) : .First.lib failed
I'm using R Win
2009 Nov 02
1
AR Simulation with non-normal innovations - Correct
Dear Users,
I would like to simulate an AR(1) (y_t=ct1+y_t-1+e_t) model in R where the innovations are supposed to follow a t-GARCH(1,1) proccess.
By t-GARCH I want to mean that:
e_t=n_t*sqrt(h_t) and
h_t=ct2+a*(e_t)^2+b*h_t-1.
where n_t is a random variable with t-Student distribution.
If someone could give some guidelines, I can going developing the model.
I did it in matlab, but the loops
2010 Feb 12
1
scatterplot in Package CAR
Hi Folks,
Please,
when I ask the option reg.line at the scatterplot in package car, the OLS models includes a constant?
If not how can I do it sing the following code:
scatterplot(lfirms ~ lscale,
data=dataset,
reg.line=lm, smooth=FALSE, labels=FALSE,
span=0.5,
xlab="Relative Plant Fixed Cost",
ylab="Relative Number of Firms",
pch=c(18),
2010 Mar 10
1
Forecasting with Panel Data
Dear Users,
Can I perform panel data (fixed effects model) out of sample forecasts using R?
Thanks in advance,
Ricardo.
[[alternative HTML version deleted]]
2009 Nov 19
2
Problem with zoo and BootPR packages
Hi,
I'm trying to plot the forecasts I generated using the Plot.Fore function of the BootPR package.
But I got an error from zoo:
My data:
Time Series:
Start = 1
End = 18
Frequency = 1
[1] 38731 38628 39117 92809 71984 31226 58613 72360 107956 92066
[11] 95208 99098 95848 120383 110717 105680 98469 101916
Script:
y1<-ts(y1);
2009 Nov 04
0
Help with a Loop in function
Dear Users,
I follow Andreas idea to simulate an ar(1) model with a new kind of innovation process.
The new argument rand.gen, for the arima.sim function, I'm trying to generate as:
tGarchGen <- function(a, b, c) {
# must return a vector of random deviates (eta(t))
for (t in 1:100){
z(t) <- c+a*(eta(t)^2)+b*z(t-1)
eta(t) <-rt(100, 5)*sqrt(z(t)) #rt is the R random
2010 Jan 11
0
Credit Migration Matrix
Hi user,
I would like to know how can I compute credit rating migration matrix using R.
I have 10 years data (monthly rates for each firm) and I would like
to compute 12 (and more) months ahead migrations.
Any hints?
Best
Rick
[[alternative HTML version deleted]]
2009 Dec 27
1
R and Finance - EAD, LGD, PD
Hi,
I'm currently beginning to use R for financial analysis (mainly Basel II benchmarks) and I would like to know if any R-User can give me some initial directions on packages and tutorials which I can use to calculate capital requirements, default probabilities, and related stuff.
Thanks in advance,
Rick
[[alternative HTML version deleted]]
2010 Feb 22
0
Bootstrap Multivariate Times Series Forecast
Dear Users,
Consider a multivariate time series model:
a_1*y(t)-...-a_k*y(t-k)=b+[c_1*z(t)-...-c_j*z(t-j)]
i.e., a simple multivariate time series model with one exogenous variable.
I would like to know what package can I use to do the following, using R:
1) Select k and j jointly;
2) Estimate the model;
2) Forecast h=4 steps ahead the estimated model;
4) Bootstrap the forecast, since my sample