Displaying 20 results from an estimated 25 matches for "0.324".
Did you mean:
0.32
2000 Dec 06
3
write.table
Good morning,
suppose the following:
m <- round(matrix(rnorm(16), ncol=4), 3)
a <- rev(c(0.01, 0.025, 0.05, 0.1))
rownames(m) <- a
colnames(m) <- c("0.25,0.75", "0.4,0.6", "0.1,0.9", "0.4,0.9")
m
0.25,0.75 0.4,0.6 0.1,0.9 0.4,0.9
0.1 1.034 -0.119 -1.213 0.619
0.05 0.035 1.074 0.525 1.671
0.025 -1.687 0.960
2010 Nov 25
2
aftreg vs survreg loglogistic aft model (different intercept term)
Hi, I'm estimating a loglogistic aft (accelerated failure time) model, just a
simple plain vanilla one (without time dependent covariates), I'm comparing
the results that I obtain between aftreg (eha package) and survreg(surv
package). If I don't use any covariate the results are identical , if I add
covariates all the coefficients are the same until a precision of 10^4 or
10^-5 except
2008 Mar 25
1
Subset of matrix
Dear R users
I have a big matrix like
6021 1188 790 290 1174 1015 1990 6613 6288
100714
6021 1 0.658 0.688 0.474 0.262 0.163 0.137 0.32
0.252 0.206
1188 0.658 1 0.917 0.245 0.331 0.122 0.148 0.194
0.168 0.171
790 0.688 0.917 1 0.243 0.31 0.122 0.15 0.19
0.171 0.174
290 0.474
2012 Sep 13
0
problematic p values for Dixon Q test
I am using R dixon.test in order to perform Q test for detection of outliers.
The p-values for high Q values are consistent with the table in Rorabacher,
D.B. (1991) http://www.flworkshop.com/sscs/dixon_test.pdf, but it seems that
small Q-values get problematic p-values. For example:
dixon.test(c(0.324,0.5,1,1.324),two.sided=T)
Q = 0.324, p-value = 1
2002 Feb 15
2
difficult R-problem
Hi there
In the course of my diploma thesis in climatology I have encountered
a difficult R-Problem that I cannot solve. I want to fill R-Objects
(whose names should depend on j) with numbers at the i-th position.
The resulting Objects should be something like:
RQuadratStep1, RQuadratStep2, RQuadratStep3 ... filled with Elements like
c(0.324, 0.456, 0.657 ...)
Below is a short version of
2010 Feb 09
2
Double Integral Minimization Problem
Hello all,
I am trying to minimize a function which contains a double integral, using
"nlminb" for the minimization and "adapt" for the integral. The integral is
over two variables (thita and radiusb)
and the 3 free parameters I want to derive from the minimization are
counts0, index and radius_eff.
I have used both tasks in the past successfully but this is the first time
2011 May 20
5
regression coefficient for different factors
Dear R-helpers,
In my dataset I have two continuous variable (A and B) and one factor.
I'm investigating the regression between the two variables usign the command
lm(A ~ B, ...)
but now I want to know the regression coefficient (r2) of A vs. B for every factors.
I know that I can obtain this information with excel, but the factor have 68 levels...maybe [r] have a useful command.
Thanks,
2000 Mar 07
1
update fails after specific sequence of steps (PR#474)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@biostat.ku.dk
#
######################################################
I stumbled on this error while doing a classroom demonstration. The error is reproducible,
2009 Jun 11
3
deSolve question
Dear All,
I like to simulate a physiologically based pharmacokinetics model using R
but am having a problem with the daspk routine.
The same problem has been implemented in Berkeley madonna and Winbugs so
that I know that it is working. However, with daspk it is not, and the
numbers are everywhere!
Please see the following and let me know if I am missing something...
Thanks a lot in advance,
2007 Dec 17
2
Capture warning messages from coxph()
Hi,
I want to fit multiple cox models using the coxph() function. To do
this, I use a for-loop and save the relevant results in a separate
matrix. In the example below, only two models are fitted (my actual
matrix has many more columns), one gives a warning message, while the
other does not. Right now, I see all the warning message(s) after the
for-loop is completed but have no idea which model
2008 Jan 28
0
(no subject)
Hi all
I am trying to generate a normal unbalanced data to estimate the coefficients of LM, LMM, GLM, and GLMM and their standard errors. Also, I am trying to estimate the variance components and their standard errors. Further, I am trying to use the likelihood ratio test to test H0: sigma^2_b = 0 (random effects variance component), and the t-test to test H0:mu=0 (intercept of the model Yij = mu
2006 Dec 21
0
Poisson mixed effects model
Hello,
I am fitting a Poisson mixed effects model. I have the number of eggs
(Eggs) laid by a quail and looking at the effect of dosage of a chemical
(Dose) in the study. I have counts of eggs laid by week of the study,
so I am including the week number (Week) as a random effect. I'm using
the lme4 package.
I have,
> mod1 <- lmer(Eggs~Dose + (1|Week),family=poisson)
>
2008 Jul 03
0
post hoc comparisons on NLME for longitudinal data
I am trying to fit a non linear mixed effect model but I also want to do a post hoc comparison.
My
data is binary and consist of recording mice track prints on plates
plates in plots that submited to one of 4 different treatments (fruits
and vegetation complexity manipulated for two levels each. The design
is random blocks repeated measures with presence or absence of track
prints as a response
2011 Aug 09
1
lavaan: how to analyse residuals of a latent variable
Hi r-help,
I use lavaan:sem() for structural equation modelling with latent
variables. Below is a reproducible example (the code requires a
working installation of lavaan) where the latent variable criminality
is in focus. Besides criminality in general, I am specifically
interested one of the manifest variables that make up the latent
variable criminality, namely fire.setting.
My question is:
2010 Feb 17
2
extract the data that match
Hi r-users,
I would like to extract the data that match. Attached is my data:
I'm interested in matchind the value in column 'intg' with value in column 'rand_no'
> cbind(z=z,intg=dd,rand_no = rr)
z intg rand_no
[1,] 0.00 0.000 0.001
[2,] 0.01 0.000 0.002
[3,] 0.02 0.000 0.002
[4,] 0.03 0.000 0.003
[5,] 0.04 0.000 0.003
[6,]
2013 Mar 28
0
using cvlm to do cross-validation
Hello,
I did a cross-validation using cvlm from DAAG package but wasn't sure how to assess the result. Does this result means my model is a good model?
I understand that the overall ms is the mean of sum of squares. But is 0.0987 a good number? The response (i.e. gailRel5yr) has min,1st Quantile, median, mean and 3rd Quantile, and max as follows: (0.462, 0.628, 0.806, 0.896, 1.000, 2.400) ?
2003 Apr 24
1
write.table problem
Dear R helpers,
I have been using the loadings function from the multiv library and I
get the typical output (see below). When I try to export these results
to a file using a write.table() I get the following error message
"Error in as.data.frame.default(x[[i]], optional = TRUE) : can't coerce
loadings into a data.frame" Any idea why write.table is doing that and
any
2009 Apr 27
0
VIF's in R using BIGLM
Dear R-help
This is a follow-up to my previous post here:
http://groups.google.com/group/r-help-archive/browse_thread/thread/d9b6f87ce06a9fb7/e9be30a4688f239c?lnk=gst&q=dobomode#e9be30a4688f239c
I am working on developing an open-source automated system for running
batch-regressions on very large datasets. In my previous post, I posed
the question of obtaining VIF's from the output of
2010 Jan 31
3
combining data frames in a list - how do I add breaks?
I'm a week-old R user, and have become stuck trying to create usable CSV
outputs for post-processing. I am using the package Rioja, which provides
small datasets of results. I am running several analyses in a loop and
iteratively adding the results to a *list* ("combined"). Within each
iteration I use the following:
> combined[[i]] <- performance(fit)
With two iterations I
2009 Nov 09
4
prcomp - principal components in R
Hello, not understanding the output of prcomp, I reduce the number of
components and the output continues to show cumulative 100% of the
variance explained, which can't be the case dropping from 8 components
to 3.
How do i get the output in terms of the cumulative % of the total
variance, so when i go from total solution of 8 (8 variables in the data
set), to a reduced number of