Re: [R] sqlFetch maximum rows

2010-03-15 Thread ryusuke
The problem has been cope after I copy a new *.mdb file, just wondering if it will be happened again beyond future... :confused: -- View this message in context: http://n4.nabble.com/sqlFetch-maximum-rows-tp1593601p1593660.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] RE xcel Macro Mode

2009-08-02 Thread ryusuke
I would like to do so as well, but I faced some problems as well.. livia wrote: > > Hi everyone, I would like to write VBA macros for accessing R and it is my > first attempt. I really could use some help here. > > I am trying to use the following code to read data from Access. The R code

Re: [R] RE xcel foreground and background server

2009-10-02 Thread ryusuke
I have installed, its workable in frontground mode while but background mode, may I know how do I activate background mode? Thanks Irina Ursachi wrote: > > Dear all, > > I have a question regarding background and foreground server in RExcel: > Can somebody explain the main difference between t

[R] cross-entity equation

2009-11-07 Thread ryusuke
vector1 vector2 vector3 vector4 h = 1.2345h = 1.2212h = 1.2065h = 1.3423 x1 = 0.8654y1 = 0.7525z1 = 1.3254x3 = 0.5746 x2 = 0.8642y2 = 0.2458z

Re: [R] Time Series Rating Model

2009-12-09 Thread ryusuke
http://n4.nabble.com/file/n956255/TimeSeries%2BLikelihood.jpg >From the attachment, I need to find out the maximum likelihood value of ξ, while I stuck to write in R codes. I will appreciate of experts advices. Thanks. ryusuke wrote: > > > To R programming experts,

Re: [R] joint estimation of two poisson equations

2009-06-19 Thread ryusuke
ryusuke wrote: > > > > Owen Powell-2 wrote: >> >> Thanks Tirthankar, that did the trick. >> Here's the solution to my problem using the "bivpois" package: >> >> rm(list = ls()) >> library(bivpois) >> >>

[R] Robust Bivariate Poisson

2009-12-30 Thread ryusuke
To Experts, x = x1 + x3 y = x2 + x3 x3 = cov(x1,x2) By refer to package "bivpois", I'ld like to downweight previous x,y in my data based on date, I am wondering if lambda3 should robust as well, since lambda3 measure the co-relationship of lambda1 and lambda2, but if robust lambda3 might effect

[R] Survival Analysis for soccer scoring process

2011-09-09 Thread ryusuke
6.4.1 Estimation of fixed effects Heterogeneous team ability is a possible explanation for the result in Section 6.3. That result simply indicates that the more goals a team scores, the higher the probability that it will score more. However, teams that can score more goals also indicate teams with

[R] Package "survival" --- Difference of coxph strata with subset?

2011-07-10 Thread ryusuke
[code]>require("survival") > coxph(Surv(futime,fustat)~age + strata(rx),ovarian) Call: coxph(formula = Surv(futime, fustat) ~ age + strata(rx), data = ovarian) coef exp(coef) se(coef) z p age 0.137 1.15 0.0474 2.9 0.0038 Likelihood ratio test=12.7 on 1 df, p=0.000368 n= 26,

Re: [R] Package "survival" --- Difference of coxph strata with subset?

2011-07-10 Thread ryusuke
Finally, I found the answer from here... http://www.childrensmercy.org/stats/weblog2005/StratifiedCoxRegression.asp http://www.childrensmercy.org/stats/weblog2005/StratifiedCoxRegression.asp Thernau and Grambsch describe it well in their book on survival analysis. /Analysis of multicenter clinica

[R] Second-order effect in Parametric Survival Analysis

