search for: lot1

Displaying 14 results from an estimated 14 matches for "lot1".

Did you mean: lot
2024 Dec 24
1
Extract estimate of error variance from glm() object
... but do note: glm(lot1 ~ log(u), data = clotting, family = gaussian) is a plain old *linear model*, which is of course a specific type of glm, but not one that requires the machinery of glm() to fit. That is, the above is exactly the same as: lm(lot1 ~ log(u), data = clotting) and gives exactly the same sigma() ! (a...
2024 Dec 24
3
Extract estimate of error variance from glm() object
Hi, I have below GLM fit clotting <- data.frame( u = c(5,10,15,20,30,40,60,80,100), lot1 = c(118,58,42,35,27,25,21,19,18), lot2 = c(69,35,26,21,18,16,13,12,12)) summary(glm(lot1 ~ log(u), data = clotting, family = gaussian)) Is there any direct function to extract estimate of Error standard deviation?
2010 Sep 02
1
Help on glm and optim
...t; using an example from the help page of "glm", but I could not get the "optim" function to work. Would you please point out where I did wrong? Thanks a lot. The following is the code: # Step 1: fit the glm clotting <- data.frame( u = c(5,10,15,20,30,40,60,80,100), lot1 = c(118,58,42,35,27,25,21,19,18), lot2 = c(69,35,26,21,18,16,13,12,12)) fit1 <- glm(lot1 ~ log(u), data=clotting, family=Gamma) # Step 2: use optim # define loglikelihood function to be maximized over # theta is a vector of three parameters: intercept, cofficient for log(u) and dispersion p...
2011 Nov 24
1
what is wrong with this dataset?
> d = data.frame(gender=rep(c('f','m'), 5), pos=rep(c('worker', 'manager', 'speaker', 'sales', 'investor'), 2), lot1=rnorm(10), lot2=rnorm(10)) > d gender pos lot1 lot2 1 f worker 1.1035316 0.8710510 2 m manager -0.4824027 -0.2595865 3 f speaker 0.8933589 -0.5966119 4 m sales 0.4489920 0.4971199 5 f investor 0.9246900 -0.7531117 6 m worker...
2024 Dec 24
1
Extract estimate of error variance from glm() object
vcov(). ? On Tue, Dec 24, 2024, 8:45 AM Christofer Bogaso <bogaso.christofer at gmail.com> wrote: > Hi, > > I have below GLM fit > > clotting <- data.frame( > u = c(5,10,15,20,30,40,60,80,100), > lot1 = c(118,58,42,35,27,25,21,19,18), > lot2 = c(69,35,26,21,18,16,13,12,12)) > summary(glm(lot1 ~ log(u), data = clotting, family = gaussian)) > > Is there any direct function to extract estimate of Error standard > deviation? > > ______________________________________________...
2024 Dec 24
1
Extract estimate of error variance from glm() object
...te: > > vcov(). ? > > > On Tue, Dec 24, 2024, 8:45 AM Christofer Bogaso <bogaso.christofer at gmail.com> wrote: >> >> Hi, >> >> I have below GLM fit >> >> clotting <- data.frame( >> u = c(5,10,15,20,30,40,60,80,100), >> lot1 = c(118,58,42,35,27,25,21,19,18), >> lot2 = c(69,35,26,21,18,16,13,12,12)) >> summary(glm(lot1 ~ log(u), data = clotting, family = gaussian)) >> >> Is there any direct function to extract estimate of Error standard deviation? >> >> ___________________________...
2010 Feb 15
1
Extract values from a predict() result... how?
...m [1:9] 0.00814 0.01877 0.025 0.02941 0.03563 ... - attr(*, "names")= chr [1:9] "1" "2" "3" "4" ... I got from: # A Gamma example, from McCullagh & Nelder (1989, pp. 300-2) clotting <- data.frame( u = c(5,10,15,20,30,40,60,80,100), lot1 = c(118,58,42,35,27,25,21,19,18), lot2 = c(69,35,26,21,18,16,13,12,12)) model <- glm(lot1 ~ log(u), data=clotting, family=Gamma) res <- predict(model, clotting) I want to transfer the probabilities "0.00814 0.01877 0.025 0.02941 0.03563 ..." to a separate vector, how do I do th...
2024 Dec 24
1
Extract estimate of error variance from glm() object
...n Tue, Dec 24, 2024, 8:45 AM Christofer Bogaso <bogaso.christofer at gmail.com> wrote: > >> > >> Hi, > >> > >> I have below GLM fit > >> > >> clotting <- data.frame( > >> u = c(5,10,15,20,30,40,60,80,100), > >> lot1 = c(118,58,42,35,27,25,21,19,18), > >> lot2 = c(69,35,26,21,18,16,13,12,12)) > >> summary(glm(lot1 ~ log(u), data = clotting, family = gaussian)) > >> > >> Is there any direct function to extract estimate of Error standard deviation? > >> > >&g...
2010 Sep 10
0
[LLVMdev] using GCC LTO files as a frontend to dragonegg?
...h GCC, it is possible to compile GIMPLE from an object file back to > assembly.  With Dragonegg, it seems to be a NOP.  (See below for a > comparison.) > > This appears it could be a nice way to mix the strengths of GCC and > LLVM.  If it worked..  Should it? I can't remember if lot1 (gcc's lto compiler) can load plugins, but if it can, dragonegg can probably be made to work with it. But if that is the case, I also don't see much difference in the result you would get from using dragonegg with the original FE. I think it plugs itself in the same spot the regular gcc wr...
2007 Aug 19
1
can't find "as.family" function
Hi R users, I want to use dglm Package. I run the examples and it give me an error: Error en dglm(lot1 ~ log(u), ~1, data = clotting, family = Gamma) : no se pudo encontrar la funci?n "as.family" dglm can't find "as.family" function why ? Thank you for your help
2009 Feb 24
2
Syntax in taking log to transfrom the data to fit Gaussian distribution
Hi, I have a data set (weight) that does not follow the Gaussian (Normal) distribution. However, I have to transform the data before applying the Gaussian distribution. I used this syntax and used log(weight) as: posJy.model<-glm(log(weight) ~ factor(pos), family=gaussian(link='identity'), subset=Soil=="Jy"). This syntax COULD NOT transform the data. But if I transform the
2010 Sep 10
4
[LLVMdev] using GCC LTO files as a frontend to dragonegg?
Hello, With GCC, it is possible to compile GIMPLE from an object file back to assembly. With Dragonegg, it seems to be a NOP. (See below for a comparison.) This appears it could be a nice way to mix the strengths of GCC and LLVM. If it worked.. Should it? Thanks, Marcus [mdaniels at dn002 dragonegg]$ cat hello.c #include <stdio.h> int hello () { printf ("Hello
2012 Aug 10
1
plotting profile likelihood curves
...the likelihood so that I have a curve that maxes at the parameter estimate. I am not sure where I find those likelihood values? I may just be misinterpreting the theory behind this. Thanks for any help you can give. Max clotting <- data.frame( + u = c(5,10,15,20,30,40,60,80,100), + lot1 = c(118,58,42,35,27,25,21,19,18), + lot2 = c(69,35,26,21,18,16,13,12,12)) glm(lot2 ~ log(u), data=clotting, family=Gamma) prof<-profile(glm2) plot(prof) [[alternative HTML version deleted]]
2007 Aug 21
2
Partial comparison in string vector
...9;t find "as.family" function To: r-help at stat.math.ethz.ch Message-ID: <46C84066.6040108 at sinu.unicordoba.edu.co> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi R users, I want to use dglm Package. I run the examples and it give me an error: Error en dglm(lot1 ~ log(u), ~1, data = clotting, family = Gamma) : no se pudo encontrar la funci?n "as.family" dglm can't find "as.family" function why ? Thank you for your help ------------------------------ Message: 4 Date: Sun, 19 Aug 2007 16:00:36 +0100 (BST) From: Prof...