{statistics} if for questions related to statistics software/graphics/packages and TeX.

learn more… | top users | synonyms

3
votes
1answer
101 views

Poisson distribution with tikzpicture

I am new to 'drawing' in LaTeX with pgfplots, tikz, etc. I am trying to plot a Poisson distribution with varying means. Here is what I have tried (based on this answer) \documentclass{article} ...
8
votes
3answers
258 views

Filling in the area under a normal distribution curve

I'm trying to fill the area between the two $z$-scores but I'm not having any luck. Could someone please help me with this? \begin{tikzpicture} \begin{axis}[ no markers, domain=0:6, ...
2
votes
1answer
128 views

How to write partial eta square in LaTeX?

Problem: Writing partial eta square in LaTeX. I couldn't find anywhere online giving guidance to this statistic symbol. Example (it's the symbol to the left): Any help would be appreciated.
7
votes
3answers
227 views

histogram + frequention polygon

This is my code \documentclass[11pt,a4paper]{article} \usepackage{tikz} \usepackage{tkz-euclide} \usetikzlibrary{calc,intersections,through,backgrounds,snakes} \usepackage{pgfplots} ...
12
votes
2answers
298 views

TikZ: Regression Line with Residuals

Desired Output I made this diagram in R with ggplot2. Now I want to reproduce this diagram with Tikz. My MWE is: \documentclass[tikz]{standalone} \usepackage{pgfplots} \usepackage{pgfplotstable} ...
1
vote
0answers
85 views

how to generate document statistics?

In another question, manual steps are explained to implement stats. Due to a deadline and for some convenience, is there a package that generates document stats without many modifications in several ...
9
votes
1answer
144 views

LaTeX typeset multiple comparisons

I originally asked this question on Stack Overflow, but was advised to also ask here... So, here goes! I'm teaching an applied stats course and was wondering whether anyone can advise me on how to ...
7
votes
2answers
1k views

Linear regression - trend line with pgfplots

I am trying to display a trend line with pgfplots. I followed the instruction in the manual and looked around. I though I had implemented it correctly, but there is no regression line, and although ...
5
votes
1answer
346 views

pgfplots - draw boxplot without outliers

I am creating a boxplot with pgfplots, using the builtin statistics library. I load the input data from a table file. \usepackage{pgfplots} \usepgfplotslibrary{statistics} ... \begin{tikzpicture} ...
12
votes
5answers
667 views

Create image from statistical data automatically

I am looking for a way to automatically create images like the one below: There is no MWE because all I have, for now, is this image (created, I believe, by SPSS, but I have nothing to do with that ...
3
votes
0answers
324 views

How to typeset statistical distributions [closed]

What is the consensus way to typeset statistical distributions? For the normal distribution I have seen all of: $X\sim N(\mu,\,\sigma^{2})$ $X\sim\mathrm{N}(\mu,\,\sigma^{2})$ ...
1
vote
1answer
706 views

Sweave and Matrix

I am using xtable to generate Matrices x1mean <- matrix(c(204.5, 556.5), 2) x2mean <- matrix(c(130.0, 355.0), 2) x1mmat <- xtable(x1mean, align = rep( "", ncol(x1mean) + 1) ) x2mmat <- ...
6
votes
2answers
418 views

Count in document used source references

I currently gathering some statistical information about my thesis for reporting purposes. One metric I want to determine is how many sources I have referenced. I have a BibTeX file with more than 150 ...
22
votes
3answers
4k views

How to design a 3D donut pie chart with pgf-plot?

It seems that pgfplots users don't like pie charts but sometimes we can't go without (for some reasons). So I was wondering if there was a way to make what is called a donut chart. For example one ...
9
votes
2answers
620 views

Statistics about LaTeX use in the world

Are there any statistics about the use of LaTeX in the world? In which countries? In which journals/fields of research? Number of articles using LaTeX? etc.?
6
votes
3answers
559 views

Extract document statistics? - How many pages has chapter xy? Count fixmes?

I have a large pdflatex document where each chapter is located in an extra text file and included with \include{chapter3.tex} ... How can I extract the page numbers of each chapter and write them ...
3
votes
1answer
436 views

Problem in StatWeave

I visited http://www.stat.uiowa.edu/~rlenth/StatWeave/ and installed StatWeave according to the instructions. But my problem is that there are no Step by Step instructions given in the manual, and ...
1
vote
2answers
345 views

Is there a simple way to obtain the statistic data of the document being typeset?

I want to put the statistic data of my book in a certain page right after the title page but before "This book is presented to my kittens..." page. The statistic data includes: The total number of ...
9
votes
3answers
2k views

Survey or questionnaire document class or package?

I like to create surveys and questionnaires, what would be a good \documentclass or package to use?
5
votes
1answer
158 views

How to output the final value of some counter, like number of figures or tables in the middle of the document?

I need to put some formal statistics on the document itself somewhere in the middle, like "This document contains XXX figures and YYY tables (and may be even ZZZ formulas and PPP theorems)". Is there ...