Displaying 20 results from an estimated 500 matches similar to: "subset data"
2009 Sep 29
1
Create column of frequency
Dear all,
Given mypi
mypi <- c(0.1,0.2,0.2,0.1,0.3,0.4,0.4,0.4,0.4,0.2)
I want to create myfreq as follows
mypi myfreq
0.1 2
0.2 3
0.2 3
0.1 2
0.3 1
0.4 4
0.4 4
0.4 4
0.4 4
0.2 3
where myfreq is frequency of its corresponding observation. How to do that?
Thank you,
Regards,
A. Kudus
Institute for Math Research
Univ Putra Malaysia
[[alternative HTML version deleted]]
2012 Mar 11
2
Matrix negative fraction power
Dear list,
I understand that to raise matrix A to power (-1/2) we should use something
like this:
eigen(A)$vectors%*%diag(1/sqrt(eigen(A)$values))%*%t(eigen(A)$vectors)
[from previous discussions:
http://r.789695.n4.nabble.com/matrix-power-td900335.html]
But this will only do it for negative sqrt of the matrix not for other
fraction powers like (-3/2).
Seeing that these things be can done
2001 Sep 28
1
Generate rand. data with zero skewness and some kurtosis
Dear all,
Right now, I'm doing research about outlier in statistical data
(univariate and multivariate) and I want to simulate its behavior. My
problem is :
How to generate random data from distribution with zero skewness and
some kurtosis values in R ?
A. Kudus
=====================
Dept. of Statistics
Bandung Islamic University
I n d o n e s i a
==========================
2012 Feb 05
1
R- Fisher Information
Dear All,
Can you help me, with the code below how do I obtain the fisher information from it.
Is my q<-replicate(1000,x) the right way to do simulation.
thank you.
x<-rweibull(100,0.8,1.5)
q<-replicate(1000,x)
z<-function(p){
beta<-p[1]
eta<-p[2]
log1<-(n*log(beta)-n*beta*log(eta)+(beta-1)*sum(log(x))-sum((x/eta)^beta))
return(-log1)
}
zz<-optim(c(0.5,0.5),z)
zz
Chris
2011 Jun 07
1
variable selection in linear regression
Hello
With due respect, have a nice time. I would like to ask some command in R.
It is regarding variable selection in linear regression.
In R, there is one rebuild function called "step" which
selecting variables according to AIC.
let say i have data [y, x1,x2,x3,x4]
we start with y~b0
i compute the partial F test and choose the variable
with maximum partial F to enter the
2006 Jun 14
5
Rails SOAP tutorial
Hi all..
I new in Ruby/Rails.. Where could i get some good tutorial about SOAP
using Rails?
I''ve been googling yet still did''nt find good tutorial.
Thank you in advance.. :)
--
Regards,
Ananda Putra
2009 May 15
2
transposing/rotating XY in a 3D array
Dear list,
We have a number of files containing similarly structured data:
file1:
A B C
1 2 3
4 5 6
file2:
A B C
7 8 9
10 11 12
... etc
My part of R receives all these data as an array: 1,2,3... 12 together
with info about dimensions (row,col,fileN) . (
Converting the data into 3D cannot simply done by:
array(x, c(2,3,2))
because breaks the structure (e.g. 1,3,5 is type mismatch)
2003 Jul 30
16
Need help
I do part time consulting work. I need to setup an asterisk system to
allow me to record both inbound and outbound calls to clients. I have one
client that is just a PITA. The client has changed their mind three times
so far and we are at step one.
I have a spare slackware box and a seperate phone line for the consulting
work. I have MCI Neighorhood as my carrier.
What I need to know is:
1.
2007 Mar 19
1
Vector CAD/CAM
Hello everybody!
For my hobby, I have a tabletop mill driven by a linux box (Ubuntu+EMC2). I
bought a CAD/CAM package (Vector http://www.vectorcadcam.com ) that works
very well; but which runs on windows.
Recently, I installed Wine on Ubuntu and tried Vector by copying the whole
install directory. To my great surprise :-), it worked OK, except when
starting the code generation window, which
2009 May 18
2
Split data frame based on Class
Each row of my data frame is assigned to a class (eg country). Can you
suggest how I break apart the data frame so that I create new data
frames for each class
eg
If Class = "US" put in new dataframe dataUS
Thanks in advance for your help
Chris
2006 Jan 24
1
need help asterisk and AS5300
hi All
Any body already setup asteriks call routing to Cisco AS5300 with SIP Server ?
i need informations sample config for that, or can show how to route docs .
thanks
Dirgan
---------------------------------
Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 May 13
1
how to write data using xlsReadWrite
Hai I'm Dee. I'm trying to write var data from these codes inside excel
file. My directory to store the data is *D:\FYP\image* .
these are my codes, can you help give an advice or idea with my problem:
l*ibrary("biOps")
library("waveslim")
library("xlsReadWrite")
x <- readTiff("D:\\FYP\\image\\SignatureImage\\user186g1.tif")
y <-
2003 Feb 18
4
Samba processes
Hi
Am noticing smbd processes are running as root and occassionally I see a
child process as userid
Just curios under what circumstances the smbd runs as user id process ( unix
id ) and running as root is a security risk?
Thanks in advance
-Abdul
2004 Apr 04
8
Can I give more bandwidth to a specific URL
Hi all,
Can I give more bandwidth to a specific URL.
Regards
Abdul Khader
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2009 Feb 11
7
Volume group "VolGroup00" not found
Hi,
I am compiling Xen from source on FC9. On booting the
Xen dom0 kernel it gives the following error:
Volume group "VolGroup00" not found
and ultimately the error that switchroot: mount failed: No such file or
directory
So my question is that why it fails to detect logical volumes?
Thanks,
Abdul Qadeer
_______________________________________________
Xen-users mailing list
2012 Jun 07
3
[LLVMdev] How to use LLVM optimizations with clang
Thanks alot Chad for quick response. Does this means that, we can not
use LLVM optimizations except O1, O2, O3, O4 and unroll-loops with
clang?
One more thing I would like to know that If I want to process multiple
modules with opt at the same time like
opt -adce *.bc
then how is it possible with opt in one go, if I process all the
bytecode files within Makefile.
Thanks.
Shahzad
On Thu, Jun
2002 Jul 31
8
Desktop.ini and samba - Please comment
I was just wondering why does samba look for Desktop.ini when i am mapping
to my home directory from w2k
running samba 2.2.5 on sol2.6 , client is w2k
am troubleshooting an weird issue where am not able to see all my unix home
directory files on w2k
log level10 is showing me that samba is looking for Desktop.ini
could this be cousing something weired.
thanks in advance
2004 Dec 21
10
Codec Selection
Hi,
I have 2 g729 licences - what I want to do is use g729 by default but if
I get more than 2 calls at a time, use gsm for the others.
So, I put this on all my sip providers:
disallow=all
allow=g729
allow=gsm
However, this just seems to use gsm for everything. If I comment out the
gsm line, it then uses g729.
I thought it would use the codec's in the order they are allowed - is
this
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Shahzad,
> Is it possible that we can use LLVM optimization beside O1, O2, O3
> along with dragonegg plugin?
sure, try this:
gcc -fplugin=path/dragonegg.so ...other_options_here... -S -o -
-fplugin-arg-dragonegg-emit-ir -fplugin-arg-dragonegg-llvm-ir-optimize=0 | opt
-pass1 -pass2 ...
Here -fplugin-arg-dragonegg-emit-ir tells it to output LLVM IR rather than
target assembler.
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Shahzad,
> I tried your method and it works fine. What would be the next step to
> produce the final executable? I have tried the following but it is
> producing an error
>
> $ gcc -fplugin=/path/to/dragonegg.so -S *.c
> -fplugin-arg-dragonegg-emit-ir | opt -adce
this won't work because you aren't passing the IR to opt (you need -o - for
that if using a pipe) and you