Displaying 20 results from an estimated 1000 matches similar to: "Using FME modCost with multiple independent variables"
2011 Dec 08
0
Fit initial time with modFit and modCost
Hello,
I would like to use modFit and modCost from the package FME to find
the optimal initial time t0 of a process. For simplicity, the process
is either "off" (value 0) or "on" (value h). So I have a data vector
with some zeros followed by some h's, e.g.
> c(0,0,0,2,2,2,2,2,2,2)
[1] 0 0 0 2 2 2 2 2 2 2
(hence h=2 here). I want to find the best guess for the initial
2011 Aug 01
0
Help with modFit of FME package 2
* Apologies for multiple posting *
I attached to my previous e-mail a .r file, and it was not permitted by the
rules of the mailing lis. Again, please receive my sincere apologies for
this.
I re-send again the e-mail with .txt attachemnt in the hope someone an help
me to solve my problem.
I'm trying to fit a set an ODE to an experimental time series. In the
attachment you find the R code I
2011 Jul 28
2
Help with modFit of FME package
Dear R users,
I'm trying to fit a set an ODE to an experimental time series. In the attachment you find the R code I wrote using modFit and modCost of FME package and the file of the time series.
When I run summary(Fit) I obtain this error message, and the values of the parameters are equal to the initial guesses I gave to them.
The problem is not due to the fact that I have only one
2013 May 02
0
modMCMC runs in FME package
Dear All,
please help with some thoughts on overcoming the following issues, if possible:
#R Code
require(deSolve)
require(FME)
pars <- list(k = 0.06,v=18)
intimes <- c(0,0.5,12,12.5,50)
input <- c(800,0,800,0,0)
forc <- approxfun(intimes, input, method="constant")
model <- function(pars, times=seq(0, 50, by = 1)) {
derivs <- function(t, state, pars) {
2012 May 18
3
Re: [XenARM] Regarding Xen-ARM for Cortex-A8 on Fast Model Emulators [FME]
Questions about the port of Xen to ARM with virt extensions are best
posted to xen-devel, the xen-arm list focuses on the PV port. Adding
xen-devel since it seems you are mainly asking about the
w/-virt-extensions port.
On Fri, 2012-05-18 at 12:38 +0100, Krishna Pavan wrote:
> Please inform the status of Xen-ARM for Cortex-A8 CPU''s on FME from
> ARM.
AFAIK no one has tried the
2005 Jul 15
1
nlme and spatially correlated errors
Dear R users,
I am using lme and nlme to account for spatially correlated errors as
random effects. My basic question is about being able to correct F, p, R2
and parameters of models that do not take into account the nature of such
errors using gls, glm or nlm and replace them for new F, p, R2 and
parameters using lme and nlme as random effects.
I am studying distribution patterns of 50 tree
2006 Apr 17
0
difference of means as response?
Dear R users,
I am looking for some advice on the proper construction of a mixed model
in R, using the difference in means as the response and treating
within-means residuals as a random effect.
I have a dataframe (my own, a snippet of which is given below) that is
composed of observations of pollen viability in flowers along tree
branches. Flowers (1 to 3 per position) were collected from
2011 Apr 13
0
ordinal predictor in anova
Hi,
I have a dataset with a continuous response variable and, among
other predictors, an ordinal variable.
Here is what it could look like
treatment <- factor(rep(c("AA", "AC", "AD","AE", "AB"), each = 10))
length <- c(75, 67, 70, 75, 65, 71, 67, 67, 76, 68,
57, 58, 60, 59, 62, 60, 60, 57, 59, 61,
58,
2007 Jul 02
4
Extracting sums for individual factors in data frames
I have a data frame with two columns, one of which is a factor
(Species) and the other is numeric (BA, which stands for basal
area). Here's a sample:
Species BA
ACSA 55.7632696
FRAM 122.9933524
ACSA 67.54424205
ACSA 89.22123136
ACSA 82.46680716
ACSA 22.46238747
ACSA 19.94911335
ACSA 20.42035225
ACSA 19.00663555
ACSA 21.67698931
ACSA 57.80530483
ACSA 30.31636911
Dead 43.98229715
Dead
2008 Jun 28
2
String concatenation
Hi,
Is the following function built in somewhere?
concat = function(v) {
res = ""
for (i in 1:length(v))
res = paste(res,v[i],sep="")
res
}
e.g.
> concat(c("12","3","45"))
[1] "12345"
Cheers,
Andy
--
Andy Fugard, Postgraduate Research Student
Psychology (Room F3), The University of Edinburgh,
7 George
2011 Jul 25
2
How to find the likelihood of a null model in R
Dear All,
I am working on a dataset having the dependent variable as ordinal
data(discrete data) and multiple independent variables. I need to find
the likelihood for the NULL model.i.e the model with only the
dependent variable and all other independent variables as zero. Kindly
let me know how to find the likelihood for a NULL model in R. Is there
any specific function in R that can do
2009 Nov 03
2
how to display a string containing greek chrs and variables
I'm trying something that I thought would be pretty simple, but it's
proving quite frustrating...
I want to display, for instance, the correlation coefficient "rho" in a graph.
I can do something like:
text(x, y, paste("rho =", cor))
where cor would be my previously calculated correlation coefficient,
and x and y the coordinates.
Obviously that displays
2008 Dec 28
1
model.matrix and missing values
Hi,
Does anyone know an easy way of retaining rows in a model.matrix where
missing values are present in the predictors. Ideally I'd be able to
retain these rows as zeros.
Thanks,
Jarrod
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
2008 Sep 01
1
Polychoric and tetrachoric correlation
Hi there,
Am I correct to believe that tetrachoric correlation is a special case
of polychoric correlation when there are only two levels to the ordered
factor? Thus it should be okay to use hetcor from the polycor package
to build a matrix of correlations for binary variables?
If this is true, how can one estimate 95% confidence intervals for the
correlations? My guess would be
mat =
2008 Mar 04
1
battery.temperature vs ups.temperature
The (2.2.1) upshid-ups driver reports battery.temperature rather than
ups.temperature. Here's a quick patch to have it show up in the status
page...
--- clients/upsstats.c.DIST 2008-03-04 09:15:40.000000000 +0000
+++ clients/upsstats.c 2008-03-04 09:16:20.000000000 +0000
@@ -787,6 +787,11 @@
return 1;
}
+ if (!strcmp(cmd, "BATTTEMP")) {
+
2017 Jun 23
1
qemu-kvm-ev-2.6.0-28.el7_3.10.1 now available
On Fri, Jun 23, 2017 at 11:26 AM, Chris Cooke <cc at inf.ed.ac.uk> wrote:
> qemu-kvm-ev-2.6.0-28.el7.10.1
> <https://cbs.centos.org/koji/buildinfo?buildID=17495> has been tagged for
> release and will soon be available on CentOS mirrors.
>
>
> Hi Sandro,
>
> Thanks. That looks like a typo in the package release field? Should be
> 28.el7_3.10.1, rather than
2009 Mar 03
1
ggplot2: annotated horizontal lines
Hello,
I'm using geom_hline to add a minimum line to my plot (representing
the best solution found so far by a search algorithm). I'd like to
annotate this line with it's numerical value to save trying to read it
off the graph, but I can't see a clear way to do this - any ideas?
(Alternatively, if this is against the spirit of the grammar of
graphics, is there a better
2010 Aug 03
1
how to read/save .zip compressed files from R?
Dear list,
is there a way to open a .zip folder so that one can extract and
modify files inside and then save teh .zip folder again?
thanks!
Jose
--
Dr. Jose I. de las Heras Email: J.delasHeras at ed.ac.uk
The Wellcome Trust Centre for Cell Biology Phone: +44 (0)131 6507095
Institute for Cell & Molecular Biology Fax: +44 (0)131 6507360
Swann Building,
2003 Nov 13
1
creating a "report" table from a set of lists
I've been trying to figure out how to accomplish the following...
I've got a list (returned from a function) and I would like to "cbind()" the
lists together to create a "cross tab" report or simply bind them together
somehow
the function returns a list that looks like the following:
> all$BM
$species
[1] "BM"
$vbar.nobs
[1] 3
$vbar.sum
[1] 54.05435
2011 Jul 21
1
nested loop for
Hi everyone,
I have been working some days in a nested loop in R but I can't find the solution.
I have a data.frame with an unique ID for individuals and unique ID for different stands, for each indiviadual I have a dbh record and a SBA (stand basal area) field.
Pma<-rep (1:40)
P<-seq(1,4, 1)
Plot<-rep(P,10)
dbh2<-rnorm(40, mean=200, sd=5)
SBA2<-rnorm(40, mean=10, sd=1)
As