Displaying 20 results from an estimated 800 matches similar to: "KalmanLike: missing exogenous factor?"
2005 Nov 30
0
unexpected result from KalmanRun (KalmanLike, StructTS)
(re-formulate, re-send, without html)
for vector y = c(1,2,3,4,5), H = 0.66 manual
calculations
using the equations below give a =
c(1,1.66,2.55,3.51,4.50).
KalmanRun with these parameters gives res$states =
(1,1,1,1,1)!
for Kalman Filter Durbin/Koopman give at p67 eqs
4.13:
v = y - Z a, F = Z P Z' + H, K = T P Z' / F +
H,
a[t+1] = T a + K v, P[t+1] = T P L'
2006 Sep 11
1
estimating state space with exogenous input in measurement eq.
Anyone know how to esimate parameters in the system:
x[k]=Ax[k-1]+ B + Gv[k-1]
y[k]=x[k]+Du[k]+Hw[k]
a system with exogenous u[k] in the measurement eq., v,w are iid, both eq. are gaussian.
Thanks,
Oyvind
---------------------------------
[[alternative HTML version deleted]]
2008 Feb 26
2
Kalman Filter
Hi
My name is Vladimir Samaj. I am a student of Univerzity of Zilina. I am
trying to implement Kalman Filter into my school work. I have some problems
with understanding of R version of Kalman Filter in package stats( functions
KalmanLike, KalmanRun, KalmanSmooth,KalmanForecast).
1) Can you tell me how are you seting the initial values of state vector in
Kalman Filter? Are you using some method?
2005 Jun 15
1
Kalman Filtering?
1. The function "KalmanLike" seems to change its inputs AND
PREVIOUSLY MADE copies of the inputs. Consider the following (using R
2.1.0 patched under Windows XP):
> Fig2.1 <- StructTS(x=Nile, type="level")
> unlist(Fig2.1$model0[2:3])
a P
1120 286379470
> tst2 <- tst <- Fig2.1$model0
> tst23 <- tst[2:3]
> tst23u <-
2012 Oct 04
1
Is there any package for Vector Auto-regressive with exogenous variable other than fastVAR?
Is there any package for Vector Auto-regressive with exogenous variable other
than fastVAR?
Because it is not able to solve my problem of not taking the base in the
model.
Please suggest some appropriate solution!!!!
--
View this message in context: http://r.789695.n4.nabble.com/Is-there-any-package-for-Vector-Auto-regressive-with-exogenous-variable-other-than-fastVAR-tp4644964.html
Sent from
2005 Feb 24
0
KalmanXXXX and deJong-Penzer statistic?
A question about: Kalman in R, time series and
deJong-Penzer statistic - how to compute it using
available artefacts of KalmanXXXXX?
Background. in the paper
http://www.lse.ac.uk/collections/statistics/documents/researchreport34.pdf
'Diagnosing Shocks in TIme Series', de Jong and Penzer
construct a statistic (tau) which can be used to
locate potential shocks. [p15, Theorem 6.1 and
2006 Dec 20
2
Kalman Filter in Control situation.
I am looking for a Kalman filter that can handle a control input. I thought
that l.SS was suitable however, I can't get it to work, and wonder if I am
not using the right function. What I want is a Kalman filter that accepts
exogenous inputs where the input is found using the algebraic Ricatti
equation solution to a penalty function. If K is the gain matrix then the
exogenous input
2006 Jan 02
1
Use Of makeARIMA
Hi R-Experts,
Currently I'm using an univariate time series in which I'm going to
apply KalmanLike(),KalmanForecast (),KalmanSmooth(), KalmanRun(). For I
use it before makeARIMA () but I don't understand and i don't know to
include the seasonal coefficients. Can anyone help me citing a suitable
example? Thanks in advance.
------------------------------------------
2008 May 29
1
appropriate covariance matrix for multiple nominal exogenous and multiple continuous endogenous variables in SEM
Hi,
I would like to use the sem package to perform a path analysis (no
latent variables) with a mixture of 2 nominal exogenous, 1 continuous
exogenous, and 4 continuous endogenous variables. I seek advice as to
how to calculate the appropriate covariance matrix for use with the sem
package.
I have read through the polycor package, and am confused as to the use
of "numeric" for
2011 Mar 15
1
binary exogenous variable in path analysis in sem or lavaan
Hello all
I'm trying to run some path analysis in either sem or lavaan (preferably lavaan because I find its interface easier to use). Most of my variables are continuously distributed and fairly well-behaved but I have a single exogenous variable (sex) which is not continuously distributed. Preliminary model fitting suggests that there aren't any sex by (anything else) interactions. The
2009 Nov 22
1
Dead link in Nile help documentation (PR#14079)
When doing ?Nile, the url for the data source is dead. It says http://www.=
ssfpack.com/dkbook/ but this has changed to=20
http://www.ssfpack.com/DKbook.html
Version:
platform =3D i386-redhat-linux-gnu
arch =3D i386
os =3D linux-gnu
system =3D i386, linux-gnu
status =3D
major =3D 2
minor =3D 10.0
year =3D 2009
month =3D 10
day =3D 26
svn rev =3D 50208
language =3D R
version.string
2003 Apr 21
2
Anyone Familiar with Using arima function with exogenous variables?
I've posted this before but have not been able to locate what I'm doing
wrong. I cannot determine how the forecast is made using the estimated
coefficients from a simple AR(2) model when there is an exogenous
variable. Does anyone know what the problem is? The help file for arima
doesn't show the model with any exogenous variables. I haven't been able
to locate any documents
2012 Jun 18
3
[Bug 51207] New: Background corruption in Firefox w/ cairo
https://bugs.freedesktop.org/show_bug.cgi?id=51207
Bug #: 51207
Summary: Background corruption in Firefox w/ cairo
Classification: Unclassified
Product: Mesa
Version: 8.0
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2007 Nov 15
3
kalman filter estimation
Hi,
Following convention below:
y(t) = Ax(t)+Bu(t)+eps(t) # observation eq
x(t) = Cx(t-1)+Du(t)+eta(t) # state eq
I modified the following routine (which I copied from: http://www.stat.pitt.edu/stoffer/tsa2/Rcode/Kall.R) to accommodate u(t), an exogenous input to the system.
for (i in 2:N){
xp[[i]]=C%*%xf[[i-1]]
Pp[[i]]=C%*%Pf[[i-1]]%*%t(C)+Q
siginv=A[[i]]%*%Pp[[i]]%*%t(A[[i]])+R
2010 Apr 09
0
GARCH estimation with exogenous variables in the mean equation
Hello,
I have the similar issue in estimating a GARCH model with exogenous
variables in the mean equation. Currently, to my understanding, the garch
function in tseries package can handle univariate model, and garchFit in
fGarch can handle ARMA specification.
I wonder if there is any R function that can handle exogenous variables in
estimating GARCH?
Thank you a lot.
Edwin
--
View this
2011 Sep 30
0
All subsets vector autoregression with exogenous variables
Hi,
I am trying to fit all subsets for a vector autoregression with exogenous
variables. I have been looking at the 'leaps' function but I not sure how
to get it to work when lags for each variable are included in the model. I
would be really appreciative if someone could provide some links to
examples. Thanks in advance!
--
View this message in context:
2012 Mar 22
1
Simalteneous Equation Doubt in R
Hi List
l am interested in developing price model. I have found a research paper
related to price model of corn in US market where it has taken demand &
supply forces into consideration. Following are the equation:
Supply equation:
St= a0+a1Pt-1+a2Rt-1+a3St-1+a5D1+a6D2+a7D3+U1 -(1)
Where D1,D2,D3=Quarterly Dummy Variables(Since quarterly data are
considered)
Here, Supply
2012 Apr 30
2
The constant part of the log-likelihood in StructTS
Dear all,
I'd like to discuss about a possible bug in function StructTS of stats
package. It seems that the function returns wrong value of the
log-likelihood, as the added constant to the relevant part of the
log-likelihood is misspecified. Here is an simple example:
> data(Nile)
> fit <- StructTS(Nile, type = "level")
> fit$loglik
[1] -367.5194
When computing the
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
2007 Apr 25
1
Box Ljung Statistics
Hi All R Experts,
I met with below mentioned statistics in paper "Stock Index Volatility
Forecasting with High Frequency Data"
by Eugenie Hol, Siem Jan Koopman
http://ideas.repec.org/p/dgr/uvatin/20020068.html
I would like to ask that what is "Box-Ljung portmantacau statistic based
on N squared autocorrelation" ?
Is it same as "Box-Ljung Statistics" of stats