Displaying 20 results from an estimated 1000 matches similar to: "Summary Stats (not summary(x))"
2008 Jun 15
3
Delete Block of Rows
I am trying to delete a section of rows from a data frame (based on no
condition). Lets say my data frame has 200 rows and I want to delete rows 1
through 25. How would I do this?
I know x[ -1, ] deletes the first row (or any desired row). I tried using
different variations of this, like x[ -c(1:25), ] but that didn't work. I
also tried writting a few functions, for example:
deleteRows
2008 Jul 24
4
Dividing by 0
I'm trying to calculate the percent change for a time-series variable.
Basically the first several observations often look like this,
x <- c(100, 0, 0, 150, 130, 0, 0, 200, 0)
and then later in the life of the variable they're are generally no more
0's. So when I try to calculate the percent change from one observation to
the next, I end up with a lot of NA/Nan/INF, and
2008 Nov 06
4
mean computation for external data
I have an external data (.txt) for
annual peak flood. The first column is the year, second column is the
observation date, and the last is the observed discharge. My task is to
calculate the mean, skewness and kurtosis of the said data. I was advised to use
read.table() to read the entire data. Please help me on how to perform the
required computation. I am obviously a new user of this statistical
2017 Nov 01
2
"prob" package alternative
The prob package has been archived because it depends upon some other
packages which have issues.
However, such projects as Introduction to Probability and Statistics in R
depend upon it for learning. There are a few other resources that also use
it.
Does anyone know of any workarounds?
Someone at stack exchange mentioned using R 2.9. However, that broke my
RStudio (WSOD) and the dependent
2005 Dec 01
2
about comparison of KURTOSIS in package: moments and fBasics
Hello
I do not know very much about statistics (and English language too :-( ),
then I come in search of a clarification (explanation):
I found two distinct results on KURTOSIS and
I do not know which of them is the correct one.
Any aid will be welcome!
klebyn
################ CODE
rnorm(1000) -> x
library(moments)
kurtosis(x)
skewness(x)
detach("package:moments")
2007 Feb 22
1
Diagnostic Tests: Jarque-Bera Test / RAMSEY
Hello R-Users,
The following questions are not R-technical, but more of general statistical
nature.
1. NORMALITY
I built a normal linear regression model and now I want to check for the
residual normality assumption. If I check the distribution graphically and
look at the descriptive characteristics (skewness and kurtosis are below 1),
I would confirm that the residuals are normally
2009 Dec 01
2
Calculation of Central Moments
Dear R helpers
If for a given data, I need to calculate Mean, Standard Deviation, Mode, Median, Skewness, Kurtosis, is there any package in R, which will calculate these moments?
Individually I can calculate these, but if there is any function which will calculate these at a stretch, please let me know.
Maithili
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
2017 Nov 02
2
"prob" package alternative
The issue is fAsianOptions. Is there a version that works with the latest
version of R? If not, which version of it works with which version of R and
where can it be found? I tried several at the archive already.
Alternatively, is there another package that behaves similarly to prob?
On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius <dwinsemius at comcast.net>
wrote:
>
> > On Nov
2017 Nov 01
0
"prob" package alternative
> On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> The prob package has been archived because it depends upon some other
> packages which have issues.
>
> However, such projects as Introduction to Probability and Statistics in R
> depend upon it for learning. There are a few other resources that also use
> it.
>
> Does anyone
2017 Nov 02
2
"prob" package alternative
Yes. That's the version I've been discussing that has non-zero exit status.
That situation is why CRAN retired the prob package. It's possible you
installed that library earlier in development and it's been "carried"
along. It no longer installs, now.
The problems with all of this seem to have started this month according to
the conversations. However, no one has
2004 Aug 30
3
D'agostino test
Hi, Does anyone know if the D'agostino test is available with R ?
Alex
2017 Nov 02
2
"prob" package alternative
Yes, that is exactly what I was doing two days ago.
Warning in install.packages :
installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit
status
Which is what a reading of the explanation for why "prob" was retired leads
one to expect. Do you have some other suggestion about how to get it to
work? I notice you're not using Windows which might have a relationship
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already.
sessionInfo()
R version 3.4.2 Patched (2017-10-04 r73465)
Platform:
2017 Nov 02
2
"prob" package alternative
Rtools is not available for the current version of R.
What I'm looking for is an alternative package or how others have managed
to create workarounds.
On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius <dwinsemius at comcast.net>
wrote:
>
> > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
> >
> > Yes, that is exactly what I was doing
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now.
>
> The problems
2017 Nov 02
2
"prob" package alternative
Thanks. I found that, and installed it and got the same message. Here:
RTools version 3.4
install.packages("fAsianOptions_3010.tar.gz", dependencies=TRUE,
repos=NULL, type = "source")
Installing package into ?C:/Users/Tlk7/Documents/R/win-library/3.4? (as
?lib? is unspecified) Warning: invalid package 'fAsianOptions_3010.tar.gz'
Error: ERROR: no packages specified
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> Yes, that is exactly what I was doing two days ago.
>
> Warning in install.packages :
> installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit status
>
> Which is what a reading of the explanation for why "prob" was retired leads one to expect. Do you have
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 2:14 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> Rtools is not available for the current version of R.
Really? If true, I'm surprised and not able to help. I do see an Rtools34.exe at https://cran.r-project.org/bin/windows/Rtools/
--
David.
>
> What I'm looking for is an alternative package or how others have managed to create
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 3:46 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> Thanks. I found that, and installed it and got the same message. Here:
>
> RTools version 3.4
>
> install.packages("fAsianOptions_3010.tar.gz",
I don't see a path to that file's location.
The expansion from pkg_version.tar.gz might be automatic, but I do generally
2009 Feb 09
2
summary statistics
Hi all,
I'm wondering if there is a function that can return summary statistics:
N=total number of observation, # missing, mean, median, range, standard
deviation.
As I know, summary() returns some of info I've mentioned above.
Thanks,
SY
[[alternative HTML version deleted]]