similar to: Lin Model with interactions

Displaying 20 results from an estimated 200 matches similar to: "Lin Model with interactions"

2009 Apr 17
0
Linear model with interaction
Hi all, I have a question about linear model with interaction: I created a data frame df like this: >df V1 V2 V3 V4 V5 1 6.414094 c t a g 2 6.117286 t a g t 3 5.756922 a g t g 4 6.090402 g t g t ... which holds the response in the first column and letters (a,c,g,t) in the other columns. I am interested to see if there are interactions between the neigbouring letters
2016 Jan 26
2
Corregir mismo ID para individuos diferentes en una serie temporal
Hola, Please, mira si esta vez funciona: #---------------------------------------------- ID <- c(1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 1, 2, 6, 8, 12, 7, 15, 16, 17, 18, 19, 20, 1, 21, 22, 19 ) Year <- c (1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6) df <- data.frame (ID, Year) df ID <- c(1,
2016 Jan 26
2
Corregir mismo ID para individuos diferentes en una serie temporal
Hola, Antes de nada, muchas gracias por tu ayuda. El código se ha acercado bastante, pero no termina de funcionar porque considera cada captura de un individuo como años consecutivos aunque haya pasado más tiempo entre ellos. Por ejemplo el individuo 4 es capturado por primera vez el año 1 y por segunda vez el año 3, por lo que debería de ser renombrado ya que en este ejemplo en concreto
2016 Jan 25
4
Corregir mismo ID para individuos diferentes en una serie temporal
Hola a todos, Quería preguntar si alguno sabe como puedo identificar registros con un mismo ID en el tiempo, pero que hacer referencia a objetos o individuos diferentes. En mi caso en particular estoy estudiando un animal que tiene una vida media cercana 2 años, y tengo una serie longitudinal de 25 años. El problema es que durante el muestreo en algunos casos durante la recoleccion de los datos,
2012 May 28
1
Avoid text wrapping of output in R console
Hello! I am working on a statistical package called VOStat (http://vo.iucaa.ernet.in/~voi/VOStat.html) which uses a Java based GUI to input data and parameters from the user. Based on the inputs, an appropriate R script is generated and executed in the R console. As an example, consider the output to be a data frame. This data frame is printed in a well formatted way in the R console but the
2018 Jun 01
4
Regroup and create new dataframe
Hello folks, I have a big project to work on and the dataset is classified so I am just going to use my own example so everyone can understand what I am targeting. Let's take Target as an example: We consider three brands of tape: Target brand, 3M and Avery. The original data frame has 4 columns: Year of Record, Product_Name(which contains three brands of tape), Sales, and Region. I want to
2018 Jun 01
0
Regroup and create new dataframe
Responses should be copied to r-help using ReplyAll. You are still sending html formatted emails. If you are using Microsoft Outlook, click the Format Text tab and select ?Aa Plain Text?. No one has asked you to reveal the data set, only to create one with a similar structure. Is the data I sent reasonably close? What should it look like after it is transformed? David C From: nguy2952
2008 Feb 10
11
data frame question
Hello I have 2 data frames df1 and df2. I would like to create a new data frame new_df which will contain only the common rows based on the first 2 columns (chrN and start). The column score in the new data frame should be replaced with a column containing the average score (average_score) from df1 and df2. df1= data.frame(chrN= c(“chr1”, “chr1”, “chr1”, “chr1”, “chr2”, “chr2”, “chr2”),
2012 Oct 23
6
Join data frame columns
Hi, I have a data frame with 100 variables (numeric and non numeric types), and I want to join them in only one column, like a vector, but i want to keep the non numeric variables like they are. I know that i can do something like this: Suppose that my data is in df variable new_df<-data.frame(c(df[,1],df[,2],df[,3],df[,4],...........) This works but i have 100 variables! Any way of doing
2018 Jun 01
0
Regroup and create new dataframe
No html!, Copy the list using Reply-All. The data frame group_PrivateLabel does not contain variables called Product_Name or Region. David C From: nguy2952 University of Minnesota <nguy2952 at umn.edu> Sent: Friday, June 1, 2018 2:13 PM To: David L Carlson <dcarlson at tamu.edu> Subject: Re: [R] Regroup and create new dataframe Hi David, your example is perfect! I am still
2012 Nov 02
0
a lot “failed to get the 'lin kto' xattr Permission denied” log messages!
Hi,all when i doing brick rebalance , i found a lot ?failed to get the 'lin kto' xattr Permission denied" message in the mount log file,how can i target the problem source ? what does mean this messages? message sample: [2012-11-02 11:01:47.113326] W [client3_1-fops.c:1128:client3_1_fgetxattr_cbk] 4-kvm-vol-3-client-6: remote operation failed: Permission denied
2004 Oct 07
0
lin >> win rsync always hangs
Sorry of this topic has already been discussed, but here goes. Running rsync from my linux box to windows, rsync always hangs after it recieves the files list. It may sync one or two files, but that's it. I've seen it posted that the problems lay in the file size, but I seem to be having the issue with even txt files. Here's the command I'm using: rysnc -r -vv
2003 Mar 23
0
looking for info about active-active cofiguration of samba on lin ux cluster
Hi guys, I hope this is not an off-topic here. I'm trying to configure my samba on a RedHat AS 2.1, to run in an active-active configuration. The "Red Hat Cluster Manager Installation and Administration Guide" says on chapter 6.2 : "Allows the setup of an active-active configuration to maximize equipment utilization. More details on active-active configurations appear
2005 Feb 15
0
Fail to detect DTMF over direct ISDN pri lin k
Thank you Peter for you reply, I realize this problem occur because I take the CVS head (maybe a bugs get introduce), because when I rebuild using the checkout of the latest stable version (cvs checkout -r v1-0), I don't have the problem of detection of DTMF over a direct ISDN pri link. Hopefully this problem with be fixed before the next release of asterisk. Sylvain. -----Original
2012 Nov 22
2
Lin/Win desktop/games rig with PEG pass-through
Hi all, I''m planning a rig that has SuSE linux in Dom0 and Windows7 in a DomU with the PCIe video card passed through to the Win7-U and an AMD system''s onboard video for the Linux system. Couple xen-newbie questions: does my plan work in such that I intend to have the onboard video''s DVI and the video card (at present an NV GTX-460) on the same monitor and switch
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of r-help-request at r-project.org Sent: Monday, February 11, 2008 12:00 PM To: r-help at r-project.org Subject: R-help Digest, Vol 60, Issue 11 Send R-help mailing list submissions to r-help at r-project.org To subscribe or unsubscribe via the World Wide Web, visit
2011 Nov 01
1
Subsampling-oversampling from a data frame
If no one has a better solution, split it, take a sample of size X from both and put it back together. hgwelec wrote: > > Dear members, > > Consider the following data frame (first 4 rows shown) > > > age sex class > 15 m low > 20 f high > 15 f low > 10 m low > > in my original data set i have 1200 rows and a class distribution
2012 Oct 06
0
SPM/SemiPar -- Plotting additive interactions
I'm taking the residual-regression approach to semiparametric estimation (Robinson 1988, Econometrica), and basically using SemiPar simply as a convenient means of doing multivariate nonparamteric additive models. The final bit of code is here: finalfit <- spm(res~f(V3,basis="trunc.poly")+f(V5,basis="trunc.poly")+f(V6,basis="trunc.poly")) summary(finalfit)
2013 Nov 09
0
Standard errors in regression models with interactions terms
In a rather simple regression, I?d like to ask the question, for high trees, whether it makes a difference (for volume) whether a three is thick. If my interpretation is correct, for low trees, i.e. for which trees$isHigh == FALSE, the answer is yes. The problem is how to "merge" the standard errors. Code follows. data(trees) trees$isHigh <- trees$Height > 76 trees$isThick
2009 Jan 07
0
Frailty by strata interactions in coxph (or coxme)?
Hello, I was hoping that someone could answer a few questions for me (the background is given below): 1) Can the coxph accept an interaction between a covariate and a frailty term 2) If so, is it possible to a) test the model in which the covariate and the frailty appear as main terms using the penalized likelihood (for gaussian/t frailties) b)augment model 1) by stratifying on the variable that