search for: ozgur

Displaying 20 results from an estimated 36 matches for "ozgur".

2012 May 23
2
Special characters in an R package manual
...special characters while building my R package. I tried to follow the usual LATEX format, but could not fix the problem: For instance, for "greater than or equal", I tried "\geq", but R says that this is an unknown macro. Could anyone direct me how to solve this issue? Best Ozgur ----- ************************************ Ozgur ASAR Research Assistant Middle East Technical University Department of Statistics 06531, Ankara Turkey Ph: 90-312-2105309 http://www.stat.metu.edu.tr/people/assistants/ozgur/ -- View this message in context: http://r.789695.n4.nabble.com/Special-ch...
2012 May 31
1
Warning message: numerical expression has 1000 elements: only the first used
...uot;x" to be a single number and only considers its first element which is 1. If I understand your query correctly, the following might handle your problem: sum.vec <-NULL for (x in 1:1000){ t <- rbinom(1000, 1, 0.5) v <- replace(t,t==0,-1) sum.vec<-c(sum.vec,sum(v[1:x])) } Best Ozgur ----- ************************************ Ozgur ASAR Research Assistant Middle East Technical University Department of Statistics 06531, Ankara Turkey Ph: 90-312-2105309 http://www.stat.metu.edu.tr/people/assistants/ozgur/ -- View this message in context: http://r.789695.n4.nabble.com/Warning-m...
2012 May 27
7
Customized R Regression Output?
Hello R-Experts, I am facing the problem that I have to estimate several parameters for a lot of different dependent variables. One single regression looks something like this: y = beta0 + beta1 * x1 + beta2 * x2 + beta3 * x1 * x2 + beta4 * x4 + beta5 * lag(x4,-1) where y is the dependent variable and xi are the independent ones. Important to me are the different estimates of betai and their
2012 May 31
2
Loop question
Hello, I have a dataframe (Lx) with 5 Lb, and 5 Lw variables. I want to create several variables according to the loop presented below (data attached). Lx <- read.csv("Lx.csv", header=T, sep=",") for (i in 1:20) { Lx$sb1[i] <- Lx$Lb1[i+1]/Lx$Lb1[i] Lx$sb2[i] <- Lx$Lb2[i+1]/Lx$Lb2[i] Lx$sb3[i] <- Lx$Lb3[i+1]/Lx$Lb3[i] Lx$sb4[i] <-
2012 Mar 03
3
submission of some functions to base package
...all, Actually I could not decide who to contact, then decided to post here. If not appropriate sorry for that. I have written some functions in R which might be supposed to available in the base package but not available. I am wondering that how can I submit those functions to that package? Best Ozgur ----- ************************************ Ozgur ASAR Research Assistant Middle East Technical University Department of Statistics 06531, Ankara Turkey Ph: 90-312-2105309 -- View this message in context: http://r.789695.n4.nabble.com/submission-of-some-functions-to-base-package-tp4441804p4441804...
2012 Sep 14
4
concatenating two vectors
...1", "a1b2","a2b1","a2b2" I tried the paste and paste0 functions, but they yielded elementwise concatenation such as "a1b1","a2b2" I am wondering that is there an efficient way of doing my wish, for instance without using for loop etc. Best Ozgur -- View this message in context: http://r.789695.n4.nabble.com/concatenating-two-vectors-tp4643139.html Sent from the R help mailing list archive at Nabble.com.
2012 Sep 16
4
two questions about character manipulation
...I want to manipulate a character string such as ex<-"cbind(data$response1,data$response2)" in R in two ways: 1) extracting the "response1" portion of ex 2) replacing "$" with "." I am wondering that is it possible efficiently doing these in R? Best Ozgur -- View this message in context: http://r.789695.n4.nabble.com/two-questions-about-character-manipulation-tp4643292.html Sent from the R help mailing list archive at Nabble.com.
2012 May 26
3
How to measure level of similarity of two data frames
Hi group, I've been thinking of calculating euclidean distance between each column of a data frames that each consists of standardized numerical columns. However, I don't know if there's a way of summarizing the overall distance by some kind of metrics. If anyone know a proper way of doing so and/or a package I would greatly appreciate your suggestions. Thanks very much! Kel --
2010 Sep 01
1
DatabaseLockError: REMOTE: unable to get write lock
...LockError: REMOTE:Unable to get write lock on /home/hinoglu/xapiandb/ : already locked Please correct me if i'm wrong, writelock is the xapian-tcpsrv's lock, not the clients'. So why am i getting databaselock error? Isn't xapian-tcpsrv capable of handling multiple clients? Thanks Ozgur -- Ozgur <hinoglu at gmail.com>
2012 May 28
1
simulation of levene's test
hello, I try to run simulation of levene's test to find the p-value but the error of replacement has length zero occur, could anyone help me to fix this problem? asim <- 1000 pv<-rep(NA,asim) for(i in 1:asim) {print(i) set.seed(i) g1 <- rnorm(20,0,2) g2 <- rnorm(20,0,2) g3 <- rnorm(20,0,2) x <- c(g1,g2,g3) group<-as.factor(c(rep(1,20),rep(2,20),rep(3,20))) library(Rcmdr)
2013 Nov 07
2
[Bug 1285] provide fallback options /etc/ssh/ssh_config
https://bugzilla.mindrot.org/show_bug.cgi?id=1285 Vladimir Rutsky <rutsky.vladimir at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rutsky.vladimir at gmail.com -- You are receiving this mail because: You are watching the assignee of
2005 Jul 29
1
encrypting existing partitions/disks
Hello, Has anyone wrote a how-to or a guick guide on how to encrypt an existing partition/disk using gbde? I've tried to search in the net but i cudn't find any. Is it possible to just move the existing data on my disk, cleanup the disk and encrypt using gbde, attach to the system, then move back the data to the now encrypted disk. Thanks, - ronnel
2012 Apr 14
2
how to divide data by week
Dear list users, I have a data frame as below specified. From the 1st of May to the 30th of September of several years (e.g. from 2004 to 2011) I have a frequency of accidents. I need the mean of accidents divided by weeks (i.e. the mean of accidents from the 1st to the 7th of May of all the years, from the 8th to the 14th of May, ..., from the 29th to the 31st of May, from the 1st to the 7th of
2012 Jun 28
4
remove descriptions from output
Dear R users, I'd like to remove some descriptions when I use "filter". > filter(1:10, rep(1, 3)) Time Series: Start = 1 End = 10 Frequency = 1 [1] NA 6 9 12 15 18 21 24 27 NA That is, I want only this [1] NA 6 9 12 15 18 21 24 27 NA Thank you in advance. Kathie -- View this message in context:
2012 Jun 28
3
Error: could not find function
Hi Do I have to load/download the whole package over and over again everytime when I use the R-Project? It often prompt me the error message "could not find function"- but I'm rather sure I have used the function before so I'm not entirely sure it couldn't find it again when I shut down the computer or so. Is it to do with directory or clashing with other software? Any
2012 Jun 07
4
"Re-creating" distributions
Dear All,   I often have to work with certain models in which I try to "reproduce" a distribution the best I can with very little known information avaible. Is there a package or function in R that could best reproduce a probability distribution using only the mean, median and SD values availble without knowing the actual distribution type to begin with and/or the covariance matrix (for
2012 May 18
5
Loop Help
Hi all, I am a beginner R user and need some help with a simple loop function. Currently, I have seven datasets (TOWER1,TOWER2...TOWER7) that are all in the same format (same # of col and headers). I am trying to add a new column (factor) to each dataset that simply identifies the dataset. Ultimately, I would like to merge all 7 datasets and need that column to identify what rows came from what
2010 Dec 13
2
help on SAS Macro in R
Dear Researchers, I am looking for to read a SAS macro in R. Although I searched it on web, I couldn’t find anything. Can you help me or direct me? Thank you for your interest and patience. Best. Ozgur [[alternative HTML version deleted]]
2007 Sep 25
0
R lmer with problem of 'sd slot has negative entries'
...fixef(example3) se.fixef(example3) example4 <- lmer(cbind( y, n - y) ~ 1 + ( 1 | center) , family = binomial, niter = 50, method = "PQL",control = list (usePQL = FALSE)) fixef(example4) se.fixef(example4) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Emine Ozgur BAYMAN PhD Student Department of Biostatistics, College of Public Health, University of Iowa Office: 2400D UCC, Iowa City / IA Office Phone: (319) 384 27 52 e-mail: emine-unlu@uiowa.edu [[alternative HTML version deleted]]
2012 Jun 01
1
POT Package
Hi, I have a problem in fitting GPD distribution. i generate random numbers from gpd distribution from specific parameters using pot packege then i used fitgpd function to estimete the parameters.The estimated parameters are not matched with the given parameters i.e.from which i generate random numbers.I think estimated parameters should be matched with the given parameters.Also suggest me