[R] question for bayesian regression

2016-01-21 Thread Derya Sahin
Hello, I don't have much knowledge about how to use JAGS to do bayesian regression, I have seen several examples but my data is left censored and I am not sure how to construct the likelihood function, if someone could post a sample JAGS code for bayesian regression for left-censored data, that

Re: [R] Classification of Multivariate Time Series

2013-05-27 Thread Emre Sahin
Did you have a look at Dynamic Time Warping and dtw package? Best, E. On Mon, May 27, 2013 at 01:34:42PM +0200, Lorenzo Isella wrote: Dear All, Apologies for not posting a code snippet, but I really need a pointer about a methodology to look at my data and possibly some R package which can

Re: [R] R update problem

2013-05-15 Thread Emre Sahin
On Wed, May 15, 2013 at 07:59:32AM -0700, carol white wrote: Hi, I try to update R on Ubuntu I added deb http://cran.cnr.Berkeley.edu/bin/linux/ubuntu precise/ in /etc/apt/sources.list but any mirror site that I take, I get the following error msg: W: GPG error:

Re: [R] R update problem

2013-05-15 Thread Emre Sahin
On Wed, May 15, 2013 at 10:42:07AM -0700, carol white wrote: yes, and here is the output Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.DhD6e2Q3Xb --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring

Re: [R] R installation error

2013-05-10 Thread Emre Sahin
On Fri, May 10, 2013 at 01:33:34PM +0100, Meenu Chopra wrote: Thanks to all The main problem with ma linux system is that its not able to install any software using sudo command. like i used command yum search libX11 , it shown that yum is not installed and when i use sudo apt-get install

[R] qcc.overdispersion-test

2011-04-01 Thread sahin
Hi all, I have made an overdispersion test for a data set and get the following result Overdispersion test Obs.Var/Theor.Var Statistic p-value poisson data 16.24267 47444.85 0 after deleting the outliers from the data set I get the following result Overdispersion test

[R] autocorrelation in count data

2010-11-19 Thread sahin
hello, I try to model traffic accidents with the following model: glm.nb(y~j+w+m+sf+b+ft,data=fr[]). the problem is that there exist autocorrelation in the data. one possibility is to model traffic accidents with inar(1)-models. has anyone an idea how to change this model in order to

[R] inar(1), time series of count data

2010-11-17 Thread sahin
Hello, is there anyone, who works with modelling of time series of count data. I try to model traffic accidents with inar(1)-models, but I have a lot of problems with the R-Code. I would be very grateful, if someone helped me. Nazli __

[R] first-order integer valued autoregressive process, inar(1)

2010-11-15 Thread sahin
Hello, in my doctoral thesis i try to model time series crash count data with an inar(1)-process, but i have a few problems in writing the r-code. is there someone, who works with inar-processes. i would be very grateful, if someone gives me some ideas in writing the code. nazli