Displaying 20 results from an estimated 800 matches similar to: "R^2 in Poisson via pr2() function: skeptical about r^2 results"
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
I want to get the logLik to calculate McFadden.R2 ,ML.R2 and
Cragg.Uhler.R2, but the value from multinom does not have logLik.So my
quetion is : is logLik meaningful to multinomial logistic model from
multinom?If it does, how can I get it?
Thank you!
ps: I konw VGAM has function to get the multinomial logistic model
with logLik, but I prefer use the function from "official" R
2012 Apr 12
2
How to calculate the "McFadden R-square" for LOGIT model?
Dear all, can somebody please help me how to calculate "McFadden
R-square" for a LOGIT model? Corresponding definition can be found
here:
http://publib.boulder.ibm.com/infocenter/spssstat/v20r0m0/index.jsp?topic=%2Fcom.ibm.spss.statistics.help%2Falg_plum_statistics_rsq_mcfadden.htm
Here is my data:
Data <- structure(c(1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1,
0, 0, 1, 1,
2011 Apr 11
1
pseudo-R by hand
hello dear list! since we want to do a model analysis and some people
would like to see pseudo-R^2 values for different types of glm of a
logistic regression, i've decided to write a function that computes
either nagelkerkes normed pseudo-R or cox & snells pseudo-R. however, i
am not clear as in the decisive step, i need to calculate the log of
(maximum likelihood estimates of model
2010 Oct 13
5
Poisson Regression
Hello everyone,
I wanted to ask if there is an R-package to fit the following Poisson
regression model
log(\lambda_{ijk}) = \phi_{i} + \alpha_{j} + \beta_{k}
i=1,\cdots,N (subjects)
j=0,1 (two levels)
k=0,1 (two levels)
treating the \phi_{i} as nuinsance parameters.
Thank you very much
--
-Tony
[[alternative HTML version deleted]]
2004 Aug 29
2
AgentCallbackLogin by other means
Hi,
We?re looking at options for logging agents into the system programmatically
via Perl/PHP and I was wondering if anyone else is doing this and if so,
how. We're using AgentCallbackLogin now but would like to set up a web
interface instead. I've been looking at Asterisk::Manager and didn't see
anything relevant and wanted to ask the group before we dove into the
Asterisk source.
2008 Apr 24
0
Coefficient of determination in a regression model with AR(1) residuals
Dear R-users,
I used lm() to fit a standard linear regression model to a given data
set, which led to a coefficient of determination (R^2) of about
0.96. After checking the residuals I realized that they follow an
autoregressive process (AR) of order 1 (and therefore contradicting
the i.i.d. assumption of the regression model). I then used gls()
[library nlme] to fit a linear
2006 May 11
1
kernel names
Hi
I am pretty new to this, and this may be an easy one, but I have not
found the answer in the docs.
The kernels produced from a build seem to have the same name for both
the dom0 and domU instances.
I get one kernel named vmlnuz-2.16.6-xen
Is this expected?
Although the dom0 boots, I ma having a crappy time getting a virtualized
OS to boot and am trying to see if this is the
2011 Oct 25
1
McFadden r^2 and the inrercept
Hi
I have estimated parameters of my data with mlogit and the following commands. I would like to know also the McFadden R^2 and the intercept, could soweone tell me how that can be done?
library(RODBC)
library(mlogit)
library(foreign)
z<-odbcConnectExcel("D:\\MALLI11ARVOT.xls")
y<-sqlFetch(z,"Taul1")
2004 Oct 04
0
OT: BudgetTone CallerID
Since the last firmware upgrade we've been experiencing some odd CallerID
behaviour. Instead of the LCD showing the calling party's #, the phones
are showing the internal extension being dialed.
This is probably a really stupid fix I'm overlooking, but I was hoping
someone could offer some insight.
Thanks!
-Corey
--
Corey S. McFadden
McFadden Associates - Technology
2006 Jun 01
0
Possible bug in 3.0.2 - "Manager is watching"
I call this one the "Manager is watching" bug since it *only* happens
during demonstrations.
Really. I am not kidding. Caused me some, er, awkward moments not
once, but twice.
Actually, the reason may be more prosaic. Here is the situation.
I am using FC4 on an EM64T host with the Xen mods - VT enabled.
I have two VMs. VM1 is Win XP (32 bit), VM2 is RHEL4U1 (32 bits)
2006 May 15
1
Bring up problem
I am hoping I can get a little light she on a problem I am having trying
to bring up a guest domain.
I suspect that the problem is in my supplied file system
First the environment.
VT enabled dual core EM64T processor,
Asus Mb (I can get the exact chipset infor if relevant)
2 Gig of DRAM
SATA drives.
I have build and booted the domain 0 using 3.0.2-2 version of xen. This
seems ok.
2012 Oct 14
2
Poisson Regression: questions about tests of assumptions
I would like to test in R what regression fits my data best. My dependent
variable is a count, and has a lot of zeros.
And I would need some help to determine what model and family to use
(poisson or quasipoisson, or zero-inflated poisson regression), and how to
test the assumptions.
1) Poisson Regression: as far as I understand, the strong assumption is
that dependent variable mean = variance.
2008 Apr 02
3
Fwd: Re: Nonlinear equation
> > >From: robert-mcfadden w o2.pl
> > >Date: 2008/04/02 Wed AM 09:58:28 CDT
> > >To: r-help w r-project.org
> > >Subject: [R] Nonlinear equation
> >
> > hi: you need to give an example and details or
> > you won't get much response, if any.
Equation e.g. (A, B are known constants):
3log(gamma(x))-log(gamma(x)*gamma(2x))+(x-1)*A+B=0
2004 Nov 30
2
Package for multivariate binary logistic regression?
I am trying to find out if someone has implemented a (McFadden-type) multivariate
binary logistic regresssion package for R? From what I can tell, this is not available for R.
Thank you,
Lynne Baker
[[alternative HTML version deleted]]
2009 Apr 14
2
Subset function: selecting variables within a factor
Hi all
I know this must be an easy one so sorry for the trouble. I would like
to select a list of variables within a factor
The following example is given in help for subset:
subset(airquality, Temp > 80 select = c(Ozone, Temp))
So how do I select all temperatures of 90 and 80 ie Temp = c(80,90)
I would appreciate your help.
Kind regards
andy
Andrew McFadden MVS BVSc
Incursion
2007 Jul 19
2
multinomial logit estimation
Good morning,
I'd like to estimate a simple multinomial logit model in R (not a McFadden conditional logit). For instance, I'd like to estimate the probability of someone having one of eight titles in a company with the independent variables being the company characteristics. A binary logit is well documented. What about the multinomial?
Thanks,
Walt Paczkowski
2009 Apr 01
1
Adjusting font size in a lattice graph
Hi all
I have created a lattice graph but the text appears too big. Just
wondering if there was a way I could change the font size.
tp1.nDai=xyplot(value ~ yr | Name, data = nDai,type = 'o')
update(tp1.nDai, aspect = c(0.8), layout = c(4, 4))
I would appreciate your help.
Kind regards
andy
Andrew McFadden MVS BVSc
Incursion Investigator
Investigation & Diagnostic Centres -
2010 Feb 14
1
Adding a regression line to an xyplot
Hi R users
> I am trying to add a regression line to a graph for "c" for factor 2
> only. Any suggestions?
>
library(lattice)
a=(1:10)
b=c(1:5,16:20)
c=as.factor(c(rep(1,5),rep(2,5)))
d=data.frame(a,b,c)
xyplot(a~b, pch=c(6,8),data = tavg, groups=d$c,
reg.line=lm, smooth=FALSE, type=c("p","g"),xlab="a",ylab="b")
> I would
2011 Apr 12
0
cross-validation complex model AUC Nagelkerke R squared code
Hi there,
I really tried hard to understand and find my own solution, but now I
think I have to ask for your help.
I already developed some script code for my problem but I doubt that it
is correct.
I have the following problem:
Image you develop a logistic regression model with a binary outcome Y
(0/1) with possible preditors (X1,X2,X3......). The development of the
final model would be
2008 Mar 06
2
R code for selecting places spatially and by time
Hi all
The code of trying to write relates to selecting properties (given by x
and y co-ordinates) spatially (distance "X" from "infected" properties
identified by date) over a certain time period.
i.e. what properties are within 3 km from properties infected on
"2008-01-01" over the last 14 days.
Is any one able to give me some clues on how to write code to solve