Displaying 5 results from an estimated 5 matches similar to: "McFadden r^2 and the inrercept"
2011 Dec 18
2
Dealing with NAs
Hi
I am trying to estimate parameter values with mlogit. I attach a part of my data.
My code is
x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero")
summary(mlogit(voittaja ~ Ie-1 , data=x, na.action=na.pass))
But i get
Error in if (abs(x - oldx) < ftol) { :
missing value where TRUE/FALSE needed
Because there is Na
2011 Dec 19
1
Mlogit missing value problem
Hi
After good advices i post this problem here again. Now the attached sambledata is in csv form and it is a part of my real data. I have tried different na.action operations but the result stays the same...
My code
> library(mlogit)
> library(foreign)
> z<-odbcConnectExcel("D:\\SAMBLEDATA.csv")
> y<-sqlFetch(z,"Taul1")
>
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,
2004 Oct 19
1
Some metadata missing, relaying icecast1 stream with icecast2
I'm relaying an icecast1 mp3 stream with icecast2. This works fine,
and the song title is displayed correctly no matter if I use
<relay-shoutcast-metadata>1</> or not on the relay.
But, the stream name and other metadata provided by ices0 on the
icecast1 server is not displayed in the listening client.
Icecast1 source:
[Id: 1] [Sock: 11] [Time of connect: 09/Aug/2004:10:01:24]
2004 Jan 15
1
Exactness of ppois
Hello,
by checking the precision of a convolution algorithm, we found the
following "inexactness":
We work with R Version 1.8.1 (2003-11-21) on Windows systems (NT, 2000,
XP).
Try the code:
## Kolmogorov distance between two methods to
## determine P(Poisson(lambda)<=x)
Kolm.dist <- function(lam, eps){
x <- seq(0,qpois(1-eps, lambda=lam), by=1)
max(abs(ppois(x,