[R] fUnitRoots cannot obtain p.value

2011-12-19 Thread michalseneca
Hi , I have issue obtaining p.value in urersTest(x, type = c(DF-GLS, P-test),lag.max = 4,doplot = FALSE)@test$p.value urersTest(...)@test indicates correct results but upon obtaining p.value as this the result is NULL. Which seems not to be correct . Any help on this ? Mike -- View this

[R] rpanel package - retrieve data from panel

2011-11-08 Thread michalseneca
Dear Co-Forumeees Does anybody have experience with using rpanel..or how to retrieve data from created panel. For example my panel draws some interactive graph and computes something inside the panel. Question : is there a way to retrieve those data ? For illustration: if (interactive()) {

Re: [R] rpanel package - retrieve data from panel

2011-11-08 Thread michalseneca
I found names(y)-y before the end is working ;) some more ideas ? -- View this message in context: http://r.789695.n4.nabble.com/rpanel-package-retrieve-data-from-panel-tp4016953p4017082.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] RBloomberg data account for dividend

2011-06-23 Thread michalseneca
Solved :) Just use RBloomberg with RJava and use option_names more in http://www.carfield.com.hk/document/Finance/rbloomberg-manual-0-4-144.pdf Thanks mike you did a good job :) -- View this message in context:

[R] RBloomberg data account for dividend

2011-06-21 Thread michalseneca
Hi , has somebody the experience how to use RBloomberg to account data for Dividends ? Or some working code ? I manage to retrieve the dividend however I still have issues to transform the data correctly. Regards Michal -- View this message in context:

[R] append date to write csv filename

2011-06-03 Thread michalseneca
Hi, can somebody help me or point me to thread on how to append the date to csv filename. something like write.csv(S1X.sub, file=C:/R/Remake/XPX110603.csv) Or any other date format. I just want to have some date in my file name.. Thanks Best W Michael -- View this message in context:

Re: [R] Creating multiple vector/list names-novice

2011-04-05 Thread michalseneca
The exact would be for example that I shoul be able then to choose a from abc. and I cannot do that. -- View this message in context: http://r.789695.n4.nabble.com/Creating-multiple-vector-list-names-novice-tp3425616p3427283.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Creating multiple vector/list names-novice

2011-04-05 Thread michalseneca
Thanks I already found out solution :) -- View this message in context: http://r.789695.n4.nabble.com/Creating-multiple-vector-list-names-novice-tp3425616p3428617.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org

[R] Creating multiple vector/list names-novice

2011-04-04 Thread michalseneca
Hi I have very simple issue as I am still new to the group of R I have basically vector of names for which i want to create mutliple combinations and then place them in different vectors. In some other language I can just place a third dimension to separate list (or matrix) but i do not know

Re: [R] Creating multiple vector/list names-novice

2011-04-04 Thread michalseneca
Hi Thanks ,however I would need something different still... I would need to return a vector so if as to choose cc[[3]] [2] would return vector/list as in terms of c(b,d,e) Thanks -- View this message in context:

Re: [R] optim function multi variables -newbie

2011-01-28 Thread michalseneca
I tried to modify the code,thanks for noticing...now i get that the function cannot be evaluated at initial parameters.However I do not know what does that mean..Should I try to modify parameters. I am still not sure of syntax of function. I cannot get that optimize work correctly. I am trying to

[R] Help with nlminb and matlab translation

2011-01-27 Thread michalseneca
Hi , I would need to translate this from matlab to excelhowever I do not know the syntax for that I tried to replicate that with nlbmin...however how should i specify additional arguments ?. for now i Have..as this might be sufficient for me.However I get objective NaN in result/

[R] optim function multi variables -newbie

2011-01-27 Thread michalseneca
Hi , can i ask if somebody know the syntax for optim function with multiple variables: I have function f (params,y,g,h,j) returnig z y-C(0.2,0.5,0.6) where params-c(x1,x2) I define g,h,j and then I define params, then use optim to structure it ..however if i use syntax optim(params ,

Re: [R] optim function multi variables -newbie

2011-01-27 Thread michalseneca
Hi, Basically what I am trying is to rewrite matlab code into R ...This is code for famous SABR model Calibration. I did most of the code up to optimalization issue. In the attachment you can find matlab and my unfinished R code..This is very helpful code...Basically I am trying to achieve the