search for: oldx

Displaying 7 results from an estimated 7 matches for "oldx".

Did you mean: old
2011 Dec 18
2
Dealing with NAs
...o 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 in D2. What should i do to make it work?
2011 Dec 19
1
Mlogit missing value problem
...ConnectExcel("D:\\SAMBLEDATA.csv") > y<-sqlFetch(z,"Taul1") > x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero") > summary(mlogit(voittaja ~ Fa+Ie -1 , data=x, na.action=na.pass)) Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed The reason for this error is in the row 563. There the choice has value 1 and Ie has missing value. If the choice has value 0 and Ie has missing values, then there is no errors. What should i do to make it work..? Ville
2007 Apr 05
1
Ignoring increment hint when maximized horz/vert
...wSizeChanges (CompWindow *w, x = (vx - w->screen->x) * w->screen->width; y = (vy - w->screen->y) * w->screen->height; - output = outputDeviceForGeometry (w->screen, + output = outputDeviceForGeometry (w->screen, oldX, oldY, oldWidth, ...MC
2010 May 28
4
Matrix interesting question!
hi, I have been trying to do this in R (have implemented it in Excel) but I have been using a very inefficent way (loops etc.). I have matrix A (columns are years and ages are rows) and matrix B (columns are birth yrs and rows are ages) I would like to first turn matrix A into matrix B And then I would like to convert matrix B back again to the original matrix A. (I have left out details of
2011 Oct 16
2
right justify right-axis tick values in lattice
How can I right justify the right-axis tick values? They appear in the example below as left-justified. I have tried several different ways and all fail in different ways. The example below creates the right axis tick value with no attempt at adjustment. alternates I have tried are 1. formatting the values. This doesn't work because they are in a proportional font and the blanks are too
2013 Mar 19
0
mlogit: block design CE model
...1 2 0 1 1 I have tried the following codes to set the data for mlogit and run the model: T1m<-mlogit.data(T1,shape="long",choice="choice",alt.var="Alt") m1=mlogit(choice~x1+x2+x3+x4|Age+Sex, data=T1m) I am getting the following error: Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed I have gone through the data and found no missing values. Please advice if the codes I have used are appropriate and what is going wrong. Thanks in advance, abimoss [[alternative HTML version deleted]]
2011 Oct 14
1
Party package: varimp(..., conditional=TRUE) error: term 1 would require 9e+12 columns
I would like to build a forest of regression trees to see how well some covariates predict a response variable and to examine the importance of the covariates. I have a small number of covariates (8) and large number of records (27368). The response and all of the covariates are continuous variables. A cursory examination of the covariates does not suggest they are correlated in a simple fashion