Displaying 20 results from an estimated 80 matches similar to: "Interpreting lm Residuals..."
2005 Feb 24
4
r: functions
hi all
i have a function that uses two inputs, say xdata and ydata. An example
is the following,
simple1<-function(xdata,ydata)
{
ofit<-lm(ydata~xdata)
list(ofit)
}
say i use arbitray number for xdata and ydata such that
D =
x1 x2 y
1 1 10
2 6 6
3 10 7
x<-D[,1:2]
and
y<-D[,3]
if one uses these inputs and rund the program we get the following:
>simple(xdata=x,ydata=y)
2012 Jan 26
1
3-parametric Weibull regression
Hello,
I'm quite new to R and want to make a Weibull-regression with the survival package. I know how to build my "Surv"-object and how to make a standard-weibull regression with "survreg".
However, I want to fit a translated or 3-parametric weibull dist to account for a failure-free time.
I think I would need a new object in survreg.distributions, but I don't know how
2009 Apr 09
4
running a .r script and saving the output to a file
Hello,
I want to run the following commands as a script(.r or .bat) and save the
output in an external file through Windows OS.
data<-read.csv(file="wgatever.csv", head=TRUE, sep=",")
summary(data$SQFT)
hist(data$STAMP)
hist(data$STAMP, col='blue')
hist(data$SHIP, col='blue')
How could I do that? I have a great problem using the sink() function
2009 Mar 31
3
labeling panels in lattice plots
I am using windows XP with R 2.8.1
I am generating a lattice plot of annual rain patterns using the following
function:
> xyplot(rain.stats$min+ rain.stats$max + rain.stats$ave ~
rain.stats$month |rain.stats$year,
lty = 1, data = rain.stats, type = c("l","l", "l"), col =
c("red", "blue", "green"), distribute.type =
2006 May 23
1
lattice package - question on plotting lines
Hi all,
I was trying to plot a graph using the following data:
method percent accuracy group
A1 4 0.8529 cns
A1 10 0.8412 cns
A1 15 0.8235 cns
A2 4 0.9353 cns
A2 10 0.9412 cns
A2 15 0.9471 cns
A1 4 0.8323 col
A1 10 0.8452 col
A1 15 0.8484 col
A2 4 0.8839 col
A2 10 0.8677 col
A2 15 0.8678 col
#################
The code I'm using to generate the graphs is:
### code :
2008 Mar 27
1
dreaded p-val for d^2 of a glm / gam
OK,
I really dread to ask that .... much more that I know some discussion about p-values and if they are relevant for regressions were already on the list. I know to get p-val of regression coefficients - this is not a problem. But unfortunately one editor of a journal where i would like to publish some results insists in giving p-values for the squared deviance i get out from different glm and
2015 Sep 08
3
UPS/NUT with openSUSE 13.1
On Tue, 8 Sep 2015, Rob Groner wrote:
> I executed lsusb to verify the USB device is there, and it is. I tried
> the shutdown command again with debug enabled, but it didn't seem to
> reveal much more:
> -----------------------------------------------------------------------------------------------
> rtd at linux-5048:~> sudo /usr/local/ups/sbin/upsdrvctl -DDDDD shutdown
2015 Sep 08
2
UPS/NUT with openSUSE 13.1
On Sep 8, 2015, at 4:48 PM, Rob Groner <rgroner at RTD.com> wrote:
>
> 0.005927 Device matches
> 0.005940 failed to claim USB device: Device or resource busy
> 0.005954 failed to detach kernel driver from USB device: No such file or directory
Rob,
this is a bit of a tough one to track down.
The "Device or resource busy" message can either come from a kernel
2017 Oct 09
4
Understanding of ldd header allocation
Hello,
I am currently switching to ldd from ld.bfd on a cross-platform embedded project and am facing a behaviour difference when using the same linker scripts with ld.bfd and ldd. Could anybody please give me a more reliable direction I should go with to get the same behaviour from both of the linkers?
Target binary format is a 32-bit ELF executable, which is expected to consist of a single RWX
2008 May 03
2
Resampler (no api)
.. And a version without the API changes.
-------------- next part --------------
Index: libspeex/resample_sse.h
===================================================================
--- libspeex/resample_sse.h (revision 0)
+++ libspeex/resample_sse.h (revision 0)
@@ -0,0 +1,128 @@
+/* Copyright (C) 2002-2008 Jean-Marc Valin
+ * Copyright (C) 2008 Thorvald Natvig
+ */
+/**
+ @file resample_sse.h
+
2008 May 03
0
Resampler, memory only variant
Hi,
Here's the (hopefully) final version of the resampler, now always using
st->mem as the buffer area. It only allocates buffers on the stack when
it's necesarry to convert the output between int and float.
-------------- next part --------------
Index: include/speex/speex_resampler.h
===================================================================
---
2016 Mar 07
2
Linking the FreeBSD base system with lld -- status update
As I've mentioned before[1] I've been regularly attempting to build
the FreeBSD/amd64 base system with lld, in order to keep track of
progress and identify issues on an ongoing basis. As of last November
a 'buildword' (i.e., userland build) ran to completion, with several
workarounds applied to the FreeBSD base system. However, the result
did not actually work.
I'm pleased to
2004 Jun 11
4
Regression query
Hi
I have a set of data with both quantitative and categorical predictors.
After scaling of response variable, i looked for multicollinearity (VIF
values)
among the predictors and removed the predictors who were hinding some of the
other significant
predictors. I'm curious to know whether the predictors (who are not
significant)
while doing simple 'lm' will be involved in
2004 Jun 11
1
Regression query : steps for model building
Hi
I have a set of data with both quantitative and categorical predictors.
After scaling of response variable, i looked for multicollinearity (VIF
values) among the predictors and removed the predictors who were hinding
some of the
other significant predictors. I'm curious to know whether the predictors
(who are not significant) while doing simple 'lm' will be involved in
2008 Aug 12
0
KS Test for Mixture of Distributions
Hi all,
How can we use ks.test() to evaluate
goodness of fit of mixtures of distributions?
For example I have the following dataset:
> x
[1] 176.1 176.8 259.6 171.6 90.0 234.3 145.7 113.7 105.9 176.2 168.9 136.1
[13] 109.2 110.3 164.3 117.7 131.3 163.7 200.4 196.4 196.2 168.6 190.4 127.5
[25] 136.0 114.2 112.0 91.9 333.4 295.5 172.0 293.3 91.7 289.7 118.8 55.1
[37] 161.9 233.9 197.7
2015 Sep 09
0
UPS/NUT with openSUSE 13.1
Charles,
dmesg doesn't say anything when "usbhid-ups -a rtdups -k" is executed.
I'm not sure which USB lib it compiled against. I installed them via "zypper install libusb-*". I'll try to find the version that got installed, as that WOULD be one thing that might have changed since the last time I had this working.
I'm not sure how to check for multiple
2019 Jun 14
0
resample of libopusenc-0.2.1 outputs all zeros if define FIXED_POINT
Actually opus-tools-0.2 has the same issue.
Sincerely
Forrest Zhang
-------------- next part --------------
Add "#define FIXED_POINT 1" into the top of resample.c, outputs of resample are all zeros.
Actually the data transform is required before/after calling speex_resampler_process_native().
diff -Naupr libopusenc-0.2.1-vanilla/src/resample.c libopusenc-0.2.1/src/resample.c
---
2015 Sep 08
0
UPS/NUT with openSUSE 13.1
Roger,
rtd at linux-5048> sudo /usr/local/ups/bin/usbhid-ups -a rtdups -k -DDD
Network UPS Tools - Generic HID driver 0.39 (2.7.2.6_RTD)
USB communication driver 0.32
0.000000 debug level is '3'
0.000405 upsdrv_initups...
0.004386 Checking device (0930/6545) (002/002)
0.004431 Failed to open device, skipping. (Permission denied)
0.004442 Checking device (1D6B/0002)
2007 Dec 18
0
R command "leap"
After applying the "step" command to a long list of predictors I came up
with the following showing there still are some non significant
coefficients.
I'd like to try the command "leap". However, I don't quite understand how it
returns the spared predicting variables.
Can please, someone help ?
Tank you in advance.
Mara EM
> summary(stepmod)
Call:
lm(formula =
2010 May 18
2
[LLVMdev] Fast register allocation
As you may have noticed, I have been working on a fast register allocator in the last week. The new allocator is intended to replace the local allocator for debug builds.
Both allocators use a local allocation strategy. Each basic block is scanned from top to bottom, and virtual registers are assigned to physical registers as they appear. There are no live registers between blocks. Everything is