Displaying 20 results from an estimated 28 matches for "modela".
Did you mean:
model
2006 Mar 10
1
Validate fields and display errors from two models?
Hi,
I have here a problem I''ve been working at for a little while but I
can''t seem to get the error messages to appear correctly.
My form looks something like this for "ModelA":
[errors_for "modelA"]
[form for "modelA"]
[text "modelA" "fieldname1"]
[text "modelB" "fieldname2"]
[submit]
[/form]
The reason for this is I can create many modelB''s for each modelA but
when I create modelA I want it to...
2011 Jan 19
3
lme-post hoc
...3 level2 var1 3513 67
1 level3 var4 1406 77
1 level3 var3 1408 74
1 level3 var1 1409 71
1 level3 var2 1410 69
2 level3 var4 2501 62
2 level3 var3 2507 58
2 level3 var2 2508 56
2 level3 var1 2513 63
3 level3 var3 3601 73
3 level3 var2 3603 59
3 level3 var1 3609 56
3 level3 var4 3612 61
modela<-lme(height~variety*fertilizer, random=~1|replication)
summary(modela)
anova(modela)
library(multcomp)
hgt <- glht(modela,linfct=mcp(fertilizer="Tukey"))
summary(hgt)
Any body can help me to proceed tukey (or lsd) with lme that would be highly appreciated.
Prabhath
Univers...
2009 Oct 28
2
regression on large file
...best regards, Georg.
*******************************************
Georg Ehret, Johns Hopkins U, Baltimore MD, USA
for (i in 16:nmax){
line<-scan(file=paste(file),nlines=1,skip=(i-1),what="integer",sep=",")
d<-as.numeric(line[-1])
name<-line[1]
modela <- lm(s1~a+a2+b+s+M+W)
modelb <- lm(s2~a+a2+b+s+M+W+d)
modelc <- lm(s3~a+2+b+s+M+W+d+d*s)
p_main <- anova(modela,modelb)$P[2]
p_main_i <- anova(modela,modelc)$P[2]
p_i <- anova(modelb,modelc)$P[2]
cat(c(name,p_main,p_main_i,p_i),file=paste(...
2006 Feb 24
1
predicting glm on a new dataset
...ata.frame (a,b+x).
The prediction command returns the identical set of predicted values as for the original dataset yet I would have expected them to change due to b+x.
Were have I gone wrong?
Heres my code:
orig.frame<-data.frame(y,a,b)
pred.frame<-data.frame(a,b+x)
attach(orig.frame)
modela<-glm(y~a+b,binomial)
pr<-predict(modela,newdata=pred.frame,type="response")
many thanks
Chris
[[alternative HTML version deleted]]
2005 Oct 31
2
Cascading Comboboxen and GO button ?
Hello all,
I have two comboboxen, comboA is popultaed when :controller/list is
retrieved first time.
When comboA is selected, I want to auto-populate comboB (modelB belongs_to
modelA).
The population of tableC (modelC belongs_to modelB and belongs_to modelA)
should not populate until a "GO" button is clicked (link_to with submit).
Help? I need an example of how to filter the post @params and also how to
preserve teh selections when "GO" is clicked. In my cu...
2007 Jan 24
1
solving a structural equation model using sem or other package
...e the SAS code and S-Plus code from the UCLA site (doesn't include chapter 8 or later problems). In chapter 8, there is a structural equation/path model which can be specified for the sem package as follows
S <- cov(al2) #al2 contains the variables alc1, alc2, alc3, and cons
N <- 1122
modelA.ram <- specify.model()
f1 -> alc1, NA, 1
f1 -> alc2, NA, 1
f1 -> alc3, NA, 1
f2 -> alc1, NA, 0
f2 -> alc2, NA, .75
f2 -> alc3, NA, 1.75
cons -> f1, p0, 1
cons -> f2, p1, 1
alc1 <-> alc1, u1, 1
alc2 <-&...
2005 Sep 22
1
R2WinBUGS: Data loading error
...hat)
and when I close WinBUGS i get:
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt'
Does anyone know what this 'expected key word structure' means?
This is my R code (and I guess my model file is ok):
modelA <- c("C:/Documents and Settings/Daikon/Roche/pop_model.txt")
n <- length(unique(subsetA$subject)) #number of subjects
nt <- 13 #number of days
Y <- subsetA$concentr #concentration per day/subjec...
2007 Dec 13
4
please explain find_with_ferret, retrieve_records, :include and :conditions
Hello, I''m using find_with_ferret to search multiple models and it
works great. The trouble is I need to filter the results
using :include and :conditions.
I get two errors depending on the syntax I use in the search. Reading
the source, I see the retrieve_records method seems to filter
the :include and :conditions so that they only apply to the relevant
model when searching
2006 Feb 23
7
Session Based Record Locking - Solutions?
All,
I''ve written a simple job/opportunity tracking database app via RoR.
I have about 10 internal users.
Sometimes 2 people will want to update the same record at more or less
the same time and they collide.
In particular user 1 may edit a record, then get distracted, and
finally an hour later they click save.
During that hour user 2 may have pulled up the record, edited it, and
2008 Jun 30
0
Making a copy of a model and all its associated records.
Hi all,
I have a question regarding the duplication of a model and it''s
associations. For example, if I have ModelA and it has_many SubModelAs
and has_many SubModelBs associated with it. Each of the SubModels a
belongs to ModelA. Is there a quick way of copying ModelA and the
structure that lays below it? In the end I''ll then end up with ModelB
which is a copy of A, and it has copies of SubModelA and Su...
2007 Aug 07
2
GLMM: MEEM error due to dichotomous variables
I am trying to run a GLMM on some binomial data. My fixed factors include 2
dichotomous variables, day, and distance. When I run the model:
modelA<-glmmPQL(Leaving~Trial*Day*Dist,random=~1|Indiv,family="binomial")
I get the error:
iteration 1
Error in MEEM(object, conLin, control$niterEM) :
Singularity in backsolve at level 0, block 1
>From looking at previous help topics,(
http://tolstoy.newcastle.edu.au/R/help/02...
2006 Mar 31
1
model comparison with mixed effects glm
I use model comparison with glms without mixed effects with
anova(modelA,modelB),
with mixed effects glm (glmmPQL), this doesn't work. Is there a way to
compare model fits with glmmPQL's?
Paula M. den Hartog
Behavioural Biology
Institute of Biology Leiden
Leiden University
[[alternative HTML version deleted]]
2017 Jul 10
2
Problems with time formats when importing data using readHTMLTable
...data to the time formats used in R
(POSIXct).
The script is very simple and worked before:
library(XML)
x <- readHTMLTable('url')
where the 'url' is the link to the website with the specification of the
vessel.
I appreciate any help.
Cristina
--
Cristina Silva
Divis?o de Modela??o e Gest?o de Recursos Pesqueiros
Av. Dr. Alfredo Magalh?es Ramalho
1495-165 Lisboa
@: csilva at ipma.pt <mailto:csilva at ipma.pt>
#: +351 213027096 <phoneto:+351213027096>
[[alternative HTML version deleted]]
2012 Feb 10
0
range and anisotropy with RandomFields
...pertaining to random fields in general and not the RandomFields
package specifically, in which case someone can set me straight.
I like the versatility of the extended definition form that can be used in
RandomFields. For example, specifying an isotropic exponential model with a
nugget of 1 as:
modelA=list("+",
list("$", var=2, scale=2, list("exp")),
list("$", var=1, list("nugget"))
)
Ultimately I would like to work with anisotropic models (and data), and this
is where I ge...
2011 Oct 20
2
Access other model attributes directly with has_one, belongs_to ?
So, I have 2 models A and B that share 5 common attributes and all other
attributes are different. So I wanted to extract these 5 out into one
common table and use has_one, belongs_to to knit it back together. So
now there are 3 tables with 1 having the shared properties, we''ll call
this table C.
Table A
id
dollar_amount
Table B
id
quantity_on_hand
Table C
id
version
My question is,
2009 Oct 12
1
Speed up and limit memory usage of lm()
...I have been doing series of linear regression models lm(). In this case the execution time and memory usage becomes a huge issue. I have therefore been trying to speed the process and limit the memory usage.
Here follows part of the code do give better understanding of what I am doing:
modela <- lm(RSSYS10 ~ RS_AGE + RS_AGESQ + SEX + RS_BMI)
frssys <- function(SNP_A1,data=sys_pheno, model=modela){
modelb <- lm(RSSYS10 ~ RS_AGE + RS_AGESQ + SEX + RS_BMI + SNP_A1,data=data)
modelc <- lm(RSSYS10 ~ RS_AGESQ + SEX + RS_BMI + SNP_A1 * RS_AGE,data=data)
p1 <- ano...
2007 Dec 19
3
multi-model search best practices
Hi folks.
If I am indexing ModelA and ModelB and I want to search both of them,
I usually just pick one arbitrarily and use it for #multi_search.
Is there a slicker pattern, regarding from which model to invoke
#multi_search? Can it be invoked directly from the Ferret library?
Has anyone put together some sort of "dummy...
2017 Jul 10
0
Problems with time formats when importing data using readHTMLTable
...s very simple and worked before:
>
>library(XML)
>x <- readHTMLTable('url')
>
>where the 'url' is the link to the website with the specification of
>the
>vessel.
>
>I appreciate any help.
>
>Cristina
>
>--
>Cristina Silva
>Divis?o de Modela??o e Gest?o de Recursos Pesqueiros
>Av. Dr. Alfredo Magalh?es Ramalho
>1495-165 Lisboa
>@: csilva at ipma.pt <mailto:csilva at ipma.pt>
>#: +351 213027096 <phoneto:+351213027096>
>
>
> [[alternative HTML version deleted]]
>
>___________________________________...
2011 Jul 31
5
ajuste de modelos logísticos con heterocedasticidad
Hola a todos.
¿Cómo puedo ajustar un modelo de regresión logística en el que la
varianza de los errores no son iguales, sino que esta puede ser modelada
por otras variables ?
¿Utilizando modelos mixtos o voy desencaminado?
Gracias..
2017 Jul 11
2
Problems with time formats when importing data using readHTMLTable
...XML)
>>x <- readHTMLTable('url')
>>
>>where the 'url' is the link to the website with the specification of
>>the
>>vessel.
>>
>>I appreciate any help.
>>
>>Cristina
>>
>>--
>>Cristina Silva
>>Divis?o de Modela??o e Gest?o de Recursos Pesqueiros
>>Av. Dr. Alfredo Magalh?es Ramalho
>>1495-165 Lisboa
>>@: csilva at ipma.pt <mailto:csilva at ipma.pt>
>>#: +351 213027096 <phoneto:+351213027096>
>>
>>
>> [[alternative HTML version deleted]]
>>
>>...