similar to: question on lm or glm matrix of coeficients X test data terms

Displaying 20 results from an estimated 1000 matches similar to: "question on lm or glm matrix of coeficients X test data terms"

2008 Sep 21
2
r format questions
Hi, 1) I have noticed that when I use the aggregate function it outputs numbers in the results. for example: aggregate by product group.1 Aggregate 1 ProductA 1000400.00 2 ProductB 23232323.00 3 Missing 232323.00 is there a way to suppress the numbers infront of aggregate outputs. I checked and they don't look like columns when I do a summary so I can't -1
2008 Sep 21
1
design question on piping multiple data sets from 1 file into R
Hi, I have some queries that I use to get time series information for 8 seperate queries which deal with a different set of time series each. I take my queries run them and save the output as csv file and them format the data into graphs in excel. I wanted to know if there is an elegant and clean way to read in 1 csv file but to read the seperate matrices on different rows into seperate
2008 Oct 19
3
pairs plots in R
Hi, is there a way to take a data frame with 100+ columns and large data set to do efficient exploratory analysis in R with pairs? I find using pairs on the whole matrix is slow and the resulting matrix is tiny. Also the variable of interest for me is a binary var Y or N . Is there an efficient way to graphically view many variable relationships that does not look teeny ? I could do
2010 Mar 06
3
r code to generate interaction columns
Hi, is there a way to take a dataset and extract numeric columns and create interaction columns from it automatically? For e.g. there are 5 columns of data: A,B,C,D,E. CDE are numeric. Can someone provide code to automatically create more columns such as: 1) C*D, C*E, C*D*E, (C+E)/(D+.01 (to avoid divide by zero), (D+E)/(C+.01 (to avoid divide by zero), (C+D)/(E+.01 (to avoid
2008 Oct 02
2
aggregate empty row for pretty appearance also subtotal if possible
Hi, To pretty print aggregates by various dimensions I needed to add a empty row in output of aggregate. For example. d<-(aggregate(data[,cbind("x")], by=list(data$group1,data$group2), sum)) Group.1 Group.2 x 1 A N 3 2 A Y 2 3 B N 420164905 Is there a way to add an empty
2017 Jun 22
6
[Bug 101559] New: Displays fail to wake up when booting machine away from Display Port KVM switch
https://bugs.freedesktop.org/show_bug.cgi?id=101559 Bug ID: 101559 Summary: Displays fail to wake up when booting machine away from Display Port KVM switch Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority:
2008 Nov 20
1
rpart tuning question
Hi, In a binary classification dataset is there a way to tune rpart to now allow any false positives. I.e. is there some setting that will enforce no false positives (prior etc)? (and yet Without making the tree pick all 0 or 1 outcome) Dhruv [[alternative HTML version deleted]]
2008 Dec 23
1
sorting regression coefficients by p-value
Hi, Is there a way to get/extract a matrix of regression variable name, coefficient, and p values? (for lm and glm; which can be sort by p value?) thanks Dhruv [[alternative HTML version deleted]]
2008 Sep 29
1
persistence of model in R to a file
Hi, Is there a way to save R models (glm, lm , rpart etc) in a file that be read in later? I noticed models take up space. by space them off and removing them from memory it seems that would be useful. Also why do the models keep a copy of all columns in the original data set even those columns are not in the model. E.g. if I build a model on columns A, B even thought column C
2009 Sep 12
1
[LLVMdev] Cache optimizations and data layout
Hello, I am new to LLVM. I am using an x86 code generator. I need to write a few passes based on cache blocks and data layout information. Does LLVM provide a way for me to see the data layout and analyze what are the cache blocks? If not is it possible to implement the same in the current framework? Thank You Dhruv Choudhary -- School of Electrical and Computer Engineering Georgia Institute
2012 Jan 19
3
What does the : operator mean in glm formulas
Hi, I see the following is the credit scoreing in R guide : m2<-glm(formula = good_bad ~ checking + duration + history+ purpose +amount + savings + employed + installp + marital + coapp +age + other + depends + telephon + foreign +checking:amount What does checking:amount mean? Regards, Xiaobo Gu
2009 Oct 12
3
[LLVMdev] Accessing Loop Variables
Hi, How do I access the loop variables in a loop. for(i = 0; i < N; i++) for(j = 0; j < M; j++) A[i][j+k] = i + j; Is there anyway for me to know that in A[i][j+k], i & j are loop variables whereas k is not! Regards, Prasenjit Chakraborty Performance Modeling and Analysis IBM Systems & Technology Lab
2009 Jun 18
3
Getting started with puppet
Hey Folks, I''m just starting to look into Puppet though am finding it a bit confusing as to how to get it setup on the network I administer. At the moment it is a combination of RHEL 4 and SLES 10 boxes with windows and novell also. I know that windows / novell is beside the point though am wondering how to get puppet setup on the RHEL and SLES side of things. Any good howto''s
2008 Oct 27
0
Displaying number of Y/N affected by tree in rule form RE: R question/request on rules from rpart
Hi Prof. Williams, thanks for your suggestion. The updated code is below. It turns out it was a matter of displaying the second column in yval to get the number of N and subtracting it from the n column in the frame to get the number of Y remaining in a binary example. once this is added now the function returns the rules along with Y and N count affected by the resulting rule. I am ccing
2004 Nov 08
1
plotting lm coeficients with their means
I am trying to write a function that will run a linear model and plot the regression coeficients with their corresponding means. I am having two problems. I can get the plot with the function below, but I am having trouble labeling the points. function(y,x1,x2,x3,x4){ outlm<-lm(y~x1+x2+x3+x4) imp<-as.data.frame(outlm$coef[-1]) meanvec<-c(mean(x1),mean(x2),mean(x3),mean(x4))
2013 May 08
1
How to calculate Hightest Posterior Density (HPD) of coeficients in a simple regression (lm) in R?
Hi! I am trying to calculate HPD for the coeficients of regression models fitted with lm or lmrob in R, pretty much in the same way that can be accomplished by the association of mcmcsamp and HPDinterval functions for multilevel models fitted with lmer. Can anyone point me in the right direction on which packages/how to implement this? Thanks for your time! R. [[alternative HTML version
2017 Dec 06
2
Coeficients estimation in a repeated measures linear model
Dear Users, I am trying to understand the inner workings of a repeated measures linear model. Take for example a situation with 6 individuals sampled twice for two conditions (control and treated). set.seed(12) ctrl <- rnorm(n = 6, mean = 2) ttd <- rnorm(n = 6, mean = 10) dat <- data.frame(vals = c(ctrl, ttd), group = c(rep("ctrl", 6), rep("ttd",
2009 Jun 07
1
One rather theoretical question about fitting algorithm
Hi, What I'm trying to achieve is very fast algorithm for fitting logistic regression model. I have to estimate regression coeficients using about 10k observations. Once I have coefficients estimated, new 100 rows of data becomes available.... Now I need to reestimate coeficients using 100 newly arrived observations and removing 100 oldest observations. So, my question is would it be
2008 Sep 22
1
R-help Digest, Vol 67, Issue 23
Warranty on Accuracy, Precision, Legality, ... of R in Research (These questions may well have been raised.) What is the implied warranty of using R for research & publications, consulting, etc.? Alternately, how does one obtain such a warranty? Your answers will be much appreciated. Perhaps you can point me to some websites which discussed this subject in the past. Thanks & regards
2004 Sep 20
3
montecarlo simulation
Hy! I would like to know how run a montecarlo simulation with R. Thank you!!!! Francesca Matalucci __________________________________________________________________ Accesso Internet Gratis per utenti Excite! Attivalo subito! http://www.excite.it/hitech/accesso Il Mio Excite. Personalizza la tua Home page Excite come vuoi tu! http://www.excite.it AAA/Relazioni. Sfoglia gli annunci e trova la