Displaying 20 results from an estimated 2000 matches similar to: "Replacing NAs with 0 for variables with the same ending"
2010 Jul 26
1
Optimization problem with nonlinear constraint
Dear all,
I'm looking for a way to solve a simple optimization problem with a
nonlinear constraint. An example would be
max x s.t. y = x * T ^(x-1)
where y and T are known values.
optim() and constrOptim() do only allow for box or linear constraints,
so I did not succedd here. I also found hints to donlp2 but this does
not seem to be available anymore.
Any hints are welcome,
2008 Apr 25
2
Extracting coefficients' standard errors from linear model
Dear all,
Hope this question is not too trivial...
In order to correct standard errors from an estimation of a fixed
effects regression model y need to extract the vector of standard errors
of the coefficients of a simple linear model estimated using
lm(var1~var2+var3+var4)
Unfortunately I can't find out the corresponding function.
Thank you very much for your help.
Uli
--
Uli
2008 Mar 17
3
Creating plots for all variables in a data frame and printing them with the variable name in the main title
Dear all,
I'm just trying to create plots for all variables in a dataframe (named
"x") using the following:
png()
apply(x,2,hist)
Just as intended, it produces one plot for each variable. Unfortunately,
the main title of each graph is "Histogram of newX[,i]" instead of
"Histogram of name of variable". This makes it impossible to assign the
graphs to the
2008 Mar 18
1
Error when producing multiple graphes
Dear all,
Within a larger script I use the following code to produce barplots for
all variables contained in a dataframe "type3m":
for(xn in names(type3m)) barplot(table(type3m[[xn]]), main = paste
("Barplot of", xn), width=0.75,legend.text=barnamesm,
xlim=c(0,4),ylim=c(0,400))
The plots are produced and printed into a *.ps file. However, R gives an
error
2009 Nov 02
1
for parameter 'keep' in 'step'
Hello Lady or Sir,
I want to do model selection with 'step' function. But there is a trouble to
me.
For example, there are 5 independent variables, X0,X1,X2,X3 and X4; and 1
dependent variable y.
I want to run stepwise regression y ~ X0 + X1 + X2 + X3 + X4, and I want to
keep X0 always in the
model. Every time when I run command 'step' with 'keep', error information
2012 Nov 28
2
output data by date?
Dear Helpers,
I have a dataset X, with no missing values, everything is in order, R reads
it correctly, and I have already done some statistical analyses on the
dataset. The data are in order by date (six sampling dates in one year,
earliest to latest) and I now want to generate boxplots for each parameter
for each date.
However, R outputs the boxplots in some order that I do not understand (eg.
2011 Feb 04
0
R package hypred: Simulation of genomic data in applied genetics
Dear useRs,
I am glad to announce that the new R package "hypred", initial version
0.1, is now available on CRAN.
"hypred" is a package for simulating high-density SNP data. Its main
function, "hypredRecombine" is intended to be used as a "Software tool"
in larger programs that simulate complex populations.
The focus of the package is on producing
2011 Feb 04
0
R package hypred: Simulation of genomic data in applied genetics
Dear useRs,
I am glad to announce that the new R package "hypred", initial version
0.1, is now available on CRAN.
"hypred" is a package for simulating high-density SNP data. Its main
function, "hypredRecombine" is intended to be used as a "Software tool"
in larger programs that simulate complex populations.
The focus of the package is on producing
2006 Aug 28
2
problem booting msdos with memdisk
Hi all,
I try to boot an msdos system using pxelinux and memdisk on my PC engines Wrap-2.c card and I have problems with it
This is what I see:
PXELINUX 3.11 Debian-2006-03-16 Copyright (C) 1994-2005 H. Peter A
boot: msdos
Loading memdisk....
Loading images/msdos/msd622bd.dosim.........................
Ready.
dp83815: Setting full-duplex based on negotiated link capability.
MEMDISK 3.11
1999 May 05
1
ANOVA "ex post" Analysis
Hello everybody,
shame on me if I have overlooked something (CRAN, StatLib), but I think
I've searched carefully. Maybe it's just too obvious to see for me
(happens frequently).
Is a function available that extracts multiple comparison of means from
objects produced by "aov()" ? Sorry if the term is not correct, I
translated from german word by word ("Multiple
2002 Aug 13
2
AW: Unable to open configuration file "/etc/smb.conf" (or whereve r i specify)
Hi,
it looks like you have something really messed up on your system.
The size of the file is 1243 bytes (from strace) but 0 bytes are being read.
If you had no permission to read the strace would have looked like this:
open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission
denied)
A quick look at the source code reveals:
/etc/samba/smb.conf is opened in file_load
2003 Mar 13
3
Looking for GUI
Hi List,
i am locking for a GUI for R. I have a Debian Woody 3.0 and running R 1.5.1.
In office i am using SPSS 9.0 for several years now after Systat for short
time and now i would use a statistic software under Linux at home. It seems
that R could be that what i am looking for, but i have problems to understand
how it works or better explained i would prefer using a good grafic interface.
2004 Jun 01
2
Importing binary data
Hi everybody!
I've a large dataset, about 2 Mio entries of the format which I would like
to import into a frame:
<integer><integer><float><string><float><string><string>
Because to the huge data amount I've choosen a binary format instead
of a text format when exporting from Matlab.
My import function is attached below. It works fine for only
2003 Mar 13
4
gpedit.msc as centralized policy for 2k/xp clients
John,
> I would like to figure out how to do this
> gpedit.msc+AD+gpc+gpt magic for
> win2k/xp with linux+samba(2.2/3.0/tng)+openldap and is it possible at
> all?
We use local (!) GPOs on our Win2k clients with great success:
- log on to "master" workstation as administrator
- create a link to the "C:\WINNT\system32\GroupPolicy" folder on your
administrator's
1999 Mar 25
1
Y-limits of barplots
Hello everybody,
I frequently have to produce barplots from variables the natural variation
of which is far away from zero. A typical range would be, say from -16 to
-28.
So, the following example should give an "honest" presentation:
x<-c(-20,-22,-21,-28)
barplot(x,beside=T,ylim=c(-18,-30))
But using anything else but "0" for the first element of ylim
leads to strange
2003 Apr 02
2
Samba 3.0 won't join Samba-TNG domain
Hi,
I posted this problem before in more detail
(http://marc.theaimsgroup.com/?l=samba&m=104756899022766&w=2) but received
no response.
At the current state of Smaba 3.0 and Samba-TNG these two seem to be
incomaptible. Samba 3.0 can't join a TNG controlled domain.
I think this should affect a lot of installations as TNG as a controller and
"stable" as file/printserver seem
2009 Aug 27
19
Best R text editors?
Quick informal poll: what is everyone's favorite text editor for working
with R? I'd like to hear from people who are using editors that have
some level of direct R interface (e.g. Tinn-R, Komodo+SciViews). Thanks!
--j
--
Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The
2002 Dec 06
2
kazaa lite does not download files !
Hello,
i am not able to download files with kazaa lite.
I have a 400 mhz AMD with one patition for windows win98 Fat16, browser is
Internet Explorer 5, and other 4 for linux debian 3.0 kernel 2.2.19.
I installed wine 0.0.20020411-1 and kazaa lite 2.0.
I mount my original windows partition to /home/user/.wine/fake_windows.
I start
kazaa with:
wine --dll
1999 Dec 13
1
Problems with "help(topic,offline=T)"
Hello everybody,
since I installed R-0.90.0 (Linux 2.0.25) I have problems with generating
printable output with 'help()'.
Default output to the terminal ('echo $PAGER' gives 'less') works o.k..
When invoking 'help(topic,offline=T)' all the usual procedures seem to
start: 'top' reports invocation of latex as well as of dvips. But after
finishing there is
2006 Jul 18
3
Test for equality of coefficients in multivariate multiple regression
Hello,
suppose I have a multivariate multiple regression model such as the
following:
> DF<-data.frame(x1=rep(c(0,1),each=50),x2=rep(c(0,1),50))
> tmp<-rnorm(100)
> DF$y1<-tmp+DF$x1*.5+DF$x2*.3+rnorm(100,0,.5)
> DF$y2<-tmp+DF$x1*.5+DF$x2*.7+rnorm(100,0,.5)
> x.mlm<-lm(cbind(y1,y2)~x1+x2,data=DF)
> coef(x.mlm)
y1 y2
(Intercept)