similar to: Problem saving logic regression result equation to disk file

Displaying 20 results from an estimated 600 matches similar to: "Problem saving logic regression result equation to disk file"

2008 May 19
0
How to get confidence interval and coefficient in Logic Regression
sorry to bother everyone. i have question to get the coefficient and confidence interval in Logic Regression with Logistic model. below i list the R code X <- matrix(as.numeric(runif(400) < 0.5), 50,8) colnames(X) <- paste("X", 1:ncol(X), sep="") rownames(X) <- paste("case", 1:nrow(X), sep="") # Define expected result: Y = (NOT X1) AND X5 Y
2008 Mar 18
1
how to reset slogic.f file
Hi there: recently i try to use LogicReg package for a tree model(logistics fit ) . i list my code and error below: > dim(model.dat) [1] 48000 745 > fit1 <- logreg(resp = model.dat[,745], bin=model.dat[, 9:700], type = 3, select = 3, ntrees = c(1,2), nleaves=c(1,7), ) Insufficient declaration LGCn1MAX in logreg() is 20000 LGCn1MAX should be at least 48000 Please fix and
2005 Feb 10
1
skip missing values in plots
I really like these Trellis graphics but how do I get this code to skip the missing? logreg<-read.csv("logreg.csv", header=TRUE, sep=",", na.string=" ") attach(logreg) bwplot(yesno~bc_pcb_tot |varlist, data=logreg, main="Box Cox PCB transformation", auto.key=TRUE, fontfamily = "HersheySans" ) Dean Sonneborn M.S. Public Health Sciences *
2006 Jun 06
2
Error in inherits(x, "data.frame") : object "Dataset" not found
I have been trying to run a logistic regression using a number of studies. Below is the syntax, error message & data. Any advice regarding what I am doing wrong or solutions are appreciated, regards Bob Green > logreg <- read.csv("c:\\logregtest.csv",header=T) > attach(logreg) > names(logreg) [1] "medyear" "where" "who"
2005 Jul 19
2
Regression lines for differently-sized groups on the same plot
Hi there, I've looked through the very helpful advice about adding fitted lines to plots in the r-help archive, and can't find a post where someone has offered a solution for my specific problem. I need to plot logistic regression fits from three differently-sized data subsets on a plot of the entire dataset. A description and code are below: I have an unbalanced dataset
2008 Oct 17
1
Package
Hi, I was trying to plot the logistic regression from a regression "logreg" I just ran. I downloaded the "car" package from the R website and went to Packages -> install package from local zip file I checked in my library file and the package is there. I restarted R. I then ran the command: reg.line(logreg,col=palette()[2], lwd=2, lty=1) And I get the error: Error: could
2003 Dec 05
3
Odds ratios for categorical variable
Dear R-users: How does one calculate in R the odds ratios for a CATEGORICAL predictor variable that has 4 levels. I see r-help inquiries regarding odds ratios for what looked like a continuous predictor variable. I was wondering how to get the pairwise odds ratios for comparisons of levels of a categorical predictor variable. I can't seem to get the correct output using: >
2012 Jan 10
1
grplasso
I want to use the grplasso package on a data set where I want to fit a linear model.? My interest is in identifying significant?beta coefficients.? The documentation is a bit cryptic so I'd appreciate some help. ? I know this is a strategy for large numbers of variables but consider a simple case for pedagogical puposes.? Say I have?two 3 category predictors (2 dummies each), a binary
2008 Oct 14
1
library MICE warning message
Hello. I have run the command imp<-mice(mydata, im=c("","pmm","logreg","logreg"),m=5)  for a variable with no missing data, a numeric one and two variables with binary data. I got the following message: There were 37 warnings (use warnings() to see them) > warnings() Warning messages: 1: In any(predictorMatrix[j, ]) ... : coercing argument of
2007 Jan 05
1
help for memory problem with 64-bit machines
Hello, I would appreciate *any* ideas on this problem. I'm the maintainer of a package ("subselect"), which on CRAN's Daily Package Checks is OK on all flavours of R, except r-devel Linux x86_64, where there is a "memory not mapped" segfault with the very first example that is tried out (output below). Additionally, a user with an AMD64 machine has just reported a
2008 Oct 23
0
error when using logistic.display within a loop
Dear list, I tried to apply the logistic regression to different response variables from a dataframe and would like to store the results using the function logistic.display from the "epicalc" package in a list, but got an error message "Error in eval(expr, envir, enclos) : y values must be 0 <= y <= 1". All the response variables have value of 0 or 1. It worked
2011 May 11
1
Recompile a package
Hello, dear R community. The thing is that I am not in the least a developer, neither do I want to create a package of my own. But recently I have found a package LogicForest, which is in the base written in Fortran I think. And well, in its manual it is written that there are several parameters there that had had to be "hard coded", but which in essence actually have no restrictions.
2004 Aug 31
1
subselect install problem
Trying to install subselect v0.8 on Redhat 7.3 and R 1.8.1 fails (below). Any help is greatly appreciated. Xiao-Jun * Installing *source* package 'subselect' ... ** libs f2c < anneal.f > anneal.c anneal: Error on line 263: Declaration error for fica: adjustable dimension on non-argument Error on line 263: Declaration error for valp: adjustable dimension on non-argument Error
2004 Sep 22
5
Issue with predict() for glm models
[This email is either empty or too large to be displayed at this time]
2008 Jul 09
0
problems using mice()
R 2.7.2 PPC Mac OS X 10.4.11 library mice 1.13.1 I try to use mice for multivariate data imputation. My variables are numeric, factors, count data, ordered factors. First I created a vector for the methods to use with each variable ImpMethMice<-c(rep("logreg", 62), rep("polyreg",1), rep("norm",12), rep("polyreg",12)) next step was
2007 May 17
1
MICE for Cox model
R-helpers: I have a dataset that has 168 subjects and 12 variables. Some of the variables have missing data and I want to use the multiple imputation capabilities of the "mice" package to address the missing data. Given that mice only supports linear models and generalized linear models (via the lm.mids and glm.mids functions) and that I need to fit Cox models, I followed the previous
2004 Sep 23
0
followup: Re: Issue with predict() for glm models
Could you just use lines(newX, myPred, col=2) -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Paul Johnson Sent: Thursday, September 23, 2004 10:3 AM To: r help Subject: followup: Re: [R] Issue with predict() for glm models I have a follow up question that fits with this thread. Can you force an overlaid plot
2004 Mar 11
0
Subselect package - Version 0.7.1
A new version (0.7.1) of package 'subselect' has been uploaded to CRAN. Package 'subselect' provides functions which assess the quality of variable subsets as surrogates for a full data set, in an exploratory data analysis, and search for subsets which are optimal under various criteria. As of version 0.7 a new function 'leaps' has been added. 'Leaps' performs a
2004 Mar 11
0
Subselect package - Version 0.7.1
A new version (0.7.1) of package 'subselect' has been uploaded to CRAN. Package 'subselect' provides functions which assess the quality of variable subsets as surrogates for a full data set, in an exploratory data analysis, and search for subsets which are optimal under various criteria. As of version 0.7 a new function 'leaps' has been added. 'Leaps' performs a
2006 Jun 12
0
New version of Subselect package
Version 0.9-99 of package "subselect" is now on CRAN. The subselect package has functions that search for k-variable subsets of a p-variable (p>k) data set that are optimal under some criterion. Search algorithms include a full search algorithm "leaps", based on Furnival and Wilson's leaps and bounds algorithm, and three random search algorithms: a genetic algorithm