Displaying 20 results from an estimated 120 matches similar to: "Cascading Comboboxen and GO button ?"
2009 Oct 28
2
regression on large file
Dear R community,
I have a fairly large file with variables in rows. Every variable
(thousands) needs to be regressed on a reference variable. The file is too
big to load into R (or R gets too slow having done it) and I do now read in
line by line with "scan" (see below) and write the results to out. Although
improved, this is still very slow... Can someone please help me and suggest
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
2012 Nov 01
2
Name assignment in for loop
Dear helpeRs-
I'm using a for loop to create a series of models.
I'm trying to assign a name to each model created,
using the loop index. The loop gets stuck at the name
of the model, giving the error "target of assignment
expands to non-language object". The linear model runs
without error; only the name is problematic.
Here is the current loop syntax. The use of dat
2006 Feb 23
9
Balancing multiple connections and NAT
Hi,
I have a client connected to the ''net through 3 ISP''s. Have set up a
Linux box to do routing and load sharing for the 3 connections. A
fourth interface is connected to the LAN with private IP addresses.
Am using iptables to SNAT traffic to the appropriate IP depending on
the interface the packet gets routed onto. The setup looks something
like this:
Interface IP
2012 Mar 29
2
subtract a list of vectors from a list of data.frames in an elegant way
Dear R experts,
I've realized that it might not be possible to define a negative SELCET statement in a SQL call so now I'm looking for the smoothest way to generate a list of what I would like from my large database by first pulling all the names with a query like this "SELECT top 1 * FROM your_table" (thank you Bart Joosen for the idea) and then subtract the variables I am not
2006 Apr 06
5
Using helper method of another model
I have a template that belongs to a certain model (model A). I need to
call a helper method of a different model (model B). Then I need the
helper method of B to call a helper method of model C.
I tried using "include" and "require" and using namespaces, but I got
"undefined method". What is the way to do it?
--
Posted via http://www.ruby-forum.com/.
2009 Oct 12
1
Speed up and limit memory usage of lm()
Hi all
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 <-
2006 Jul 07
2
Diverging results with SPSS
Dear List,
I apologize in advance if this is silly. I tried to replicate an analysis I
did previously in SPSS using R, and was surprised to find different results.
So my question is: shouldn't the following SPSS syntax
REGRESSION
DEPENDENT INC89
/METHOD=ENTER hiedyrs experien SE93rec.
Yeld the same results of the following R command
modelB<-lm(INC89~HIEDYRS+EXPERIEN+SE93REC)
I
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]]
2011 Sep 03
1
help with glmm.admb
R glmmADMB question
I am trying to use glmm.admb (the latest alpha version
from the R forge website 0.6.4) to model my count data
that is overdispersed using a negative binomial family but
keep getting the following error message:
Error in glmm.admb(data$total_bites_rounded ~
age_class_back, random = ~food.dif.id, :
Argument "group" must be a character string specifying
the
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" search class?
Thanks for any ideas.
John
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,
2008 Sep 27
1
A Book for SAS, SPSS and R students
Hi List,
I had the pleasure of taking Dr Bob Muenchen's interview for his upcoming
book R For SAS and SPSS users. He has spent 27 years in this field while I
have spent almost that much on earth.
So this is more like a fan blog interview. I thought it would be of use to
people curious about R, or even SAS , or SPSS if they have not worked on
either of these packages before.
Having fought my
2003 Jul 23
6
Condition indexes and variance inflation factors
Has anyone programmed condition indexes in R?
I know that there is a function for variance inflation factors
available in the car package; however, Belsley (1991) Conditioning
Diagnostics (Wiley) notes that there are several weaknesses of VIFs:
e.g. 1) High VIFs are sufficient but not necessary conditions for
collinearity 2) VIFs don't diagnose the number of collinearities and 3)
No one has
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
2008 Jan 30
0
95% confidence and prediction intervals for linear mixed models
Hi R-users,
>From the last week I've been working fitting a linear mixed model with
random intercept and fixed shape (model4) for a data set with 37 individuals
measured over time, using lme package. Results are at the end of this
message. The outcome is score and the covariate is age.
My question is: is possible (and how) to estimate both 95% confidence and
prediction intervals for the
2010 Dec 13
1
Testing an interaction with a random effect in lmer
Hi,
I was hoping to get some advice regarding the testing of interactions, when one factor is modelled as a random effect...
I have a model with binomial error structure where the response variable is the proportion of time spent at the main sett (animals were tracked for 28 consecutive days in each season, and were recorded either at the main sett or an outlier sett, so the response variable is
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
2008 Sep 26
0
self-referential tags, has_many_polymorphs
Hi,
I''m looking to add tagging to an application, and I would like to allow
self-referential tags, so that I can tag my tags. With the goal of
generating a flexible tag hierarchy.
After some googling it looks like acts_as_taggable is not the best piece
of code, and I''m hoping to use the has_many_polymorphs plugin from
http://github.com/fauna/has_many_polymorphs/tree/master.
2006 Aug 08
1
Cascading views?
For some fairly generic views and controller stuff I''d like to have a
standard view, say app/views/shared/list.rhtml, and a way to override
it per controller, app/views/mymodel/list.rhtml.
I think I''ve read of a similar feature before, but I''m not really sure.
I may be confusing things with engines and productize. Has someone
implemented it for plain Rails apps?