Displaying 20 results from an estimated 70 matches similar to: "Model Formulae Evaluation"
2011 Jun 10
1
Dovecot 1.2 + Sieve-0.1.19 not working please help
Hello
i have installed dovecot from rpm found on rpm.pbone.net
1.2.17-0_115.el5
Everuthing works as charm Postfix + Dovecot + TLS + MySQL/postfixadmin
For Reference:
Centos 5.6
postfix 2.3.3-2.2
dovecot 1.2.17-0_115.el5
spamassassin 3.2.5-1.el5
postfixadmin 2.3.3
amavisd-new 2.6.4-4.el5.rf
Now i'm trying to install Sieve for Dovecot 1.2 to make it redirect
spam in proper folders but getting
2008 Jul 22
1
Lattice: How to draw curves from given formulae
Dear R Users:
I have a list function as:
Flat: y = 0
Linear: y = -(1.65/8)d
Logistic: y = 0.015 - 1.73/{1+exp[1.2(4-d)]}
Umbrella: y= -(1.65/3)d + (1.65/36)d^2
Emax: y = -1.81d/(0.79+d)
Sigmoid Emax: y = -1.70d^5/(4^5+d^5)
And want draw the figure as attached (those material are extracted from a
paper). Could anyone give me a sample code to do this?
Thanks
2006 Mar 27
0
products and polynomials in formulae
Hi
I can do this:
formula = as.factor(outcome) ~ .
in glm and other model building functions. I think there is a way to
get the product of the determinants (that is d1 * d2, d1 * d3, etc) and
also another way to get all the polynomials (that is like poly(d1,2)
would produce for a single determinant).
Can anyone tell me how you write them?
Stephen
[[alternative HTML version deleted]]
1997 Oct 07
1
R-alpha: keep.order in formulae
[ I'm teaching log-linear models at present, and looking at Agresti's
book. ]
Often when producing analyis of variance or analysis of deviance
tables it is important to get effects fitted in a specific order.
At present in S / R this is done as follows:
anova( glm( terms(formula, keep.order=T), ...) )
Can anyone think of a reason why keep.order should not become an
argument to
2000 Jun 02
1
test for a formulae
I'd like to check within a whether an argument is a formulae of the type
~X or similar.
What's the right way to do so?
I'm using: is.language(obj) but not sure this is right
Thanks in advance
P.J.
Paulo Justiniano Ribeiro Jr
Dept Maths & Stats - Fylde College
Lancaster University
Lancaster LA1 4YF - U.K.
e-mail: paulojus at est.ufpr.br
http://www.maths.lancs.ac.uk/~ribeiro
2003 Jan 22
1
Intercept in model formulae
Hi,
I'm a new user of R and I'm trying to make a linear model from this kind of
dataset
x
[1] 16.87 19.93 25.85 20.94 17.06 19.49 19.93 25.45 27.74 20.15 25.81
21.06 17.17 20.03 25.50 27.79 20.44 16.88 19.93 25.79
z<-x-10
y
[1] 0.80 1.27 2.22 1.32 0.90 1.18 1.84 2.41 2.97 1.25 2.07 1.41 1.14 1.66
2.59 3.51 1.53 0.81 1.26 2.30
plot(x,y)
I want to be able to force the line of
2005 Aug 16
2
Dots in models formulae
I have seen, several times, dots (like this: "y ~." ) in formula
descriptions, noticeably in R help.
I am unable to see what it does correspond to.
Any ideas ?
--
--~~ Toulouse, Grenoble, Auch, Arcachon, B??ziers, Paris,
Saragosse, L??vignac Sur Save, habitats naturel du Valdo. ~~--
< http://www.le-valdo.com>
2009 May 16
1
ggplot2: annotating plot with mathematical formulae
Hi,
Is there a way of annotating a ggplot plot with mathematical formulae?
I can do
geom_text(aes(label="some text", ...
but I can't do
geom_text(aes(label=expression(x^{n-1}), ...
It gives the error
Error: geom_text requires the following missing aesthetics: label
Is there a convenient equivalent?
Cheers,
Paul
2009 Jul 15
1
interacting variables in a formulae in R
Dear R Mailing Subscribers,
I just have a question of how R handles interacting variables in model
creation using glm for instance.
if I write :
>>
model=glm(solution~descriptor1+descriptor2+descriptor3,family=binomial(link="logit"))
I should end up with coefficients for a logistic model that I can introduce
easily in the mathematical form of such a model (weighted sum of
2008 Nov 14
1
Line breaks in mathematical formulae in Rd files (PR#13287)
Hi,
This is a problem about writing R documentation (R-exts 2.6). The
command "\deqn" defined in "Rd.sty" is:
\newcommand{\deqn}[2]{\[#1\]}
which will put mathematical formulae in the "displaymath" environment;
that means line breaks are not allowed (or will not be shown) in
formulae, but sometimes we do need multiple lines of formulae. One
solution is to write
2010 Apr 09
2
Line breaks in mathematical formulae in Rd files
Hello,
I would like to implement the feature request described here:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13287. I think
this is a very worthwhile feature.
However, I need just a little push in the right direction. When I
added either a new command or change the old one to use eqnarray as
proposed, the "\\" newline characters were not properly passed to
latex - even
2017 Mar 30
0
get_all_vars() does not handle rhs matrices in formulae
Hello again,
It appears that get_all_vars() incorrectly handles model formulae that
use a right-hand side (rhs) matrix. For example, consider these two
substantively identical models:
# model using named variables
mpg <- mtcars$mpg
wt <- mtcars$wt
hp <- mtcars$hp
m1 <- lm(mpg ~ wt + hp)
# model using matrix
y <- mtcars$mpg
x <- cbind(mtcars$wt, mtcars$hp)
m2 <- lm(y ~ x)
2010 Jul 12
1
Checking formulae: are lower order terms included
Dear all,
I have a very rudimental function which takes a vector of terms and returns a list of all possible models which can be made using the given terms. For example for the set c("1", "x", "y", "x:y") I'd get:
~ 1
~ x
~ y
~ x:y
~ 1 + x
~ 1 + y
~ 1 + x:y
~ x + y
~ x + x:y
~ y + x:y
~ 1 + x + y
~ 1 + x + x:y
~ 1 + y + x:y
~ x + y + x:y
~ 1 + x + y +
2000 Feb 03
2
How to include TeX formulae in R plots?
Hi, all
Does anybody know if it is possible to include TeX-style formulae
in R plots? The aim is to export such plots to LaTeX documents
using the postscript() device.
Many thanks in advance,
Alberto Munoz
---------------------------------------------------------------------
Alberto Munoz Phone: +34-91- 624 95 79
Dpto. de Estadistica y Econometria Fax: +34-91- 624
2010 Apr 06
2
Extracting formulae from expression() / deriv()
I am attempting to extract the derivative/ gradient from this expression
df1p <- deriv(f1, "P")
> df1p
expression({
.value <- s - c - a * P
.grad <- array(0, c(length(.value), 1L), list(NULL, c("P")))
.grad[, "P"] <- -a
attr(.value, "gradient") <- .grad
.value
})
So in this case I want to extract the "-a".
2010 Oct 24
3
Long model formulae
What is a good way to enter a very long model formula. For example:
y ~ Input.2 + Input.3 + ... + Input.1000
(assuming the corresponding dataframe has many other columns).
Is there a way to convert a character string to a formula? Are there command line expansions in R besides the simple '.'?
Thanks.
[[alternative HTML version deleted]]
2006 Mar 28
1
variables as arguments in formulae in aov?
Hi all,
I wonder if you could help me with (what is surely) a simple R question?
I've written a simple R script (attached) to perform multiple ANOVAs
on the columns in a table loaded in from a a file (also attached). I
loop through the list of columns for which I want to perform the
ANOVAs, storing the column name in a variable. When I try to perform
the ANOVA using the variable name as a
2006 Apr 11
1
Time Series information in formulae
Dear List
The UKgas data is stored as an object of class 'ts'. I am trying to use "UKgas"
in a formula as argument to a function. However, I do not know how to access
the 'time series' information in the response (such as start() end() etc.).
Here is a boiled down example.
ssm <- function(formula, data = list(),subset=NULL) {
cl <- match.call()
if
2003 Jan 21
1
Orders of terms in formulae
Hi,
Given that R reports Type I sums of squares, isn't it a bit anachronistic
that it re-orders terms in formulae?
> d <- expand.grid(y=rnorm(8),
+ A=factor(c(1,2)),
+ B=factor(c(1,2)),
+ C=factor(c(1,2)))
> summary(aov(y ~ A+B+A:B+C,data=d))
Df Sum Sq Mean Sq F value Pr(>F)
A 1 8.294e-34 8.294e-34 1.027e-33 1
2000 Oct 06
1
Formulae with factors that have missing values
Hi All,
I have a formula which has a factor with NAs in it. I wish to keep
these in the model matrix, but the NA information is currently lost (the
rows are kept but the NA gets converted to 0). Any ideas as to how
I can keep NAs in?
e.g.
junk <-