2011-11-12 Thread ryusuke
~x*z, data=sample, dist="exponential")/* correct? 2) If the baseline hazard is the value excluded both x and z effects? 3) How can I get the value and plot the hazard with only x effect (but exclude effect z) Thanks Best, Ryusuke -- View this message in context: http://r.789695.n4.

Re: [R] Second-order effect in Parametric Survival Analysis

2011-11-12 Thread ryusuke
decomposition multi-matrix (first-order interactions) calculation. 1) chinv2.c 2) cholesky3.c 3) chsolve2.c (only solve the equations of first-order interactions) If someone gives some idea or suggestion on these? Thank you. Best, Ryusuke -- View this message in context: http://r.789695.n4

[R] Joint modelling of survival data

2011-12-30 Thread ryusuke
Assume that we collect below data : - subjects = 20 males + 20 females, every single individual is independence, and difference events = 1, 2, 3... n covariates = 4 blood types A, B, AB, O http://r.789695.n4.nabble.com/file/n4245397/CodeCogsEqn.jpeg λm = hazards rates for male λn = hazards rate

Re: [R] Joint modelling of survival data

2012-01-05 Thread ryusuke
require a parametric survreg() model but not coxme(). However I am not sure am I right? Since \lambda_1(t) and \lambda_2(t) are sharing same \alpha and \delta coefficient values but only \lambda_1(t) has extra \gamma value... Thank you. Best, Ryusuke -- View this message in context: http://r.

Re: [R] Quality adjusted survival analysis

2012-01-15 Thread ryusuke
G4elXcSmsAElv2M5bHoqTNf8qXGQ&cad=rja R Package iSQoL R package to download http://www.stat.sinica.edu.tw/jshwang/web/isqol/ http://www.stat.sinica.edu.tw/jshwang/web/isqol/ Ryusuke -- View this message in context: http://r.789695.n4.nabble.com/Quality-adjusted-survival-analysis-tp42937

[R] sqlSave data into multiple *.mdb files

2010-02-10 Thread Ryusuke Kenji
f every single member into pre-merge source *mdb filesFrom the above coding, I got some data files from *.mdb files and merge it to calculate, but I was wondering how to save the result into t

Re: [R] Creating a new Access database with R

2010-02-11 Thread Ryusuke Kenji
I am facing the same problem as well, I would like to code with following concept but wondering how to cope it. if (*mdb file exist) { add new row/col } else { add new *mdb file } -- From:

Re: [R] Creating a new Access database with R

2010-02-14 Thread Ryusuke Kenji
I have just got an idea which is using RExcel and coding with Excel VBA may cope with it, its work!!! Ryusuke From: urishim...@optiver.com To: ryusukeke...@hotmail.com Date: Mon, 15 Feb 2010 08:31:49 +0100 Subject: RE: RE:Creating a new Access database with R No idea, sorry

[R] sqlFetch maximum rows

2010-03-15 Thread Ryusuke Kenji
a better way to cope with my problem? Thanks lot Thanks, Ryusuke _ $B%M%C%H$ON)GI$J8GDjHq$G$9!#(bhotmail$b$...@\b3$,$...@$k!*(B [[alternative HTML ve

Re: [R] Time Series Rating Model

2009-12-19 Thread Ryusuke Kenji
n in bivpois for zero-inflated purpose = "internal.data1$v1" dixon & coles dynamical weighted function = "weighted.data" May I know how to joined these two weighted function and fit into glm? I am not really know how to apply these two function correctly into glm.

Re: [R] XML and RCurl: problem with encoding (htmlTreeParse)

2010-07-02 Thread Ryusuke Kenji
;txt <- readLines(con=textConnection(theurl),encoding='GB2312') >txt[5:10] #show the lines which occurred encoding problem. [1] "" [2] "SINA.com US 新浪網 -北美" [3] "" [4] "" [5]"" [6] "

Re: [R] XML and RCurl: problem with encoding (htmlTreeParse)

2010-07-03 Thread Ryusuke Kenji
ring if Rgui support traditional Chinese character now... I think I need to looking for solution of inter-Chinese character's translation. Thank you. Best, Ryusuke === Hi Ryusuke I would use the encoding parameter of htmlParse() and d