similar to: a question about using nlme

Displaying 20 results from an estimated 600 matches similar to: "a question about using nlme"

2004 Jul 30
0
a question about nlme
Hi, Sorry to bother those who are not interested in the question. I am using R to run a multiphase mixed-effects model. I simulated a data set by using the following model. And now I want to use R to estimate the parameters and compare the results with the true values. The equations of the models are as below: gf[ij]=b0[i]+b1[i]*age[ij]+b2[i]*max(0,(age[ij]-tau[i]))+e[ij] b0[i]=b00+e[i0]
2004 Aug 09
0
Need help on this problem!
Hi everyone, I have posted a similar question to this list, but I don't get a reply. I really want to solve this problem, so I post it again... I am trying to use R to fit some mixed-effects models for a nested data. The data is a simulated data with 111 subjects. Each subject has 6 waves' data. Below are the first two subjects' data : > simu1[1:12,] Grouped Data: gf ~ age |
2003 Mar 05
3
reading in tab delimited data in a loop
Dear all, I need to read in 4 sets of tab delimited data in a loop. The 4 data sets are called "simu1.dat", "simu2.dat" and so on. I know what I need on the righthand side of the read.table expression but I can't the left hand side of it to work (see the line in bold below). Can you kindly help? Many thanks. simu1 <- matrix(0,30,3) simu2 <- matrix(0,30,3) simu3
2016 Jul 09
0
New package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories'
Dear R users, We are happy to announce that the R package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories' is now on CRAN (https://cran.r-project.org/web/packages/forestinventory/). The aim of our package is to provide global- and smallarea estimators for twophase and threephase forest inventories under simple and cluster sampling. The
2016 Jul 09
0
New package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories'
Dear R users, We are happy to announce that the R package 'forestinventory: Design-Based Global and Small-Area Estimations for Multiphase Forest Inventories' is now on CRAN (https://cran.r-project.org/web/packages/forestinventory/). The aim of our package is to provide global- and smallarea estimators for twophase and threephase forest inventories under simple and cluster sampling. The
2010 Jun 11
0
How to code mixed model with nested factors in lmer
Hi, I have coding question on mixed model in R. I am using R2.11.0 in windows. I have an experiment with 2 fixed effect factors - A and B. The levels of B are within the levels of A factor. The model is very similar to a split plot design except the nesting relationship between the 2 fixed effect factors. For example: there are 2 levels for A - GM and ZM. There are 7 levels of B in total
2010 Apr 13
0
Error using reshape method
To be fair I don't really understand what the error is telling me so I don't know how to correct it. I'm trying to reshape my data so that I do repeated measures ANOVA on it. The warning message: "Error in d[, timevar] <- times[1L] : subscript out of bounds" The program: library(QRMlib) library(Hmisc) ss<-5 mu<- c(0,2,3,12) mu2<- c(0,2,10,20)
2018 May 10
3
Modèle à Equations structurelles
Bonjour, Quelqu'un pourrait m'aider avec le code R pour estimer les mod?les ? ?quations structurelles via l'approche PLS,int?grer des variables mod?ratrices et m?diatrices et afficher les graphique simultan? des mod?les interne et de mesure? Cdt. [[alternative HTML version deleted]]
2018 May 10
0
Modèle à Equations structurelles
Dear Yaya You will get more responses if you can post in English which is the language of the list. If you want advice about package choice you need to tell us what packages you have considered and rejected. You would also benefit from searching the CRAN Task Views - possibly the Psychometrics one might help you. If you want someone to send you code, as appears from your mail, you are out
2018 May 10
1
Modèle à Equations structurelles
In my previous mail, I was asking help to fit structural equations models by using Partial Least Square (PLS) approch.I have used package plspm. I want to know how to manage moderating and mediating variables. I also want to show simultanously the graph of internal model and measurement model. Thks. Le jeudi 10 mai 2018 ? 15:42:46 UTC, Michael Dewey <lists at dewey.myzen.co.uk> a ?crit :
2004 Jun 25
0
one and a half nets
Hi all, I am trying to configure a SAMBA server to be connected to two different networks in two different ways: One network, on interface eth0, is the local network, the SAMBA server is the main file server for this network, and so I assume it would be best if the SAMBA server were the "master" on this network. The other network, on interface eth3, is someone else's network. I
2001 Apr 09
4
fastest R platform
Hello, everyone! I picked up R several months ago and have adopted it as my choice for statistical programming. Coming from a Java background, I can honestly say that R is not only free, it is better tha S-plus: the lexical scope in R makes it very simple to simulate Java's object model. For this, I encourage everyone to read the artcle: Robert Gentleman and Ross Ihaka (2000) "Lexical
2011 Jan 03
1
Greetings. I have a question with mixed beta regression model in nlme.
*Dear R-help: My name is Rodrigo and I have a question with nlme package in R to fit a mixed beta regression model. The details of the model are: Suppose that:* *j in {1, ..., J}* *(level 1)* *i in {1, ..., n_j}* *(level 2)* *y_{ij} ~ Beta(mu_{ij} * phi_{ij}; (1 - mu_{ij}) * phi_{ij}) y_{ij} = mu_{ij} + w_{ij} * *with* *logit(mu_{ij}) = Beta_{0i} + Beta_{1i} * x1_{ij} + b2 * x2_{ij}
2011 Jan 03
0
Greetings. I have a question with mixed beta regression model in nlme (corrected version).
*Dear R-help: My name is Rodrigo and I have a question with nlme package in R to fit a mixed beta regression model. I'm so sorry. In the last email, I forgot to say that W is also a unknown parameter in the mixed beta regression model. In any case, here I send you the correct formulation. ** Suppose that:* *j in {1, ..., J}* *(level 1)* *i in {1, ..., n_j}* *(level 2)* *y_{ij} ~
2011 Aug 26
1
matrix bands
Dear R developers, I was looking for a function analogous to base::diag() for getting and setting bands of a matrix. The closest I could find was Matrix::band(), but this was not exactly what I wanted for two reasons. Firstly, Matrix::band() returns a matrix rather than just the specified band. Secondly, Matrix::band() cannot be used for setting the values for a matrix band. Setting or
2010 Dec 15
0
Problems with the borders (High difficulty)
Dear r-help members, Could any of you help me with this model, please? This model gives error when some value touch whatever border and I do not know how to correct it. The 80% of the seeds produced by a plant will fell into the parent cell, the 15% in the first ring according to the king movement (in chess), and a 5% in the second ring defined by the queen2 matrix. Someone said me the functions
2004 Nov 23
2
IFELSE across large array?
Dear all, As our previous email did not get any response, we try again with a reformulated question! We are trying to do something which needs an efficient loop over a huge array, possibly functions such as apply and related (tapply, lapply...?), but can't really understand syntax and examples in practice...i.e. cant' make it work. to be more specific: we are trying to apply a mask
2010 Sep 08
0
Correction to vec-subset speed patch
I found a bug in one of the fourteen speed patches I posted, namely in patch-vec-subset. I've fixed this (I now see one does need to duplicate index vectors sometimes, though one can avoid it most of the time). I also split this patch in two, since it really has two different and independent parts. The patch-vec-subset patch now has only some straightforward (locally-checkable) speedups for
2010 Oct 04
0
spatial interaction (gravity) model as Poisson regression
Dear list, I posted essentially this same question to the r-sig-geo mailing list last week with no response :( Unfortunately I am no closer to reaching a solution, so I now post it here (with some clarifications) in the hope that someone following this list might have an answer for me: Has anyone had much experience with spatial interaction (or gravity) models, specifically in the form of
2009 Oct 27
1
Rjava, RImageJ, and/or S4 question.
I am out of my league with this question. The following code starts the java imaging program ImageJ from within R, and displays an image (assuming ImageJ is installed on your computer). library(RImageJ) img <- IJ$openImage( file.choose() ) #pick an available .tif file img$show() # make the image object visible # An image is now displayed # find out about the objects involved >