<?xml version="1.0" ?> Hello, Samir,<o:p></o:p> <o:p> </o:p> I think it is quite straightforward to impose exogenous variable into either the mean structure or the conditional variance equation in GA
I had a strange problem when running some scripts. I hope some of you have had such experience or explanations. Basically, I do things like: 5000, one integer with same size. It is generated from a
Thank you very much, Bill! You are right. The problem results from the corrupted data set. As I showed, the data set (mydata: longer4hmm1) was a list, to which I repeated reading data in. Each elemen
Hello, dear list members, I wrote a simple C code to get a matrix and list from S-plus, carry out some calculation and return the result to S-plus. (I use .C routine and only head file S.h is involve
Thanks to Prof. Ripley, my problem is really not a memory problem, but a programming one. I should not use the old C-style memory allocation, but something like double *knn; knn=Salloc(size,type); es
You know, S-plus GARCH module and Finmetrics module provide a function simulate.garch to generate a GARCH series. The model specified for the simulation is a list, including the constant, arch and g
Hello, S-plus and R helpers,(sorry for cross-post) I wrote some simple C code for one likelihood to be optimized (using optim(MASS)). I use same function, same data, same starting points and same DLL
Does anybody know any function or package in S-plus or R for estimation of a Hidden Markov Model(HMM)? I have tried to write one by myself. First I compute the likelihood function recursively, then
Very much thanks to Ronald Geskus, Paul Lasky, Spencer Graves, Andy Liaw and Rolf Turner for their quick and insightful replies. R package msm(Multi-State Markov Model) is a good solution. Rolf kindl
I installed Microsoft Visual Studio .Net 2003 professional recently, which, of course, included Visual C and C++ (Version 7?). I want to build DLL to be used in S-plus now. However, I am a little co
I want to build a DLL to be called by .Call in S-plus using MinGW gcc compiler. The 'makeseq' code in Programmer's Guide p682 is used as a test. However, unexpected errors occurred. (The command lin
I am learning to use the Connect/C++ class library via .Call(). I know how to compile and build a DLL for ordinary C code with .Call, as introduced in S-programming, using MinGW gcc compiler. But wh
I know it is a stupid question, but here I go... Sometimes when my loaded DLL had some problems (it happens quite often since I just learn and try and try ...), my S-plus session had to be shut down.
I just know the S-plus module FinMetrics (Financial Metrics) can handle these.<o:p></o:p> <o:p> </o:p> --Original Message-- From: hedhili leila [mailto:hedhilileila@yahoo.fr] Sent: den 23 april 2004
Hello, Dear users, I have a list in S-plus 6.1 under Win2000, each element of which is a matrix with different dimension; and I want to use it in C. The only way I can do now is to unlist it to a vec
Thank you all for your kind answers. Among others, Both Andy and Tim suggested .C() and .Call() routines. Gamal provided me a quite detailed solution, using write.table() first and reading the text o
Are you following the guide from book 'S programming' by Venables & Ripley? I just want to remind you that, according to the on-line update of this book, the cygwin gcc compiler are no longer suppor