Displaying 20 results from an estimated 100 matches similar to: "variable name question"
2010 Jan 21
3
cross validation function translated from stata
Hi, everyone:
I ask for help about translating a stata program into R.
The program perform cross validation as it stated.
#1. Randomly divide the data set into 10 sets of equal size, ensuring equal
numbers of events in each set
#2. Fit the model leaving out the 1st set
#3. Apply the fitted model in (2) to the 1st set to obtain the predicted
probability of a prostate cancer diagnosis.
#4. Repeat
2003 Oct 04
2
(no subject)
Dear all,
I have the following question. I have to fit the hierarchical model for the
hypothesis concern the individual-level effects by controlling for the
individual -level attributes and national-level contextual effects on
individuals by using R.
O have to obtain the estimates of the impact of the second-level (national:
GDP per capita) effects on individuals ( in this instance the impact
2012 Nov 18
2
Question about making histogram and x must be numeric
Hello all,
I hope someone of you can help me out, I have searched other posts as well
but I can't find any solution to the problem I'm dealing with.
I want to make a histogram from the data Telephone Lines
MDGdataset <-read.csv("MDG_dataset_2010.csv", header=T)
MDGdatasetAdapted <- subset(MDGdataset, select = c(Country_Code,
Country_Name, Year,
2011 Dec 07
1
removing specified length of text after a period in dataframe of char's
Dear all,
I'm trying to remove some text after the period (a decimal point) in
the data frame 'hi', below. This is one step in formatting a table. So
I would like e.g.
"2.0" to become "2"
and "5.3" to be "5.3",
where the variable digordered contains the number of digits after the
decimal that I would like to display, in the same order in which
2008 Nov 10
1
plotting graph in different device
Hi,
i try to plot my graph into different device using x11(),
but when i do this comes up:
> x11(print(plot(A5e$ECAB,A5e$EXPEND,type='p',main='Per capita expenditure
> against economic
+ ability index without
outliners',xlab='ECAB',ylab='EXPEND',xlim=c(0,150),ylim=c(150,400),
+ col='red',col.axis='blue')))
NULL
Warning message:
2011 May 05
1
Looping over graphs in igraph
Hi,
I'm trying to do some basic social network analysis with igraph in R, but
I'm new to R and haven't been able to find documentation on a couple basic
things:
I want to run igraph's community detection algorithms on a couple thousand
small graphs but don't know how to automate igraph looking at multiple
graphs described in a single csv file. My data look like something in
2011 Aug 23
3
Change Variable Labels in Quantile Plot
I have spent hours on this ---looked through the quantreg manual and r-help site--- still couldn't figure out the answer. Can someone please help me on this?
I plot the result from quantile regression and want to change the variable labels:
temp<-rq(dep~inc+age50, data=newdata, tau=1:9/10)
temp2<-plot(summary(temp))
dimnames(temp2)[[1]]<-c("Intercept", "Per Capita
2012 Jan 19
1
question re. package playwith not able to run command getting error message that I'm attempting to use non function
Hello, I managed to install playwith package and all its prerequisites. My
R version is R 2.14:
R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i486-pc-linux-gnu (32-bit)
All my packages were updated, and recently installed. When I attempt
to use the command playwith I get the following error message:
>
2004 Mar 03
1
partial autocorrelation for Rt vs. Nt-1, ......., Nt-h
Dear list, following a previous querry we are still stuck!
As pointed out by Erin Hodges the "ts" library includes a PACF function
which reports the partial correlation of population density at time t
against lagged population density.
However, what we are trying to calculate is the partial correlation between
rate of population change, Rt=log Nt/Nt-1, against lagged population
2005 Jan 25
1
Box-Cox / data transformation question
Dear R users,
Is it reasonable to transform data (measurements of plant height) to the
power of 1/4? I?ve used boxcox(response~A*B) and lambda was close to 0.25.
Regards,
Christoph
2012 Apr 18
1
error estimating parameters with mle2
Hi all,
When I try to estimate the functional response of the Rogers type I
equation (for the mle2 you need the package bbmle):
> RogersIbinom <- function(N0,attackR2_B,u_B) {attackR2_B+u_B*N0}
> RogersI_B <-
mle2(FR~dbinom(size=N0,prob=RogersIbinom(N0,attackR2_B,u_B)/N0),start=list(attackR2_B=4.5,u_B=0.16),method="Nelder-Mead",data=data5)
I get following error message
2008 Jul 15
5
[PATCH] ioemu-remote: Fix pci pass-through
ioemu-remote: Enable pci pass-through by default.
--
Jean Guyader
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2009 Feb 04
3
auth_debug_passwords
Hi. I'm new to Dovecot and about to start using it in production. In
the config file, I set the option, auth_debug_passwords, to yes. I do
not see any failed passwords logged, however. It did cause more verbose
authentication logging, but failed passwords are still hidden.
I have also set these options to yes, because I thought they might be
required for auth_debug_passwords to work:
2006 Jul 17
1
sem: negative parameter variances
Dear Spencer and Prof. Fox,
Thank you for your replies. I'll very appreciate, if you have any ideas concerning the problem described below.
First, I'd like to describe the model in brief.
In general I consider a model with three equations.
First one is for annual GRP growth - in general it looks like:
1) GRP growth per capita = G(investment, migration, initial GRP per
2006 Jun 13
17
switchroot mount failed
All,
I am running xen3.0.2 and xen unstable on RHEL 4, and get this error when
trying to boot Xen kernel(domain0)
......
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempting to kill init!
Then system reboot.In grub.conf,I have
2006 Jun 13
17
switchroot mount failed
All,
I am running xen3.0.2 and xen unstable on RHEL 4, and get this error when
trying to boot Xen kernel(domain0)
......
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempting to kill init!
Then system reboot.In grub.conf,I have
1999 Sep 29
1
Is there an R-SQUARE function?
Hi there, I realize that this is a bit of a strange question, but here
goes.
In SAS, one can use the REG procedure to carry out a least-squares
regression analysis. By specifying the R-SQUARE option in the SELECTION
command, the program carries out regressions for every combination of
every independant variable against the dependant variable. This is
useful in smaller datasets, though difficult
2007 Apr 23
4
Estimates at each iteration of optim()?
I am trying to maximise a complicated loglikelihood function with the "optim" command. Is there some way to get to know the estiamtes at each iteration? When I put "control=list(trace=TRUE)" as an option in "optim", I just got the initial and final values of the loglikelihood, number of iterations and whether the routine has converged or not. I need to know the
2010 Jun 17
0
Netware Version 2.6.3
What is the latest version for Netware as I am on 2.6.3 and coming up
against some of the documented problems that have been resolved in
version 3 onwards?
The problem I have is when transferring large files it causes the source
server to run out of Memory with the following error
17-06-2010 1:00:02 am: SERVER-5.70-0 [nmID=6001D]
Cache memory allocator out of available memory.
2007 Oct 24
3
how to loop over a group of variables?
Hi All,
I have a data frame with a group of variables named b1, b2, b3, ..., b18. These variables take the value 1, 2 or NA. For each observation, I want to do some computation by looping over the values for the group of variables: b1 to b18. In STATA I would do:
forval i=1/18 {
--- use b`i' for computation ----
}
How can this be done in R?
Deepankar