Displaying 20 results from an estimated 1000 matches similar to: "Sampling data without having infinite numbers after diong a transformation"
2012 Dec 17
1
seeking a help on if function
Hello r helpers! Below is the whole coding for my programme. Before proceed more further, let me explain for you. First of all, I need to compute trimmed mean. Till that step is ok. Then I need to compute ssdw which is sum of square deviation. If I do equal trimming at both tail of distribution that I chose, I will use the first ssd formulae which is "a". But if I am doing unequal
2009 Sep 27
3
Teach me how to transpose in R
Hi guys,
I need your help!!
My goal is to make a csv file from ncdf file.
This is the code i've used :
> hyo=open.ncdf("C:/CRUTEM3.nc")
> hyo
[1] "file C:/CRUTEM3.nc has 4 dimensions:"
[1] "longitude Size: 72"
[1] "latitude Size: 36"
[1] "unspecified Size: 1"
[1] "t Size: 1916"
[1] "------------------------"
2010 Mar 13
3
Making multiple columns to a single column
Hi guys,
I have a very simple question.
I'm trying to make multiple columns to a single column.
For example,
*ttx1* is a 46*72 matrix.
so, I tried this.
*d1=ttx1[,1]
d2=ttx1[,2]
...
d72=ttx1[,72]*
now, d1, d2, ...,d72 become a 46*1 matrix.
And then.. I tried..
*dd=rbind(d1, d2, ..., d72)*
I thought *dd* should be 3312*1 matrix; but it becomes 72*46.
I really wanted to make it a single
2017 May 30
3
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
>>>>> Serguei Sokol <sokol at insa-toulouse.fr>
>>>>> on Tue, 30 May 2017 16:01:17 +0200 writes:
> Le 30/05/2017 ? 09:33, Martin Maechler a ?crit : ...
>> However, even after the patch, The example from the SO
>> post differs from the result of Richie Cotton's
>> function...
> The explanation is quite simple.
2005 Apr 22
2
Hoaglin Outlier Method
I am a new user of R so please bear with me. I have reviewed some R books,
FAQs and such but the volume of material is great. I am in the process of
porting my current SAS and SVS Script code to Lotus Approach, R and
WordPerfect.
My question is, can you help me determine the best R method to implement
the Hoaglin Outlier Method? It is used in the Appendix A and B of the fo
llowing link.
2009 Aug 04
3
One critical question in R
Hi,
I have one critical question in using R.
I am currently working on some research which involves huge amounts
of data(it is about 15GB).
I am trying to use R in this research rather than using SAS or STATA.
(The company where I am working right now, is trying to switch SAS/STATA to
R)
As far as I know, the memory limit in R is 4GB;
However, I believe that there are ways to handle the large
2009 Oct 03
3
How to deal with this :" object ' obs' not found.
Hi guys,
I need your help.
I'm trying to sort the data by the variable "obs".
This is how I tried to sort the data below.
The problem is, I have a variable name "obs"; this is.. a counter variable.
something like _n_ in SAS.
I do not know why it is not working.
I even tried a similar example in UCLA webpage:
http://www.ats.ucla.edu/stat/R/faq/sort.htm :it also does not
2002 Apr 30
3
Labeling matrix data
Hello all -
I am sorry if this simple question is addressed in somewhere else. But, I couldn't find it. It's been for about a week using R. . .
My problem is:
Reading matrix data with "scan" does not seem to allow me to incorporate matrix labels (columns, and rows).
If I use read.table, I can import the lables. But, the problem is, I don't know how I make this data as
2013 Jan 07
2
Have problem to do loop to generate transformed chi-squared variates
Hello R-helpers,
I need to generate standard variates normal to 'create' chi-squared variates. To make you more understand,
(1) a<-rnorm(3,0,1)
*after do (1), I need to squared and summed the three values. My problem is, how am I going to continue the programming if I had to repeat the process for 15 times, which in the end I will get 15 values from the whole programme.Hope you can
2009 Oct 02
1
How to select a subset <number of dimensions matter>
Hi guys,
I need your help.
I would like to select a subset from a dataset.
This is the dimension of the dataset.
> dim(data1)
[1] 72 36 1916
so, it's like.. there are 1916 of 72 * 36 matrix. ==> looks like 72 * (
36*1916 )
**
*1)*
And I would like to select the first 72*36 matrix. This is how I did:
> two=data1[,1:36]
Error in data1[, 1:36] : incorrect number of dimensions
2017 May 30
2
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
>>>>> Serguei Sokol <sokol at insa-toulouse.fr>
>>>>> on Mon, 29 May 2017 15:28:12 +0200 writes:
> Sorry, I have seen it too late that we had different tab
> width in the original file and my editor. Here is the
> patch with all white spaces instead of mixing tabs and
> white spaces.
thank you - it still gives quite a few
2013 Jan 13
1
How to combine two loops?
Hello R-helpers,
I want to ask your opinion since I am not so sure how to do it. This is regarding one part of my paper project and my situation is:
Stage I
I have 2 groups and for each group I need to compute the following steps;
i) Generate 3 random numbers from normal distribution and square them.
ii) Repeat step 1 for 15 times and at the end I will get 15 random numbers.
I already done
2003 Jun 21
21
Newbie questions
Hi.....
I am new to this software, and I want to implement a client (SIP or IAX) with PHP or at least to pass the main functions (connection,call, transfer, hangup, call id etc) to a CRM.
Does anyone know if I could achive a project like that with AGI ? Any example using AGI with PHP ?
Do I have all the functionality with AGI ?
What about call id ? What is depend on ? (As I know * does not
2003 Feb 24
3
bwplot stats question
Hi List,
Just wondering where the documentation exists for the statistics which
makeup the bwplot.
I'm guessing that if R is like similar products that the graph is
constructed as
The median is the filled circle. The box surrounding the filled circle
depicts the 25th and 75th quartile. The range of values is given by the
dotted lines (?whiskers?) outside of each box, and possible
2006 Apr 06
5
pros and cons of "robust regression"? (i.e. rlm vs lm)
Can anyone comment or point me to a discussion of the
pros and cons of robust regressions, vs. a more
"manual" approach to trimming outliers and/or
"normalizing" data used in regression analysis?
2017 May 31
0
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
>>>>> Serguei Sokol <sokol at insa-toulouse.fr>
>>>>> on Wed, 31 May 2017 18:46:34 +0200 writes:
> Le 31/05/2017 ? 17:30, Serguei Sokol a ?crit :
>>
>> More thorough reading revealed that I have overlooked this phrase in the
>> line's doc: "left and right /thirds/ of the data" (emphasis is mine).
>
2002 May 08
0
, Netlogit
Hello -
I have a problem of getting output from a logit test (network). The command, "summary" would not finish its report; because of an obscure error...
I have a stack of network graphs, which are arrayed as follows
== description starts here.
#### graphs structure
> rrel<-array(dim=c(4,69,69))
> rrel[1,,]<-aspRel
> rrel[2,,]<-aspArea
> rrel[3,,]<-aspCrowding
2017 May 31
2
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
Le 31/05/2017 ? 17:30, Serguei Sokol a ?crit :
>
> More thorough reading revealed that I have overlooked this phrase in the
> line's doc: "left and right /thirds/ of the data" (emphasis is mine).
Oops. I have read the first ref returned by google and it happened to be
tibco's doc, not the R's one. The layout is very similar hence my mistake.
The latter does not
2002 Jul 18
1
boxplot $conf
Hello R-Help,
Could anybody tell me how the boxplot-function calculates the upper
and
lower extremes of the notch contained in $conf which I assume is the
confidence interval? Is it reliable for data which is not normally
distributed? If not, how can I calculate and boxplot a specific
confidence interval for not normally distributed data in R (increasing
the sample size does not normalize the
2012 May 29
1
need help to find type I error rate for modified F statistic
Hello everyone, I want to calculate type I error rate for modified F
statistic for one way robust anova. I need to find the j group trimmed
mean and winsorized sum of squared deviations. Here I attached my code for
j=2 to make it simple. Originally I have j=4. Hope you can help. I need to
run it for 1000 times
My problem is:
i) the value of F-test obtain from my simulation below is in negative