Displaying 20 results from an estimated 2000 matches similar to: "Variance with confidence interval"
2012 Aug 14
1
Graphing question(basic)
Hi,
plot(xc, yc, type="l", ylim=c(0,50), xlim=c(0,50), lwd=2, xlab="M",
ylab="seconds")
abline(a=-think, b=cpustime, lty="dashed", col="red")
abline( 2.2, 0, lty="dashed", col = "red")
This draws a response time curve an asymptote and a horizontal line. How
do I draw a line from the intersection of the asymptote and
2012 May 21
1
variate generation
Hi,
I plot no: of bytes against time and find the distribution
curve using R. These bytes are sent from the client to the server.
Is there a way to generate bytes randomly using R according to a
distribution ? I would like to send these bytes to the server. Hope I am
not misguided here. My goal is to simulate a certain distribution of
bytes.
Thanks,
Mohan
DISCLAIMER:\
2012 Jun 07
2
Basic question about confidence intervals
Hi,
I am again asking a generic question and the general response for such questions is cold. I am a beginner but use and write simple R scripts.
I am looking for some ideas to calculate the confidence intervals based on this excerpt from the paper. Moreover it would help if someone points to material to read about degrees of freedom and any related concepts.
Thanks,
2013 Nov 01
2
Replace element with pattern
Hi,
I have a data frame with one column and several rows of the form.
"Peak Usage : init:2359296, used:15859328, committed:15892480,
max:50331648Current Usage : init:2359296, used:15857920,
committed:15892480, max:50331648|-------------------|"
I tested the regex
Current.*?[\|]
in an online tester which greedily matches upto the first 'pipe' character
Current
2013 Aug 27
6
Scale of axis for two data sets
Hi,
Kbytes RSS rNo
2689632 1450876 1433788
2689632 1450876 1433788
2689632 1450876 1433788
2689632 1450876 1433788
2689632 1450876 1433788
2689632 1450876 1433788
2689632 1450876 1433788
2689632 1460168 1443084
plot(data$rNo,data$RSS,pch=0,type="b",col=36,axes=FALSE, ylab="",
xlab="",las=2,lwd=2.5)
title(" PID -
2017 Aug 10
2
EOF within quoted string
Hi,
Reading http://ssc.wisc.edu/~ahanna/20_newsgroups.csv after downloading it using
data <- read.csv("20_newsgroups.csv",header=TRUE)
throws this.
Warning message:
In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
EOF within quoted string
So, for example, the first line in the file is this. This column contains only such text. Is there a way read it ?
2017 Aug 10
0
EOF within quoted string
You might want to try some of the suggestions mentioned in this post:
https://stackoverflow.com/q/17414776/2140956
Jean
On Thu, Aug 10, 2017 at 7:59 AM, <Mohan.Radhakrishnan at cognizant.com> wrote:
> Hi,
>
> Reading http://ssc.wisc.edu/~ahanna/20_newsgroups.csv after downloading
> it using
>
> data <- read.csv("20_newsgroups.csv",header=TRUE)
>
>
2017 Aug 11
1
EOF within quoted string
Yes. I tried that already. Not straightforward.
data <- read.csv("20_newsgroups.csv",fill=TRUE,as.is=T,header=F, quote="", sep=",", encoding="UTF-8")
This line does read it haphazardly. The emails in the column are split into multiple columns and there are several columns with just ?NA?. Totally 202 columns.
And then I removed columns with NA?s and
2013 Sep 20
1
Averate memory usage trend
Hi,
I would like to understand how to draw a graph to find out the
average memory used by a single httpd process given these details
collected over a period of
several days. I code R but this is about a method to find an average
memory utilization. I believe I have enough data.
How should I statistically calculate this ?
The figures inside braces are the total httpd processes at
2013 Aug 30
3
Memory usage bar plot
Hi,
I haven't tried the code yet. Is there a way to parse this data
using R and create bar plots so that each program's 'RAM used' figures are
grouped together.
So 'uuidd' bars will be together. The data will have about 50 sets. So if
there are 100 processes each will have about 50 bars.
What is the recommended way to graph these big barplots ? I am looking
2013 Nov 20
2
Functional Programming patterns
Hi,
'
Not specific to 'R'. I search for patterns and found
http://patternsinfp.wordpress.com/ which is too heavy for me. There is a
'Pragmatic Programmer' book on such patterns for Scala and Clojure. Is
there anything for R ?
I wanted to code this. Is there a functional pattern in R for multiple
'if' loops like this ?
if(
2013 Sep 27
2
Locating inefficient code
Hi,
I have been using R for a few months and I have this working
code. Don't seen any problem but this takes a long time. So if I have
about 30000 rows it takes a few minutes. If I have 100000 it does not seem
to complete.
Original Data:
Proto Recv-Q Send-Q Local-Address Foreign-Address State
tcp 0 0 172.20.100.2:60255
2017 Jun 07
1
Operating on RC in a list
Hi,
I have a hierarchy of such classes. Subject has a list of measurements. Let assume I have a list of such 'Subject' RC's.
Can I use dplyr to navigate from Subject to the list of measurement RC's and filter and group data ? dplyr should
be able to call the methods on these RC's to operate on the data structure ?
I tried to coerce the list of RC's into a data frame
2012 Jun 27
1
Simulating web requests
Hi,
I am looking for some assistance with these requirements. We
are trying to simulate web requests to hit a web applications. Let's
assume I have a url to hit that requires a username and password.
1. These web requests should have exponential inter arrival times.
2. Generate self-similar traffic. I am not very sure about the
properties of this traffic. Is Variance Time plot
2008 Sep 25
1
R function which finds confidence interval for binomial variance
I need to construct confidence intervals for the binomial variance.
This is the usual estimate
v = x*(n-x)/n
or its unbiased counterpart
v' = x*(n-x)/(n-1)
where x = binomial number of successes observed in n Bernoulli trials
from proportion p.
The usual X^2 method for variance confidence intervals will not work,
because of the strong non-normal character of the sampling
2008 Sep 26
0
Confidence interval for binomial variance
Based on simulations, I've come up with a simple function to compute
the confidence interval for the variance of the binomial variance,
where the true variance is
v = rho*(1-rho)/n
where rho = true probability of success and n = # of trials.
For x = # successes observed in n trials, p = x / n as usual.
For p < 0.25 or p > 0.75, I use the proportion-based transformed
confidence
2010 Nov 09
2
help to merge two data frame if name matches
Dear All,
I have two data like this :
$cat main.csv
name,id,memory,storage
mohan,1,100.20,1.10
ram,1,200,100
kumar,1,400,50
xxx,1,100,40
aaa,1,800,45
mount,1,200,80
> main <- read.csv(file='main.csv',sep=',' , header=TRUE)
> main
name id memory storage
1 mohan 1 100.2 10
2 ram 1 200.0 100
3 kumar 1 400.0 50
4 xxx 1
2010 Nov 09
4
help to add a new column filled with value 1
Dear All,
I have a data frame with 5 column and 201 row data. I want to add one
more column between column 1 and 2 with value of 1. So the new column
has to be the second column filled with 1. Any help will be
appreciated.
Thanks for your time.
Thanks & Rg
Mohan L
2009 Mar 11
4
R-help: grep in for loop using index - doesn't work
Hi everyone
I am trying to use grep in a for loop to compare a string value. It works
if I use
the actual index value but when I use the for loop index, it doesn't work.
Any suggestions plz.
Here is the code:
data <- read.table(file="Sigmoid.csv", head=FALSE, sep=",");
c1 <- data$V1
c2 <- data$V2
c3 <- data$V3
c1data <- data.frame(c1);
c2data <-
2005 May 17
4
HOW TO Enable IPSec for FreeBSD.......???
Hi,
I have tried to enable IPSec support for my
FreeBSD( 4.11-RELEASE) system.
First, I copied the generic kernel configuration file
to a file I called MYKERNEL:
#cp /usr/src/sys/i386/conf/GENERIC
/usr/src/sys/i386/conf/MYKERNEL
Then, I added the following three lines to the options
section of /usr/src/sys/i386/conf/MYKERNEL:
options IPSEC
options IPSEC_ESP
options