Questions tagged [summary]

Summary statistics of a set of observations include the mean, median & the standard deviation.

In descriptive statistics, summary statistics are used to summarize a set of observations, in order to communicate the largest amount of information as simply as possible. Statisticians commonly try to describe the observations in:

  • a measure of location, or central tendency, such as the arithmetic
  • a measure of statistical dispersion like the standard deviation
  • a measure of the shape of the distribution like skewness or kurtosis
  • if more than one variable is measured, a measure of statistical dependence such as a coefficient

Source: Wikipedia

1285 questions
-1
votes
1 answer

Can I change the base R function summary() display results for character vectors?

Has summary() always displayed character vectors in this manner? I don't remember this being the case. Using sample dataset install.packages("mlbench") library(mlbench) Examine contents and see all numeric vectors except for one column "chas" as…
panstotts
  • 623
  • 1
  • 5
  • 13
-1
votes
1 answer

R Summary function leaving empty records behind

Just a quick one, I'm trying to eliminate a string of text in my dataset in a specific column. When I call summary(mydata$myanimals), I get a strange result in the form of: Ant: 100 Bat: 100 Cat: 100 Dog: 0 Emu: 100 Why would there be a "0" for…
-1
votes
1 answer

Unexpected Proc Summary results

I am trying to run a proc summary statement in SAS EG. Below is my code. proc summary data = SC_Rx_claims; var PLAN_SCRIPT_COUNT AMOUNT_PAID; output out = SC_Rx_Sum (drop=_type_ _freq_) SUM=; run; PLAN_SCRIPT_COUNT is a field that contains the…
hvining
  • 1
  • 1
-1
votes
1 answer

does anyone know how to summarize the blog post?

Does anyone know how I can put the blog to be summarized only in posts that I want? All tutorial for summary post, are automatic summaries and I do not want an automatic. Because some of my posts are small. Ps .: I'm not using the blog templete. i…
-1
votes
1 answer

Creating a customised results table from many linear models

I am working in an analytical lab where a lot of data is generated. We do model fitting and are interested in model coefficients (intercept, a, b), r_squared and residual standard error. The number of up to 70 dependant variables (responses) is…
ThomasG
  • 1
  • 1
-1
votes
1 answer

Using setkey() to summarize data in R

I'm looking to summarize data in two ways, but in one line of code. First, I want to get the mean/median/SD of a numeric variable by ID. Easy enough. I also want to get the mean/median/SD of a that same numeric variably by ID, but only for a subset…
-1
votes
1 answer

Count number of occurences in repeated variables (r)

I need to summarise the number of days that people have worked during a week. Each variables represent a day. I need to produce a summary of the number of days worked. I am not quite sure what would be a convenient manner to do it (beside summing…
giac
  • 4,261
  • 5
  • 30
  • 59
-1
votes
1 answer

How to do ANOVA for regression models in R?

When I run ANOVA for the regression models which I develop, this error appears: Error in anova.nls(model3) : nova is only defined for sequences of "nls" objects What is the meaning of this error? It should be mentioned that when I run summary of…
user3713988
  • 13
  • 1
  • 7
-1
votes
3 answers

Find summary of values contained in a matrix in python3

I would like to know how to do the summary of value contained in a matrix?I currently have this code for input of my matrix: matrix = [] loop = True while loop: line = input() if not line: loop = False …
Jon_Computer
  • 689
  • 2
  • 6
  • 9
-1
votes
1 answer

Generate Summary report from logs : Peform additions on output of a command ( using AWK / SED or any other way) and formatting output

I am processing several files at a time.Each of which has summary stats . At the end of the process I want to create a summary file that will add up all the stats . I already know how to dig out the stats from the log files. But I want to be able to…
user1874594
  • 2,277
  • 1
  • 25
  • 49
-1
votes
2 answers

BusinessObjects | Webi Reports| Help Required on data summary

I need help on SAP BusinessObjects – Web Intelligence tool for Reports. Is there any way we can summarize (Sum of a column, Total Number rows in a column etc.) the data on one Report tab in other tab of the report? Has anyone implemented this in any…
AJ01
  • 235
  • 1
  • 3
  • 16
-2
votes
1 answer

Creating a table for descriptive statistics

im currently trying to create a table of the following variables. I have a number of countries with total sales. I would like to create table with median, mean, stdev # of products that were sold on the horizontal axes and the countries on the…
David
  • 1
  • 2
-2
votes
3 answers

is there R package and fucntion for making descriptive tables that are suitable for a report?

I have a df called crash_speed detailing the number of crashes, casualties and deaths for each speed interval (from 10-110). It looks like the follwing: I'm just wondering how I'd go about in plotting a table of this, and what packages and…
-2
votes
1 answer

TSQL Summarising a Tranaction List

There is a list of in and out transactions by vessel in the table What I'm hoping to achieve is for each out and in transaction to be on the same row. Table currently contains 7 million rows.
-2
votes
1 answer

Summarize the second elements in list of tuples if first elements are the same?

HOW could Summarize the second elements in list of tuples, if first elements are the same? for example : in this lst = [('milk', '2.35'), ('bread', '1.95'), ('chips', '2.54'), ('milk', '2.38'), ('milk', '2.31'), ('bread', '1.90')] I would…