Displaying 20 results from an estimated 100 matches similar to: "acf conf intervals +speed"
2011 Feb 09
2
Generate multivariate normal data with a random correlation matrix
Hi All.
I'd like to generate a sample of n observations from a k dimensional
multivariate normal distribution with a random correlation matrix.
My solution:
The lower (or upper) triangle of the correlation matrix has
n.tri=(d/2)(d+1)-d entries.
Take a uniform sample of n.tri possible correlations (runi(n.tr,-.99,.99)
Populate a triangle of the matrix with the sampled correlations
Mirror the
2010 Dec 02
2
Hmisc label function applied to data frame
Hello,
I'm attempting to create a data frame with correlations between every pair
of variables in a data frame, so that I can then sort by the value of the
correlation coefficient and see which pairs of variables are most strongly
correlated.
The sm2vec function in the corpcor library works very nicely as shown here:
library(Hmisc)
library(corpcor)
# Create example data
x1 = runif(50)
x2 =
2009 May 15
2
Using column length in plot gives error
Hi
I'm trying to write a generic script for processing some data which finishes
off with some plots. Given Im never sure how many columns will be in my
dataframe I wanted to using the following
plot(spectra.wavelength, cormat, type = "l", ylim=c(-1,1), xlab="Wavelength
(nm)", ylab="Correlation")
however even if I specify as type="l" it appears plot
2013 Feb 20
1
Problem with levelplot() in a loop
Dear R users,
I am trying to print heatmaps in a loop (with a pause). Idea is to
visualize changing correlations over time and for testing I wrote this
simple (reproducible) code below.
My problem is that levelplot() does not produce any output when I run the
code (though heatmap does). Ideally I would like to use levelplot() as it
produces a neat index on the side indicating the color and the
2007 Sep 05
1
sshd_config -> ChallengeResponseAuthentication
I was under the impression from the provided distribution version of
the sshd_config file that "ChallengeResponseAuthentication" is
supposed to default to "yes".
Does anyone know if there are any circumstances, such as configure
options, that might cause it to default to "no"?
Thanks,
Richard A. Secor
rsecor at seqlogic.com
Sequential Logic
2008 May 17
1
Correlated Columns in data frame
Dear all,
Sorry to post my query once again in the list, since I did
not get attention from anyone in my previous mail to this
list.
Now I make it simple here that please give me a code for
find out the columns of a dataframe whose correlation
coefficient is below a pre-determined threshold. (For
detailed query please see my previous message to this list,
pasted hereunder)
Thanks and regards,
2013 Feb 02
1
Why replacement has length zero? And How can I fix it?
Hi
for the loop section runif needs curved brackets
Try
IAP <-NA
for (i in 1:Sample.Size){
if (DataSet$SES[i]>0) {
IAP[i] <- ifelse(runif(1)>0.75, 1, 0) # High SES, higher chance to be in
Treatment #
}
else {
IAP[i] <- ifelse(runif(1)<=0.25, 1, 0) # Low SES, lower chance to be in
Treatment #
}
} # End loop #
IAP
IAP
zjiaqi19880219 wrote
> Hi,
2006 Jun 28
1
Simulate dichotomous correlation matrix
Newsgroup members,
Does anyone have a clever way to simulate a correlation matrix such that
each column contains dichotomous variables (0,1) and where each column
has different prevalence rates.
For instance, I would like to simulate the following correlation matrix:
> CORMAT[1:4,1:4]
PUREPT PTCUT2 PHQCUT2T ALCCUTT2
PUREPT 1.0000000 0.5141552 0.1913139 0.1917923
PTCUT2
2008 Aug 06
1
Correlation dichotomous factor, continous (numerical) and ordered factor
Hello R-User!
I appologise in advance if this should also go into statistics but I am
presently puzzled.
I have a data.frame (about 300 rows and about 80 variables) and my variables
are dichotomous factors, continuous (numerical) and ordered factors.
I would like to calculate the linear correlation between every pair of my
variables, because I would like to perform a logistic regression (glm())
2011 Jan 17
0
(no subject)
Dear R community,and especially Giovanni Millo,
For my master's thesis i need to simulate a panel data with the fixed
effects correlated with the predicor, so i run the
the following code:
set.seed(1970)
#######################Panel data simulation with alphai correlated
with xi#####################################
n <- 5
t <- 4
nt <- n*t
pData <- data.frame(id =
2011 Jan 17
0
PANEL DATA SIMULATION(sorry for my previous email with no subject)
Dear R community,and especially Giovanni Millo,
For my master's thesis i need to simulate a panel data with the fixed
effects correlated with the predicor, so i run the
the following code:
set.seed(1970)
#######################Panel data simulation with alphai correlated
with xi#####################################
n <- 5
t <- 4
nt <- n*t
pData <- data.frame(id =
2011 Jan 18
0
Need help in a simulation study
Dear R community,and especially Giovanni Millo,
For my master's thesis i need to simulate a panel data with the fixed effects correlated with the predicor, so i run the
the following code:
set.seed(1970)
#######################Panel data simulation with alphai correlated with xi#####################################
n <- 5
t <- 4
nt <- n*t
pData <- data.frame(id =
2011 Jan 17
0
PANEL DATA SIMULATION
Dear R community,and especially Giovanni Millo,
For my master's thesis i need to simulate a panel data with the fixed
effects correlated with the predicor, so i run the
the following code:
set.seed(1970)
#######################Panel data simulation with alphai correlated with
xi#####################################
n <- 5
t <- 4
nt <- n*t
pData <- data.frame(id =
2017 Mar 02
1
Copeland Engineering Dockmaster
On 3/2/17 10:02 AM, Charles Lepple wrote:
> Can you provide a pointer to details on the usbhid-dump tool? Not
> familiar with that one.
I'm using Ubuntu 14.04 Server on an i686 Dell/Wyse CX0 thin-client -
usbhid-dump was available as part of usbhid-utils, if I am not mistaken.
https://github.com/DIGImend/usbhid-dump
> Depending on how much of the Power Device Class (PDC) HID
2005 Apr 15
5
Pearson corelation and p-value for matrix
Hi,
I was trying to evaluate the pearson correlation and the p-values for an nxm matrix, where each row represents a vector. One way to do it would be to iterate through each row, and find its correlation value( and the p-value) with respect to the other rows. Is there some function by which I can use the matrix as input? Ideally, the output would be an nxn matrix, containing the p-values
2003 Jul 11
1
How to generate regression matrix with correlation matrix
Dear R community:
I want to simulate a regression matrix which is generated from an orthonormal matrix X of dimension 30*10 with different between-column pairwise correlation coefficients generated from uniform distribution U(-1,1).
Thanks in advance!
Rui
[[alternative HTML version deleted]]
2009 Oct 06
2
Viewing specific data from a dataframe
Dear R users,
Simple question. Can anyone help with the code that would allow me to view only the variables who's correlation output is >0.8?
This is the code I'm using to date
>cor(data, method="spearman")
Kind regards
Krys
--------------------------------------------
_________________________________________________________________
Save time by
2011 Jan 25
0
How to simulate a variable Xt=Wit+0.5Wit-1 with
Dear Carlos,
please refrain from posting the same question umpteen times. Please
consider that code is hard to read and people might not have the time to
run your simulation etc. etc..
As I told you privately in response to your message on 18/1,
> Re: generating correlated effects, I tried this only once, but I
> didn't get it right. Simulations using this are, e.g., Hansen (2007)
2004 Oct 17
2
Errors while compiling packages with namespace?
Hello,
I try to set up namespaces for packages. It is fine for several of them,
except one whose compilation fails (under Windows XP & R 2.0.0):
---------- Making package svViews ------------
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
Error in parse(file, n, text, prompt) : syntax error on line 21
Execution halted
make[2]: *** [nmspace] Error 1
make[1]: ***
2006 Jul 10
1
print color
B??dnie zakodowany tekst zosta? usuni?ty...
Plik: nie znany
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060710/8e0ea80d/attachment.pl