Displaying 20 results from an estimated 1000 matches similar to: "converting to data frame"
2004 Sep 21
5
S-PLUS and R
Hello,
How do I import data from Excel onto R? I am using S-Plus Envstat module.
I need to use some of the data that already exist in the Envstat and put
it into R to make graphs, find basic informations like mean, median,
standard deviation, etc. I have been reading the help links, but I don't
see anything in reference to this.
Please help me!
-Maher Lina
2004 Sep 22
5
t test problem?
Hello,
I got two sets of data
x=(124738, 128233, 85901, 33806, ...)
y=(25292, 21877, 45498, 63973, ....)
When I did a t test, I got two tail p-value = 0.117, which is not significantly different.
If I changed x, y to log scale, and re-do the t test, I got two tail p-value = 0.042, which is significantly different.
Now I got confused which one is correct. Any help would be very appreciated.
2004 Sep 20
3
montecarlo simulation
Hy!
I would like to know how run a montecarlo simulation with R.
Thank you!!!!
Francesca Matalucci
__________________________________________________________________
Accesso Internet Gratis per utenti Excite! Attivalo subito!
http://www.excite.it/hitech/accesso
Il Mio Excite. Personalizza la tua Home page Excite come vuoi tu!
http://www.excite.it
AAA/Relazioni. Sfoglia gli annunci e trova la
2004 Sep 16
3
newbie needs help using R as solver
Greetings
I'm a total newbie in R and I'm trying to make a comparisson of Excel
and R in the fields of:
- optimisation modeling (using solver)
- decision trees
- simulation modeling
as described in Winston, Wayne L.: Practical Management Science.
for optimisation modeling in Excel I would normaly use solver. In R
however I can't seem to be able to find the solution. I've
2004 Oct 22
3
Convert a list in a dataframe
Hi,
I've a list containing parameters (intercepts &
coefficients) of 12 regressions fitted
> coeff
[[1]]
(Intercept) anno
-427017.1740 217.0588
[[2]]
(Intercept) anno
-39625.82146 21.78025
.....
[[12]]
(Intercept) anno
257605.0343 -129.7646
I want create a data frame with two columns (intercept
and anno)using data in these list.
Any help
2004 Sep 15
4
Density Estimation
Hi there,
Sorry if this is a rather loing post. I have a simple list of single
feature data points from which I would like to generate a probability
that an unseen point comes from the same distribution. To do this I am
trying to estimate the probability density of the list of points and
use this to generate a probability for the new unseen points. I have
managed to use the R density function to
2004 Aug 09
2
Using R "boxplot" function in Excel
Hi, I have downloaded the "R-Com and I was able to run "Interactive Graphics
Demo 2" in excel. However, I couldn't create my own boxplot. Whenever I
tried to run any code, it always say" Error in loading DLL", even
"=rput(A1,A2:A20)". Any idea about what's going wrong? A detailed
explaination about how to use R-Excel tool would be greatly appreciated.
2004 Sep 23
6
detection of outliers
Hi,
this is both a statistical and a R question...
what would the best way / test to detect an outlier value among a series of 10 to 30 values ? for instance if we have the following dataset: 10,11,12,15,20,22,25,30,500 I d like to have a way to identify the last data as an outlier (only one direction). One way would be to calculate abs(mean - median) and if elevated (to what extent ?) delete the
2004 Jul 07
7
Importing an Excel file
Hello, R users,
I am a very beginner of R and tried read.csv to import an excel file after
saving an excel file as csv. But it added alternating rows of fictitious NA
values after row number 16. When I applied read.delim, there were trailing
several commas at the end of each row after row number 16 instead of NA
values. Appreciate your help.
Kyong
[[alternative HTML version deleted]]
2004 Jul 21
2
Testing autocorrelation & heteroskedasticity of residuals in ts
Hi,
I'm dealing with time series. I usually use stl() to
estimate trend, stagionality and residuals. I test for
normality of residuals using shapiro.test(), but I
can't test for autocorrelation and heteroskedasticity.
Is there a way to perform Durbin-Watson test and
Breusch-Pagan test (or other simalar tests) for time
series?
I find dwtest() and bptest() in the package lmtest,
but it
2004 Oct 27
2
Skewness and Kurtosis
Hi,
in which R-package I could find skewness and kurtosis
measures for a distribution?
I built some functions:
gamma1<-function(x)
{
m=mean(x)
n=length(x)
s=sqrt(var(x))
m3=sum((x-m)^3)/n
g1=m3/(s^3)
return(g1)
}
skewness<-function(x)
{
m=mean(x)
me=median(x)
s=sqrt(var(x))
sk=(m-me)/s
return(sk)
}
bowley<-function(x)
{
q<-as.vector(quantile(x,prob=c(.25,.50,.75)))
2004 Aug 12
4
Help with generating data from a 'not quite' Normal distriburtion
I would be very grateful for any help from members of this list for what
might be a simple problem...
We are trying to simulate the behaviour of a clinical measurement in a
series of computer experiments. This is simple enough to do in R if we
assume the measurements to be Gaussian, but their empirical distribution
has a much higher peak at the mean and the distribution has much longer
tails.
2004 Oct 20
2
R & Graphs
Dear R-users,
I'm finding for a R-package concerning graphs. Is
there some kind of that package? I've a set of
correlation coeffients between several variable and I
wish to built a graph to link variables correlated.
Many thanks.
Best,
Vito
=====
Diventare costruttori di soluzioni
"The business of the statistician is to catalyze
the scientific learning process."
George
2004 Nov 15
1
R: how can draw probability density plot?
I hope this example could help you
best
vito
> x<-seq(-3.5,3.5,0.1)
> x
[1] -3.5 -3.4 -3.3 -3.2 -3.1 -3.0 -2.9 -2.8 -2.7 -2.6
-2.5 -2.4 -2.3 -2.2 -2.1
[16] -2.0 -1.9 -1.8 -1.7 -1.6 -1.5 -1.4 -1.3 -1.2 -1.1
-1.0 -0.9 -0.8 -0.7 -0.6
[31] -0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4
0.5 0.6 0.7 0.8 0.9
[46] 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9
2.0 2.1 2.2 2.3
2004 Nov 10
1
Loading some function at R startup
Dear R-users,
I've built these functions usefell for me to
import/export data from/to Excel:
importa.da.excel<-function(){read.delim2("clipboard",
dec=",")
## questa funzione consente di importare dati da Excel
in R
## selezionare in Excel le celle che contengono i
dati,
## compresi in nomi delle colonne
## Autore: Vito Ricci email:vito_ricci at yahoo.com
## Data di
2004 Jul 07
1
Daily time series
Hi,
I'm dealing with time series with 1 observaton for day
(data sampled daily). I will create a ts object using
that time series and the function ts().
In ts() help is written:
The value of argument 'frequency' is used when the
series is sampled an integral number of times in each
unit time interval. For example, one could use a value
of '7' for 'frequency' when
2004 Aug 04
1
spatial econometric model for a simultaneous system
Hi,
Is there any package or functions in R that can perform
tests and estimation for a spatial econometric model in a
simultaneous system?
Thank you!!!
Xia Feng
2004 Aug 03
1
Data manipulation query
Hi,
Not sure if I am making a simple problem complex but still here
we go:
I have a data frame with four columns say, X1 X2 X3 and X4. I
want to break X4 into deciles and for each deciles obtained, I want to
see corresponding elements of X1.
Ideally, the output should be in a tabular fashion as shown
below:
Deciles 1 Deciles 2 .... Deciles 10
X1-1 X1-2 X1-99
X1-5 X1-3
X1-10
2004 Aug 10
1
Help with Normal Range Estimation for repated measures
I would be grateful if members of the list could point me in the
direction of any code (preferably in R) that will allow me to estimate
95th percentiles from a set of repeated measurements. For example, we
are interested in a clinical measurement where we have 3 measures for 14
subjects and 2 measurements on 24 subjects and single measurement on 36
subjects. We want to combine these to form a
2004 Oct 14
1
(no subject)
Hi,
Why this code is good in S-plus, and don't good in R ?
getMethod("[","matrix")
thanks