similar to: glm with variance = mu+theta*mu^2?

Displaying 20 results from an estimated 200 matches similar to: "glm with variance = mu+theta*mu^2?"

2011 Mar 01
2
expression help
Hello, I am trying to write math-type on a plot. Due to space limitations on the plot, I want 2 short expressions written on top of each other. It is certainly possible to write them in two separate calls, but that involves fine-tuning locations and a lot of trial and error (and I'm trying to write a general purpose function). Here's where I've gotten to:
2012 Mar 13
7
ROC Analysis
Hi everybody, I have a data set with a value and a status (positive or negative case) and I want make a ROC Analysis. So, with ROCR Package, I have got the ROC curve (True Positive Fraction [tpf] according 1-True Negative Fraction [1-tnf]). http://r.789695.n4.nabble.com/file/n4469203/01.png But, now I want a new graphic which show the sum of true positive fraction and true negative fraction
2005 Jun 04
2
glm with a distribution free family
Dear R users, I am trying to fit a glm with a distribution free family, link = log and variance = constant*mu. I guess I have to use the quasi family but the choices of variance are restricted to constant or mu or mu^2..., I don't know the way to choose the variance that I need, i.e. constant*mu. If you have any ideas or advice, please tell me. Thanks, Laetitia Mestdagh Laetitia Mestdagh
2009 Aug 06
2
Ylim
Hello All: Can anybody tell me what is the problem with my program please. I have an error message as appears below. My program is: ifn <- "Jul08_09.LM" data <- read.table(ifn) ofn <- "Jul.png" bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg = "white",res=50) par(mar=c(5, 5, 3, 2),lwd=5)
2010 Jan 17
4
datasets para regresión logística binomial y multinomial
Buenas. Sé que en R hay multitud de datasets y me haría falta alguno que trataran de variables relacionadas con salud, sobre todo para aprender más acerca de cómo realizar una regresión logística binomial o multinomial. Gracias..
2010 Aug 22
2
Recursion problem
Hi, I wanted to compute the value of the function ifn at certain values of n. But I am receiving the following error when I was using the following code(given at the end). Error: evaluation nested too deeply: infinite recursion / options(expressions=)? I feel that since the function Grx is recursively related, perhaps making the code too complicated too handle. Can anyone let me know if
2009 Jul 27
3
numbers on barplot
Hello all, I have this simple barplot code: ifn <- "id.dat" dat <- read.table(ifn) ofn <- "id.png" bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg = "white",res=50) par(mar=c(5, 5, 3, 2),lwd=5) par(cex.main=1.6,cex.lab=1.6,cex.axis=1.6) names(dat)<-c("NumberOfPeople","Average")
2010 Aug 20
1
handling recursion relation
Hi, I wanted to compute the value of the function ifn at certain values of n. But I am receiving the following error when I was using the following code(given at the end). Error: evaluation nested too deeply: infinite recursion / options(expressions=)? I feel that since the function Grx is recursively related, perhaps making the code too complicated too handle. Can anyone let me know if
2006 Jun 12
1
variance specification using glm and quasi
Hi all, Cameron and Trivedi in their 1998 Regression Analysis of Count Data refer to NB1 and NB2 NB1 is the negative binomial model with variance = mu + (alpha * mu^1) yielding (1+alpha)*mu NB2 sets the power to 2; hence, variance = mu + (alpha*mu^2) I think that NB2 can be requested via negbin2<-glm(hhm~sex+age,family=quasi(var="mu^2",link="log")) Is
2009 Jul 30
1
reading a file
Hello there, I have the following info in MyData: 01 0.40 02 0.40 03 0.40 04 0.35 05 0.34 06 0.33 I want to read them using the following code: ifn <- "MyData" dat <- read.table(ifn) names(dat1)<-c("Code","M") names(dat2)<-c("Code","M") I want to have the first three lines in
2009 Aug 13
1
reading a string
Hello All: I am having the following data file named "data.dat" Number of people Number of pets Age of trees ifn <- "data.dat" dat <- read.table(ifn) colnames(dat)<-c("Variables") I want R to read all these in a string but when I ask R to read these, it gives me error because there more than one word in each line. Any comments to solve this problem?
2011 Jul 29
10
Media Ponderada
Hola a todos. Ya he escrito sobre esto pero vuelvo a no ser capaz de resolver una cosa Tengo este archivo año   mes      fecha  puerto           barco   origen       arte            2007 enero 2007-01-04 Ribeira  juan        Norte     PAREJA      2007 enero 2007-01-04 Ribeira    luis        -Norte     BETA    2007 enero 2007-01-04 Ribeira  pedro     Norte     PAREJA      2007 enero
2010 Sep 14
2
How to uncompress a gz file in R
Dear Fellows, I would like to know how to uncompress a gz file at the R console. I could not find out any help from the R-help archive. Thanks for your great help. Best Regards, Wonsang You ----- -- Wonsang You Special Lab Non-Invasive Brain Imaging Leibniz Institute for Neurobiology http://www.ifn-magdeburg.de -- View this message in context:
2010 Sep 16
2
How to combine matrix and vector
Dear fellows, I am a novice in R. I would like to combine a matrix and a vector. Assume that we have the matrix a and the vector b with same length of column. a<-matrix(seq(1:10),nrow=2,ncol=5,byrow=TRUE) a= 1 2 3 4 5 6 7 8 9 10 b<-t(c(11,12,13,14,15)) b= 11 12 13 14 15 Then, I want to combine a and b as follows. c= 1 2 3 4 5 6 7 8 9
2010 May 13
1
ESP Ghostscrip ...
Hello All: Could anybody tell me please what is the meaning of this error message: ESP Ghostscript 815.02: Unrecoverable error, exit code 1 Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal Calls: plot -> plot.default -> plot.xy Execution halted My code has to go to 18 loops for three times and in each loop it has to read a file which is 100-300 Megs. It always crashes at loop 14
2010 Aug 31
4
How to Adaptively Set Up the Coordinate Range of Multiple Graphs in One Figure
Hi, R-Helpers, I would like to ask about multiple graphs in one figure. I tried to execute the following codes. xlim <- c(1,100) ylim <- c(1,4) plot(NA, xlim=xlim, ylim=ylim) > x <- c(1:100) for(j in seq(1,10,by=1)) { y <- j*x^2+log(j) lines(x, y) } In the above codes, I had to arbitrarily set up the coordinate range of the figure in advance before
2004 May 28
2
Asterisk with Draytek 2600V
I am unable to get a my Draytek working with our Asterisk server. I can make/recieve calls but get no audio. I have tried the various codecs at the Vigor end but still getting nothing. I looked at sip debug (below) but am new to Asterisk and don't really know what I am looking for. Asterisk works fine with XLITE so I know my installation is ok. Sip read: INVITE
2013 Sep 12
6
declaring package dependencies
I received the following email note re: the vcdExtra package > A vcd update has shown that packages TIMP and vcdExtra are not > declaring their dependence on colorspace/MASS: see > > http://cran.r-project.org/web/checks/check_results_vcdExtra.html But, I can't see what to do to avoid this, nor understand what has changed in R devel. Sure enough, CRAN now reports errors in
2010 Sep 10
1
Greek letter included in a character vector
Hello, In the past I have used "expression" to include greek letters in axis labels, but this time I need to include the greek letter as part of a legend. Basically, I need to create the following vector to rename the levels of a factor: c("Interferon-gamma", "IL-10", "IL-5"), where "gamma" obviously needs to be printed as the greek letter
2011 Jul 29
1
Resumen de R-help-es, Vol 29, Envío 30
Buenos días, Para una media ponderada con segmentación prueba a usar compmeans() del paquete descr. Un saludo, Manel. 2011/7/29 <r-help-es-request@r-project.org> > Envíe los mensajes para la lista R-help-es a > r-help-es@r-project.org > > Para subscribirse o anular su subscripción a través de la WEB > https://stat.ethz.ch/mailman/listinfo/r-help-es > >