Displaying 20 results from an estimated 4000 matches similar to: "How to do a truncated regression"
2007 Oct 29
2
Changing size of lattice plot?
Hi
I am having a bit of difficulty with changing the canvas size on a
trellis/lattice plot. I am plotting two "cubes" of 3-dimensional random
numbers, as follows:
library(gsl)
library(lattice)
q <- qrng_alloc(type="sobol", 3)
npoints <- 200
rs <- qrng_get(q,npoints)
# Plot the normal variates in a 3-dim cube
p1 <- cloud(rnorm(npoints) ~ rnorm(npoints) +
2013 Apr 30
1
Trabajar con un argumento opcional como escalar o vector.
Estimada Lista,
Deseo aplicar una función a cada fila de un data frame con un argumento opcional.
En la función orginal, el argumento opcional debería poder ser escalar o vector.
Necesito definir una función 'aplicaratodasfilas' que llama a otra función 'atomica' que no admite vectores y que requiere también argumentos opcionales.
Pongo un ejemplo:
# Se aplica a cada fila.
2018 Nov 02
3
[Bug 1286] New: -Z regression
https://bugzilla.netfilter.org/show_bug.cgi?id=1286
Bug ID: 1286
Summary: -Z regression
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Debian GNU/Linux
Status: NEW
Severity: normal
Priority: P5
Component: iptables over nftable
Assignee: pablo at netfilter.org
2010 Dec 16
1
predict.lm with new regressor names
Hi all,
Suppose:
y<-rnorm(100)
x1<-rnorm(100)
lm.yx<-lm(y~x1)
To predict from a new data source, one can use:
# works as expected
dum<-data.frame(x1=rnorm(200))
predict(lm.yx, newdata=dum)
Suppose lm.yx has been run and we have the lm object. And we have a
dataframe that has columns that don't correspond by name to the
original regressors. I very! naively assumed that doing
2012 Feb 10
0
a) t-tests on loess splines; b) linear models, type II SS for unbalanced ANOVA
Dear all,
I have some questions regarding the validity an implementation of
statistical tests based on linear models and loess. I've searched the
R-help arhives and found several informative threads that related to my
questions, but there are still a few issues I'm not clear about. I'd be
grateful for guidance.
Background and data set:
I wish to compare the growth and metabolism
2013 Jan 30
2
[LLVMdev] Publication Generation of TLM Testbenches Using Mutation Testing
Dear all,
I would like to share a paper I co-authored with Prof. Alper Sen. This
paper describes an algorithm to generate testbenches from SystemC
models represented with LLVM IR. It was accepted and presented at
International Conference on Hardware/Software Codesign and System
Synthesis (CODES/ISSS), 2012. A link to the paper is accessible from
acm or Alper's website:
2009 Nov 07
1
after PCA, the pc values are so large, wrong?
rm(list=ls())
yx.df<-read.csv("c:/MK-2-72.csv",sep=',',header=T,dec='.')
dim(yx.df)
#get X matrix
y<-yx.df[,1]
x<-yx.df[,2:643]
#conver to matrix
mat<-as.matrix(x)
#get row number
rownum<-nrow(mat)
#remove the constant parameters
mat1<-mat[,apply(mat,2,function(.col)!(all(.col[1]==.col[2:rownum])))]
dim(yx.df)
dim(mat1)
#remove columns with numbers of
2008 Mar 17
1
how to get accumulate contingency table
Hi, all.
I got a lot of help from the this mailing list, it save me a lot of time. Here is my question.
x<-rep(c(2,3,4),20)
y<-sample(rep(c(0,1),30))
tr<-rep(c(1:5),6)
data1<-data.frame(x,y,tr)
data1<-data1[order(data1$tr),]
> data1 x y tr1 2 0 16 4 1 111 3 0 116 2 0 121 4 0 126 3 1 131 2 0 136 4 1 141 3 0 146 2 0 151 4 0 156 3 0 12 3 0 27 2 0
2004 Apr 18
2
I need a Wine-Config
2004 Apr 08
2
nlme on Windows 2000 (v1.8.1)
I have a problem with nlme on Windows 2000, and I'm having a devil of a
time determining whether the problem is with my computer or with
something in R. I'm running v1.8.1 on a Dell Pentium III with 512MB of
RAM and all of the recommended Windows 2000 updates applied.
If I use Rterm, I can run analyses with NLME to my heart's content. But
when I run Rgui, I encounter a floating
2009 Apr 01
1
[Bug 21004] New: segfault loading www.serjtankian. com in swfdec_buffer_ref at swfdec_buffer.c:269
http://bugs.freedesktop.org/show_bug.cgi?id=21004
Summary: segfault loading www.serjtankian.com in
swfdec_buffer_ref at swfdec_buffer.c:269
Product: swfdec
Version: unspecified
Platform: Other
URL: http://www.serjtankian.com
OS/Version: All
Status: NEW
Severity: critical
Priority:
2012 Jan 13
1
Problems with plotCI
Got problems with plotCI (plotrix)
I only want to plot the upper part of the error bar in my barplot
I had the exact same commands working two months ago
Now I wanted to change the legend and when I ran it again plotCI stopped
working.
To me it seems like there must some bug in R
library(plotrix)
library (graphics)
x = matrix(c( 13.75516276, 3.944604404,
2009 Mar 11
1
Multilevel Modeling using glmmPQL
Hi,
I'm trying to perform a power simulation for a simple multilevel
model, using the function glmmPQL in R version 2.8.1. I want to extract
the p-value for the fixed-effects portion of the regression, but I'm
having trouble doing that. I can extract the coefficients
(summary(fit)$coeff), and the covariance matrix (summary(fit)$varFix),
but I can't grab the p-value (or the
2007 Oct 09
1
VC6 Patch
Here is a patch that gets the theora_static.dsp project for VC6 building
again.
Aaron
-------------- next part --------------
Index: win32/theora_static.dsp
===================================================================
--- win32/theora_static.dsp (revision 13945)
+++ win32/theora_static.dsp (working copy)
@@ -41,7 +41,7 @@
# PROP Intermediate_Dir "Static_Release"
# PROP
2006 Jun 26
2
Flac File Size
Hi,
I have a big flac file, i can divide this flac file into chunks by visual basic code, i can add header to these chunks by copying first 1K to other chunks, but chunks can not play properly, i think i need to change filesize from file headers of these chunks, i can read samplerate and samples count from header, but i do not know how can i calculate file size without reading all file, what
2011 Jun 28
2
How do I output all the R-squares of an SUR? summary(fitSUR$eq[[1:4]])$r.squared does not work
Greetings R Users,
I have a system of equations for which I would like to output all the
R-squares. Assume there are four equations in my system, the only way I
found to output all the R-squares is by calling them out one by one as this:
summary(fitSUR$eq[[1]])$r.squared
summary(fitSUR$eq[[2]])$r.squared
summary(fitSUR$eq[[3]])$r.squared
summary(fitSUR$eq[[4]])$r.squared
But isn't there a
2013 Feb 02
0
[LLVMdev] Publication Generation of TLM Testbenches Using Mutation Testing
Very interesting, thanks for the forward! If you're interested in having a link posted on llvm.org, please email the llvmdev mailing list.
-Chris
On Jan 30, 2013, at 9:42 AM, Marcelo Sousa <marceloabsousa at gmail.com> wrote:
> Dear all,
>
> I would like to share a paper I co-authored with Prof. Alper Sen. This
> paper describes an algorithm to generate testbenches from
2013 Sep 14
1
[LLVMdev] Publication: LLVMVF: A Generic Approach for Verification of Multicore Software
Dear all,
I'm happy to share a recent publication on a bounded model checker for
concurrent programs represented in LLVM IR that integrates the verification
framework that I'm developing:
Marcelo Sousa, and Alper Sen, LLVMVF: A Generic Approach for Verification
of Multicore Software. Journal of Electronic Testing: Theory and
Applications, September 2013. (
2003 Aug 01
1
Extracting p-values from modeling
Hello,
I have being conducting some (conditional logistic) regressions
(clr), and I'm interested in extracting and manipulating (as a number)
the p-values. (This is a prelude to some power simulations, where I'll
generate data sets, perform a clr on each data set, and then extract the
p-value for calculation of the power.) From what I can tell, the
p-value is not one of the quantities
2007 Jun 14
0
Branch 'as' - 7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c player/Makefile.am
libswfdec/swfdec_movie.c | 14 +++++++++++---
libswfdec/swfdec_player.c | 1 +
libswfdec/swfdec_sprite_movie.c | 4 ++--
libswfdec/swfdec_tag.c | 3 +++
player/Makefile.am | 4 ++--
5 files changed, 19 insertions(+), 7 deletions(-)
New commits:
diff-tree 228be8a9445d25e41ecd7a09102c85609ec81ad7 (from 361883eb263c60510a743ad9e419d263bc898ac8)