Displaying 10 results from an estimated 10 matches similar to: "Extract values from a predict() result... how?"
2010 Sep 02
1
Help on glm and optim
Dear all,
I'm trying to use the "optim" function to replicate the results from the "glm" 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 =
2012 Aug 10
1
plotting profile likelihood curves
Hello,
I am trying to figure out how to plot the profile likelihood curve of a GLM
parameter with 95% pCI's on the same plot. The example I have been trying
with is below. The plots I am getting are not the likelihood curves that I
was expecting. The y-axis of the plots is tau and I would like that axis
to be the likelihood so that I have a curve that maxes at the parameter
estimate. I am
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
2008 Jul 06
1
Interpreting messages when building packages
Dear expRts,
when I try to build a package by myself, the process fails writing the
following messages to 00install.out:
* Installing *source* package 'dynalc' ...
** libs
WARNING: no source files found
chmod: Zugriff auf ?/home/hannes/texte/forschung/clot/programme/dynalc.Rcheck/dynalc/libs/*? nicht m?glich: No such file or directory
** R
** data
** inst
** help
Note: removing empty
2012 Mar 29
1
abline with xyplot does not work
I am trying to plot the results of a random effects model where each subject is allowed to have his, or her, own intercept. I use xyplot to plot the data, lme to compute the regression and then try to put a summary regression line on the xyplot. As can be seen by the output pasted below, I am getting an error message,
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
(list)
2003 May 22
1
faraway package installation failed (PR#3076)
Full_Name: José Otero
Version: Version 1.5.0 (2002-04-29)
OS: Redhat 7.3
Submission from: (NULL) (192.187.16.164)
Hi:
Installation of package faraway
as root, from tarbal:
R CMD INSTALL ./faraway.tar.gz
ERROR: cannot extract package from './faraway.tar.gz'
idem, from zipped package:
R CMD INSTALL faraway.zip
gzip: faraway.zip has more than one entry--rest ignored
ERROR: cannot
2007 Aug 21
2
Partial comparison in string vector
Hi list members
I have a vector of strings
x=c("w","ex","ee")
And I want to get a logical vector showing the positions where my search
string "e" matches the elements partially, i.e. is at least the left-hand
part of the target strings, i.e. I want to get a vector FALSE TRUE TRUE.
Any ideas?
Thanks
Steve Powell
proMENTE social research
research |
2004 Dec 16
2
MP3 streaming from icecast2 -> WMP
Anyone conceive of any reason why I should have a stream that
RealPlayer and iTunes have no problem with, but MP9 refuses to play:
just sits there dumbly having loaded the .m3u that points to it,
ignoring the play button?
2012 Jan 27
4
Puppet agents stop reporting after master runs out of disk space...
I am experiencing a curious event, and wondering if others have seen
this... As well, I have a question related to it.
Today, I noticed my puppet summary report from Foreman this morning,
that 60 of my 160 hosts all stopped reporting at nearly the exact same
time, and have not since restarted. Investigating, it appears that my
puppetmaster temporarily ran out of disk space on the /var