Top "Statistics" questions

Consider whether your question would be better asked at https://stats.

Frequency table for a single variable

One last newbie pandas question for the day: How do I generate a table for a single Series? For example: …

python statistics pandas frequency
Pandas - Compute z-score for all columns

I have a dataframe containing a single column of IDs and all other columns are numerical values for which I …

python pandas indexing statistics
Calculating percentile of dataset column

A quick one for you, dearest R gurus: I'm doing an assignment and I've been asked, in this exercise, to …

r statistics percentile
Statistics: combinations in Python

I need to compute combinatorials (nCr) in Python but cannot find the function to do that in math, numpy or …

python statistics combinations
Add error bars to show standard deviation on a plot in R

For each X-value I calculated the average Y-value and the standard deviation (sd) of each Y-value x = 1:5 y = c(1.1, 1.5, 2.9, 3.8, 5.2) sd = …

r plot statistics standard-deviation errorbar
pandas: find percentile stats of a given column

I have a pandas data frame my_df, where I can find the mean(), median(), mode() of a given column: …

python python-2.7 pandas statistics
Quantile-Quantile Plot using SciPy

How would you create a qq-plot using Python? Assuming that you have a large set of measurements and are using …

python statistics scipy
How to make execution pause, sleep, wait for X seconds in R?

How do you pause an R script for a specified number of seconds or miliseconds? In many languages, there is …

r animation statistics
How can I calculate the variance of a list in python?

If I have a list like this: results=[-14.82381293, -0.29423447, -13.56067979, -1.6288903, -0.31632439, 0.53459687, -1.34069996, -1.61042692, -4.03220519, -0.24332097] I want to …

python list statistics variance
Computing cross-correlation function?

In R, I am using ccf or acf to compute the pair-wise cross-correlation function so that I can find out …

python r statistics numpy scipy