Displaying 20 results from an estimated 5000 matches similar to: "MCMC_glm models"
2010 Nov 16
3
Population abundance, change point
I am trying to understand my population abundance data and am looking into
analyses of change point to try and determine, at approximately what point
do populations begin to change (either decline or increasing).
Can anyone offer suggestions on ways to go about this?
I have looked into bcp and strucchange packages but am not completely
convinced that these are appropriate for my data.
Here is
2008 Jul 07
5
question on lm or glm matrix of coeficients X test data terms
Hi,
is there an easy way to get the calculated weights in a regression equation?
for e.g.
if my model has 2 variables 1 and 2 with coefficient .05 and .6
how can I get the computed values for a test dataset for each coefficient?
data
var1,var2
10,100
so I want to get .5, 60 back in a vector. This is a one row example but I would want to get a matrix of multiplied out coefficients
2010 Feb 25
1
Zero inflation model - pscl package
I have some questions regarding Zero Inflation Poisson models.
I am using count data to analyze abundance trends of salamanders. However,
I have surveys which differ in the amount of effort (i.e. the number of
people searching and amount of time - I am using a museum database so not
all surveys were conducted by me). Therefore I need to account for the
effort. If change the count (response
2011 Jan 11
4
Denying authentication
Hello,
I've been running dovecot for over 3 years now and it works
with no problems. I have it setup so that it authenticates users against
Active Directory via LDAP and so far no problems.
What I would like to know is if there is any way that I
could deny access for users trying to access email via cellphones or email
clients outside the company. I can
2010 May 22
5
quota and postfix virtual users
hi everyone i have a mailserver working with postfix 2.5.1 vda and
virtual user with mysql and dovecot, everything is working fine but i want
to offer quota and i have a problem with that because the quota in
roundcube appear but calculate is wrong i need to delete the maildirsize
file to force to recalculate, what can i do??? in my dovecot i have imap{
quota imap_quota, in plugins section i have
2006 Jan 17
2
multiple GLMs with lmList in lme4
I'd like to fit a GLM to each of a number of subsets of some data. The `family' argument to `lmList' (in lme4) has given me cause for optimism, but so far I've only been able to achieve linear model fits. For example
> df <- data.frame(gp = gp.temp <- factor(rep(1:3, each = 100)),
x = x.temp <- rnorm(300),
y = rpois(300, exp((-1:1)[gp.temp] + x.temp)))
Then a call to
2011 Jun 27
2
Per IP ssl certificates
I have to manage 2 different domains, with 1 ssl certificate each, but I don't
know how to configure them.
I tried this example:
"Different certificates per IP and protocol"
http://wiki2.dovecot.org/SSL/DovecotConfiguration
but I got this error:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: ssl
enabled, but ssl_cert not set
I dont find any documentation
2009 Dec 17
2
segfault in glm.fit (PR#14154)
Bug summary:
glm() causes a segfault if the argument 'data'
is a data frame with more than 16384 rows.
Bug demonstration:
-------input ---------------
N <- 16400
df <- data.frame(x=runif(N, min=1,max=2),y=rpois(N, 2))
glm(y ~ x, family=poisson, data=df)
------ output ---------------
*** caught segfault ***
address (nil),
2007 May 17
3
[Bug 1273] Interactive mode detection should not be predicated on pty allocation
http://bugzilla.mindrot.org/show_bug.cgi?id=1273
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
CC|
2008 Nov 13
1
UPS suddenly powered off
Hi,
I'm using a gamasonic UPS with a megatec driver since two years with no
problem.
I'm running a Linux server Debian Etch 4.0 and the nut package is (
taken from dpkg -l nut )
ii nut 2.0.4-4 The core
system of the nut - Network UPS Tools
Today morning I found the UPS powered off. I had to manually power it on.
I found the following
2006 Mar 08
1
power and sample size for a GLM with Poisson response variable
Craig, Thanks for your follow-up note on using the asypow package. My
problem was not only constructing the "constraints" vector but, for my
particular situation (Poisson regression, two groups, sample sizes of
(1081,3180), I get very different results using asypow package compared
to my other (home grown) approaches.
library(asypow)
pois.mean<-c(0.0065,0.0003)
info.pois <-
2005 Jun 27
1
function for "two-part" or "two-condition" models
Hello,
This is an (hopefully) improved question of one I posted several weeks
ago. Does anyone know of a function for fitting "two-part" models?
These models are designed to handle count data with so many zeroes
that they can't be fit well with zero-inflated Poisson models or other
'typical' GLMs. My understanding is that they work by first fitting a
binomial model to
2000 Nov 08
3
Strange means of numbers drawn from rpois
Dear all,
I think I must be going crazy.... If I do
> mean(rpois(1000000, 14))
I get:
[1] 13.50420
and again:
> mean(rpois(1000000, 14))
[1] 13.49896
> mean(rpois(1000000, 14))
[1] 13.50161
> mean(rpois(1000000, 15))
[1] 14.49250
> mean(rpois(1000000, 15))
[1] 14.49897
> mean(rpois(1000000, 14.5))
[1] 13.99689
> mean(rpois(1000000, 14.5))
[1] 13.9963
This was on a
platform
2006 Mar 05
1
predicted values in mgcv gam
Hi,
In fitting GAMs to assess environmental preferences, I use the part
of the fit where the lower confidence interval is above zero as my
criterion for positive association between the environmental variable
and species abundance. However I like to plot this on the original
scale of species abundance. To do so I extract the fit and SE using
predict.gam.
Lately I compared more
2000 Apr 30
2
rpois hangs (PR#530)
Full_Name: Kjetil Kjernsmo
Version: Version 1.0.0
OS: osf1
Submission from: (NULL) (129.240.28.227)
Dear all,
I have come across another really strange bug in rpois.
If I do
> rpois(1, 1000000 * rpois(1, 10000))
sometimes it hangs, and hangs...
On my XP1000 alphaev6 workstation, it seems to happen more
frequently than on other machines. I started a session on an older
computer, and from
2011 May 12
3
dovecot proxy with nopassword and postfix sasl
HI All
I have setup a dovecot proxy with remote auth, value nopassword in the passdb to make the auth remotely.
With pop3 and imap the authentication is made on the remote server and this work perfectly.
I have tested with wrong and correct password.
Then I have added the postfix sasl and this also works fine, the request is made to dovecot.
My problem is that with this method I can give any
2003 Aug 26
4
Viewing function source
I know I should probably RTFM for this question, but could someone tell me
if R supports the idea of "viewing source" on any particular function you
want to use?
If I want to "view source" on the rpois() function, for example, can I do
somethink like:
source(rpois)
To see how the function is implemented?
Regards,
Paul Meagher
Datavore Productions
50 Wood Grove Drive
2009 Oct 06
3
rpois formula
Hi all,
It's been a while since i've used R and I can't remember how to do the
following:
i have
a = rpois (100000, x)
b = rpois (100000, y)
what is the code to show that a>b, b>a and a=b to show just the number of
occurances?
at the moment when I type a>b I get a nice long list of true or false.
so i'm hoping to have the following
a>b
> 35000
b>a
> 25000
2010 Nov 27
1
d.f. in F test of nested glm models
Dear all,
I am fitting a glm to count data using poison errors with the log link. My
goal is to test for the significance of model terms by calling the anova
function on two nested models following the recommendation in Michael
Crawley's guide to Statistical Computing.
Without going into too much detail, essentially, I have a small
overdispersion problem (errors do not fit the poisson
2012 Mar 16
2
Elegant Code
Hi,
Can anyone help to write a more elegant version of my code? I am sure
this can be put into a loop but I am having trouble creating the
objects b1,b2,b3,...,etc.
b1 <- rigamma(50,1,1)
theta1 <- rgamma(50,0.5,(1/b1))
sim1 <- rpois(50,theta1)
b2 <- rigamma(50,1,1)
theta2 <- rgamma(50,0.5,(1/b2))
sim2 <- rpois(50,theta2)
b3 <- rigamma(50,1,1)
theta3 <-