Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

26 results for “from:maiya”

plotting functions of chi square
maiya · Aug 17, 2010 · r-help

Thanks, but that wasn't what I was going for. Like I said, I know how to do a simple chi-square density plot with dchisq(). What I'm trying to do is chi-square / degrees of freedom. Hence rchisq...

identical values not so identical? newbie help please!
maiya · Mar 10, 2011 · r-help

Quite fascinating, if annoying. Nice example Petr! Turns out my expected values are causing even more trouble because of this! I've even gotten negative chi square values (calculated using Cressie and Read's formula)! So instead of kludging the...

identical values not so identical? newbie help please!
maiya · Mar 10, 2011 · r-help

Aaah, it truly is wonderful, this technology! I guess I'm going to have to override it a bit though.. Along the lines of tae <- ifesle(all.equal(obs, exp) == TRUE, 0, sum(abs(obs - exp))) Do I like doing...

function to set log(0)=0 not working on tables or vectors
maiya · Jan 17, 2010 · r-help

There must be a very basic thing I am not getting... I'm working with some entropy functions and the convention is to use log(0)=0. So I wrote a function: llog<-function(x){ if (x ==0) 0 else...

select a range od distributions for simulation experiment
maiya · May 25, 2008 · r-help

Sorry if this is a bit of topic but I was wondering if there was any standard set of distributions /and parameters that can be used in a simulation experiment to sort of cover all the bases? I basically need...

count number of empty cells in a table/matrix/data.frame
maiya · Dec 3, 2009 · r-help

Hi everyone! This is a ridiculously simple problem, I just can't seem to find the solution! All I need is something equivalent to sum(is.na(x)) but instead of counting missing values, to count empty cells (with a...

plotting functions of chi square
maiya · Aug 17, 2010 · r-help

Hi! This is going to be a real newbie question, but I can't figure it out. I'm trying to plot densities of various functions of chi-square. A simple chi-square plot I can do with dchisq(). But...

disaggregate frequency table into flat file
maiya · May 22, 2008 · r-help

Marc, it's the second "expansion" type transformation I was after, although your expand.dft looks quite complicated? here's what I finaly came up with - the bold lines correspond to what expand.dft does? > orig<-matrix(c(40,5...

axis and tick widths decoupled (especially in rugs!)
maiya · May 5, 2008 · r-help

Hi! (a complete newby, but will not give up easily!) I was wondering if there is any way to decouple the axis and tick mark widths? As I understand they are both controlled by the lwd setting, and cannot be...

ridiculous behaviour printing to eps: labels all messed up!
maiya · Jun 8, 2009 · r-help

Solution!! Peter, that seems to do the trick! dev.copy2eps(file="test.eps", useKerning=FALSE) correctly places the labels without splitting them! the same also works with postscript() of course. I also found another thread where this was solved http...

stars (as fourfold plots) in plot (symbols don't work)
maiya · Jun 6, 2009 · r-help

Hi! I have a dataset with three columns -the first two refer to x and y coordinates, the last one are odds ratios. I'd like to plot the data with x and y coordinates and the odds ratio shown...

identical values not so identical? newbie help please!
maiya · Mar 10, 2011 · r-help

Hi there! I'm not sure I can create a minimal example of my problem, so I'm linking to a minimal .RData file that has only two objects: obs and exp, each is a 6x9 matrix. http://dl.dropbox...

identical values not so identical? newbie help please!
maiya · Mar 10, 2011 · r-help

Thanks Josh and Dan! I did figure it had something to do with the machine epsilon... But so what do I do now? I'm calculating the total absolute error over thousands of tables e.g.: tae<-sum(abs(obs...

ridiculous behaviour printing to eps: labels all messed up!
maiya · Jun 7, 2009 · r-help

OK, this is really weird! here's an example code: t1<-c(1,2,3,4) t2<-c(4,2,4,2) plot(t1~t2, xlab="exp1", ylab="exp2") dev.copy2eps(file="test.eps") that all seems fine... until you...

disaggregate frequency table into flat file
maiya · May 21, 2008 · r-help

i appologise for the trivialness of this post - but i've been searching the forum wothout luck - probably simply because it's late and my brain is starting to go.. i have a frequency table as a matrix: orig<-matrix...

indicator or deviation contrasts in log-linear modelling
maiya · Feb 18, 2009 · r-help

I am fairly new to log-linear modelling, so as opposed to trying to fit modells, I am still trying to figure out how it actually works - hence I am looking at the interpretation of parameters. Now it seems most...

Error: cannot allocate vector of size...
maiya · Nov 10, 2009 · r-help

I'm trying to import a table into R the file is about 700MB. Here's my first try: > DD<-read.table("01uklicsam-20070301.dat",header=TRUE) Error: cannot allocate vector of size 15.6 Mb In addition: Warning messages...

ridiculous behaviour printing to eps: labels all messed
maiya · Jun 8, 2009 · r-help

Wow! Thank you for that Ted, a wonderfully comprehensive explanation and now everything makes perfect sense!! Regarding your last point, I would love to hear other people's experience. I myself, as a complete newbie in both R and LaTeX...

plotting functions of chi square
maiya · Aug 17, 2010 · r-help

OK, for the record, this is not my homework, thanks for asking! Also, I am sure I could have phrased my question more eloquently, but (hence the newbie qualifier) I didn't. The code I posted was for the plot...

indicator or deviation contrasts in log-linear modelling
maiya · Feb 18, 2009 · r-help

I realise that in the case of loglin the parameters are clacluated post festum from the cell frequencies, however other programmes that use Newton-Raphson as opposed to IPF work the other way round, right? In which case one would...

Can't find what you're looking for? Try searching with Google .