Displaying 20 results from an estimated 2000 matches similar to: "na.omit - Is it working properly?"
2003 Sep 26
3
Std. errors of intercept and slope
Dear all,
I have the following output generated by linear regression. Since there is
only one regression intercept and one slope for one set of data, what is the
meaning of std. error for intercept and that of slope? Thanks in advance.
Sincerely,
Minghua
> data(thuesen)
> attach(thuesen)
> lm(short.velocity~blood.glucose)
Call:
lm(formula = short.velocity ~ blood.glucose)
2007 Oct 29
1
lm.boot function gives error
When I run this calculation
library(ISwR)
library(simple.boot)
data(thuesen)
fit <- lm(thuesen$short.velocity~thuesen$blood.glucose)
summary(fit)
fit.sb <- lm.boot(fit,R=1000,rows=F)
summary(fit.sb)
I get the following error from the lm.boot routine:
newdata' had 100 rows but variable(s) found have 24 rows
I don't know what this error means. Also, this example is
2007 Oct 19
2
In a SLR, Why Does the Hat Matrix Depend on the Weights?
I understand that the hat matrix is a function of the predictor variable
alone. So, in the following example why do the values on the diagonal of the
hat matrix change when I go from an unweighted fit to a weighted fit? Is the
function hatvalues giving me something other than what I think it is?
library(ISwR)
data(thuesen)
attach(thuesen)
fit <- lm(short.velocity ~ blood.glucose)
2010 Aug 25
3
What does this warning message (from optim function) mean?
Hi R users,
I am trying to use the optim function to maximize a likelihood funciton, and
I got the following warning messages.
Could anyone explain to me what messege 31 means exactly? Is it a cause for
concern?
Since the value of convergence turns out to be zero, it means that the
converging is successful, right?
So can I assume that the parameter estimates generated thereafter are
reliable MLE
2018 Jan 03
2
Nvidia maximum pixel clock issue in kmod-nvidia-384.98
Hi everyone,
On CentOS 7 I'm running into an issue with the latest nvidia driver
from elrepo: kmod-nvidia-384.98-1.el7_4.elrepo.x86_64
This driver version seem to introduce issue in detecting video modes
when a monitor is connected using DVI. As soon as the machine attempts
to start X, nothing happens and the monitor goes into sleep mode
reporting that it has 'no signal'.
It is
2008 Apr 07
3
Extract values from a named array
Sorry for this dumb question. Suppose I have a named array ww defined as
ww <- 1:5
names(ww) <- c("a", "b", "c", "d", "e")
How can I extract the whole array of numbers without the names?
ww[1:5] does not work while ww[[1]] can only extract one number at a
time.
Thanks,
Gang
2008 Feb 18
3
help with x config on centos 5.1
Hi all,
Typically I dont have issues with configuring X. However this time its
an issue.
I have an NVIDIA graphics card trying to do 1920x1080.
If I configure the screen by hand with the nvidia config utility it
works at 1920x1080.
However when I reboot its 800x600. When I use the nvidia config utility to
set 1920x1080 then save the xorg.conf file, and reboot (yes I copied
/tmp/xorg.conf to
2011 Oct 19
1
Sparse covariance estimation (via glasso) shrinking to a "nonzero" constant
I've only been using R on and off for 9 months and started using the
glasso package for sparse covariance estimation. I know the concept is
to shrink some of the elements of the covariance matrix to zero.
However, say I have a dataset that I know has some underlying
"baseline" covariance/correlation (say, a value of 0.3), how can I
change or incorporate that into to the
2007 Sep 19
2
How to pass a string as an argument to a function?
I want to pass a predefined string ww ("fa*fb+fc") to function lme so
that I can run
> lme(y ~ fa*fb+fc, random = ~1|subj, model)
I've tried something like
> lme(y ~ paste(ww), random = ~1|subj, model)
and
> lme(y ~ sprintf(ww), random = ~1|subj, model)
but both give me the following error:
Error in model.frame(formula, rownames, variables, varnames, extras,
2011 Jun 26
1
bwplot questions: box order, axis breaks, and multiple y-axis labels
Hi all,
I used bwplot in lattice to create a 6-panel boxplot grouped by a
conditioning variable (param) that displays concentration (conc) in
response to treatment (trtmnt). Here is the functional part of my
code followed by my three questions:
library(lattice);
ww<-read.csv(file="c:/Rdata/lattice_boxplot_prep.csv",header=TRUE,sep=",");
attach(ww);
2011 Apr 05
2
Pulling strings from a Flat file
Hi,
I have a flat file that contains a bunch of strings that look like this. The file was originally in Unix and brought over into Windows:
E123456E234567E345678E456789E567891E678910E. . . .
Basically the string starts with E and is followed with 6 numbers. One string=E123456, length=7 characters. This file contains 10,000's of these strings. I want to separate them into one vector the
2010 Oct 15
1
Problem using BRugs
Hi R users,
I am trying to call openbugs from R. And I got the following error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
model is syntactically correct
expected the collection operator c error pos 8 (error on line 1)
variable ww is not defined in model or in data set
[1] "C:\\DOCUME~1\\maomao\\LOCALS~1\\Temp\\RtmpqJk9R3/inits1.txt"
2008 Feb 29
1
Allocaation resource error (DELL Optiplex 755)...
Hi all,
(My first time in seeking assistance via the CentOS mailing list ... Not
sure if I should be submitting this as a possible kernel bug).
I've successfully installed Cent OS 5.1 (kernel: 2.6.18-53.1.13.el5) on
an Optiplex 755 (EM64T). However I'm not able to get a NVIDIA Gigabyte
8600GT (PCI-e) card to work with the system despite successfully
installing the latest NVIDIA drivers
2006 May 12
3
Dial Command Reference for SIP channel
Hi all. I was reading a sample config someone had posted relating to
call forwarding, and in it, they use a Dial command with components that
I cannot find any reference to.
Can someone point me to a reference which could explain the difference
between Dial(SIP/100|20|Ttr,,wW) and Dial(SIP/100,,wW)
Specifically, what is the |20|Ttr ? I cannot seem to find any reference
which would indicate
2017 Nov 01
1
Creating Tag
i want to tag categories to its menuname.
i have a csv containing menu item name and in other csv i have a column
containing some strings,
i want to pick that strings from categories and look into menu items if
any menu item containing that string i want to create a new column next to
menu item name flagged as 1 otherwise 0
and the only condition is once a menu item flagged as 1 i don't need
2006 Oct 10
1
AIGLX + r300 + compiz?
So I've spent the last few days getting Xorg pulled from freedesktop git
and built. Everything seems to have worked, and I now have Xorg version
7.1.99.2 running, composite enabled, and AIGLX enabled. The Xorg log
file shows:
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
2010 Jul 02
3
Knowledge discovery
Hi,
I have 100000 units with 10 attributes (attr1, attr2, attr3, etc...)
For instance:
unit attr1 attr2 attr3 ...
1 a ww 12
2 a re 11
3 b ww 09
4 c yt 02
5 a qw 02
...
I'd like to answer to the question:
a) what are the most frequent combinations of attributes?
b) How could I describe the relations
2010 May 12
1
exact the variables used in tree construction
> fit.dimer <- rpart(as.factor(out) ~ ., method="class", data=p_df)
>
> fit.dimer$frame[, "var"]
[1] NE WC <leaf> TA <leaf> <leaf> WG WD WW WC
[11] <leaf> <leaf> <leaf> CT <leaf> FC <leaf> YG QT <leaf>
[21] <leaf> <leaf> NW DP DY <leaf> SK
2008 Feb 06
3
synaptics problem
Hi,
I've recently installed FreeBSD 6.3, and I've got a problem with
synaptics.
I've installed it, followed the pkg-message :
hw.psm.synaptics_support=1
It works, dmesg gives :
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0
moused_enable="NO"
ps shows me that moused doesn't run.
xorg.conf :
InputDevice
2009 Nov 15
2
Sip incoming call issue with Asterisk 1.6
After a migration to asterisk 1.6, I don't receive sip incoming calls
anymore.
As fas as I understand the SIP debug traces, my server receives the
request and reject it:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<--- SIP read from UDP:212.27.52.5:5060 --->
INVITE sip:s at 192.168.4.2:5060;transport=udp SIP/2.0
Call-ID: 25151-WW-0eaf098b-2f615ac60 at