Displaying 20 results from an estimated 10000 matches similar to: "how to find maximum for multivariable data"
2012 Mar 13
1
how to write crossed and nested random effects in a model
Dear R Users,
I have a question based on my research. I am analyzing reader-based
diagnostic data set. My study involves diabetic patients who were evaluated
for treatable diabetic retinopathy based on the presence or absence of two
pathologies in their eyes. Pathologies were identified using the clinical
examination (Gold standard method). In addition it can be identified by
taking digital
2005 Mar 01
6
Help : delete at random
Hello
I would like to delete some values at random in a data frame. Does
anyone know how I could do?
With best regards
Caroline
2005 Dec 13
1
help with multivariate analysis
dear R users,
I need some help for multivariate analysis.
I have 2 anaesthetic treatment groups (20 patients/group) where I
register heart frequency and pressure for 60 min (repeated measures
every 5 minutes). I would like to perform a test to check if treatments
are different in controlling freq and pressures during the anaesthesia,
but i would like to have also an overall measure and not
2005 Jun 09
1
question on boot
Hello there:
Dear Dr. Murdoch,
I'm a statistician at Princess Margaret Hospital. Could you please help
me with the bootstrapping?
Can boot function (along with boot.ci) handle multivariate statistics?
My intention is that I want to group the outcome data and evaluate the
proportion of patients who are positive for a marker within each group.
(i.e. I have two variables, a predictor and
2009 May 28
3
String replacement in an expression
Dear R-experts,
I need to replace in an expression the character "Cl" by "Cl+beta"
But in the following case:
form<-expression((Cl-(V *ka) ) +(V *Vm *exp(-(Clm/Vm) *t)))
gsub("Cl","(Cl+beta)",as.character(form))
We obtain:
[1] "((Cl+beta) - (V * ka)) + (V * Vm * exp(-((Cl+beta)m/Vm) * t))"
the character "Clm" has been
2008 Jul 09
4
Strptime/ date time classes
Dear all,
I've come across a problem using strptime, can anyone explain what's
going on? I'm using version 2.7.0 on Windows XP.
Thank you
Caroline
First read in a data file using read.table
alldata = read.table(file, header=F, skip=4, colClasses =
c("character","numeric"))
dim(alldata)
[1] 223960 2
# inefficient, safe way of sorting out missing or dodgy
2010 Sep 23
2
Error: attempt to apply non-function
This code worked fine for me, then did some cleaning up of formatting using ESS (Emacs) and now I get this error, no idea what is causing it, all the brackets/parentheses seem to be balanced. What have I done wrong?
Thanks
Jim
p0.trial01 <- 0.25
TruOR01 <- 0.80
num.patients.01 <- 50
num.trials.01 <- 5
LOR01.het.in <- 0.00
num.sims <- 1
simLOR01 <-
2018 Jun 07
3
FTS Solr errors using doveadm
Solr 7 returns JSON by default but fts_solr requires XML.
Would be good to have wt=xml added to the query to force it to xml all the time, this would prevent errors if solr has
not had xml set as default for index.
Dovecot 2.2.36
Centos 6
*Doveadm Request:*
doveadm search -u caroline at covermg.com TEXT smith
doveadm(caroline at covermg.com): Error: fts_solr: Invalid XML input at 1:0: not
2012 Jul 18
3
Subsetting problem data
Hello, I need to subset my data to only look at the parts that have "holes"
in it. I already have a formula to get rid of inconsistencies, but now I
need to look only at the problem data to reconfigure it. In my data set
where there are multiple "cycles" per "patient," and I want to highlight
the patients who have a variable was not measured every cycle.
Here's a
2009 May 10
1
Function recommendation for this study...
Hi,
I'm not used to thinking along these lines, and wanted to ask your advice:
Suppose you have a sample of around 100, consisting of patients according to
doctors, in which patients and doctors are given a questionnaire with
categorical responses. Each patient somehow has roughly 3 doctors, or 3
rows of data. The goal is to assess by category of each question or DV the
agreement between
2011 Aug 03
4
slow computation of functions over large datasets
Hello there,
I’m computing the total value of an order from the price of the order items
using a “for” loop and the “ifelse” function. I do this on a large dataframe
(close to 1m lines). The computation of this function is painfully slow: in
1min only about 90 rows are calculated.
The computation time taken for a given number of rows increases with the
size of the dataset, see the example with
2011 Oct 31
1
Question on estimating standard errors with noisy signals using the quantreg package
Dear all,
My question might be more of a statistics question than a question on R,
although it's on how to apply the 'quantreg' package. Please accept my
apologies if you believe I am strongly misusing this list.
To be very brief, the problem is that I have data on only a random draw, not
all of doctors' patients. I am interested in the, say, median number of
patients of
2007 Dec 17
4
Installation of RGtk2 (PR#10519)
Full_Name: Caroline Keef
Version: 2.6.1
OS: Windows XP
Submission from: (NULL) (195.171.203.131)
I have tried to install the package rggobi which if I'm right requires the
package RGtk2
If I install RGtk2 using the install.packages (I used the UK (Bristol) mirror, I
haven't tried any other mirror) within R and then use library(RGtk2) I get the
following message box
"This
2006 Jul 03
4
Display find(:include => [:children]) results in a view
I am trying to determine how to display a list returned from a Rails
find(:include => [:children]). I am using the following (which works in the
console):
@patients = Account.find(session[:account_id]).patients.find(:all, :include
=> [:patient_details])
How can I address the patient_details to display them in the view? The
console even shows a @patient_details instance variable
2006 Aug 17
1
How to sort child table on fields in the associated parent
For an Xray file system patients have folders and folders have studies.
That is:
patients folders studies
id id id
name patient_id folder_id
... label type
... ...
The list of studies with their associated folder and patient might look
like this:
name folder_label study_type
2011 Feb 01
3
Matching patients
May I ask a clinical question? For a trial, we have a treatment group of small
size, say 30 patients. We want to selectmatching control patients from a bigger
group (100 patients) in terms of several clinical variables, such as age, tumor
stage etc. This practice is to select the closest matching set of control cases.
I wonder if R has any routine or package that can help with this problem.
2009 Aug 31
1
Multivariable linear regression
Hi,
I need to do some multivariable linear regression from RoR.
I have found one possible solution:
1. Install R on my host (Dreamhost)
2. Use the "R for Ruby" gem
Using a complex statistical package such as R seems a bit complicated
however, and I am wondering if you would have a simpler solution ?
The data is gathered online from the user, stored in the mySQL database,
and I need
2011 Jan 20
4
subsets
Dear R people
Could you please help.
Basically, there are two variables in my data set. Each patient ('id')
may have one or more diseases ('diagnosis'). It looks like
id diagnosis
1 ah
2 ah
2 ihd
2 im
3 ah
3 stroke
4 ah
4 ihd
4 angina
5 ihd
..............
Q: How to make three data sets:
1. Patients with ah and ihd
2. Patients with ah but no ihd
3. Patients with ihd but no
2012 Sep 03
1
select specific rows from regression output
Hello everyone,
I have a data set that contains characteristics of 25,000 patients of 92
different hospitals. I have run a regression to capture the probability
these patients will have a complication after a certain operation. Now, I
actually want to predict the probability per patient, using the outcome of
the regression, but I just certain patients involved in the prediction. So,
I want to use
2003 Mar 12
0
[S] Gstat: multivariable geostatistics for S (R and S-Plus)
The majority of the functionality present in the gstat stand-alone
program (http://www.gstat.org/) is now available as a package/library for
the S language (R, S-Plus), again called gstat. The package provides
multivariable geostatistical modelling, prediction and simulation, as
well as several visualisation functions. Gstat was started 10 years
ago and was released under the GPL in 1996; the